Introduction to Feature Engineering
Turning raw values into informative features: scaling, standardisation, normalisation, binning, log transformation, feature splitting and categorical encoding.
- 3 lessons
- Module quiz
Algorithms learn from features, the input values that describe each example, and the way raw values are turned into features often matters more than the choice of algorithm. Feature engineering transforms raw data into inputs that models can learn from effectively.
This module covers the main techniques. Scaling, standardisation and normalisation put numeric features on comparable ranges, which many algorithms require. Log transformation reduces skew, binning groups values into ranges, and feature splitting breaks composite values into parts. Categorical encoding turns categories into numbers.
What the exam expects
Questions test which algorithms need scaling, with tree-based models such as XGBoost being the main exception, which transformation suits skewed data, how to choose an encoding by the type and number of categories, and the rule that scalers and encoders are fitted on training data only.
How this module is organised
Scaling Features with Standardization and Normalization explains how and when to scale features. Reshaping Features with Binning, Log Transforms and Feature Splitting explains the other numeric transformations. Encoding Categorical Features explains the encoding methods.