liveBook · Manning

Feature engineering

As explained in Transfer Learning for Natural Language Processing

Feature engineering is the process of transforming input data into features suitable for machine-learning methods.

Feature engineering transforms input data into a form a machine-learning method can use to make predictions. In manual feature engineering, people design that transformation for the task rather than relying on the model to learn it automatically. section 1.2.3

For NLP tasks such as sentence classification or sentiment analysis, manual feature engineering has been used to prepare inputs for shallow learning methods. The work can be time-consuming, task-specific, and difficult for nonexperts. In perceptual machine learning, it can also be brittle and prone to error. section 1.2.3 section 1.2.2

Deep learning offers a different approach: some neural network layers can learn appropriate features automatically. This reduces the need for manual feature engineering, although developing a system still involves choosing an architecture and tuning training hyperparameters. section 1.2.3

How Transfer Learning for Natural Language Processing covers it

How deep it goes
Defines manual feature engineering and contrasts it with automatic feature learning, without specifying extraction steps.
Examples
Uses sentence classification and positive-or-negative sentiment analysis as NLP task contexts.
What you can do after
Evaluate manual feature engineering’s tradeoffs against automatically learned features.
How it connects
Connects feature engineering with kernel methods, shallow learning, neural networks, and deep learning.

Also explained in

Compare how 18 books explain feature engineering →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Transfer Learning for Natural Language Processing. The section links point to the parts of the book it draws on.