AI Glossary/Feature Engineering

What Is Feature Engineering?

Definition

Feature engineering is the process of using domain knowledge to select, create, and transform raw data variables into meaningful features that help machine learning models make better predictions and learn more efficiently.

How Feature Engineering Works

Raw data often needs to be transformed before an AI model can effectively learn from it. Feature engineering involves selecting the most relevant variables, creating new derived features (like extracting the day of week from a date), normalizing values, encoding categorical variables, and handling missing data. Good feature engineering can dramatically improve model performance — often more than changing the model architecture. While deep learning has automated some feature extraction (especially for images and text through learned representations), feature engineering remains crucial for tabular data, time series, and many business applications where domain expertise is needed to represent data meaningfully.

Real-World Examples

1

Creating a 'days since last purchase' feature from raw transaction timestamps to improve a customer churn prediction model

2

Extracting TF-IDF features from raw text documents for a document classification system

3

Engineering interaction features between product price and customer income for a purchase prediction model

Recommended Tools

Related Terms