liveBook · Manning

Normalization

As explained in Machine Learning System Design

The transformation of numeric data so that its values conform to a specified scale or distribution.

Normalization transforms numeric features so their values fit a specified scale or distribution. In a training pipeline, it is a preprocessing step alongside cleaning, feature engineering, and time-aware train–test splitting. section 10.6.1 section 11.1.2

Use normalization deliberately rather than treating every model the same:

  • Check the model family before transforming features; monotonic transformations may not improve gradient boosting because decision trees are invariant to them. section 11.1.2
  • Keep normalization inside the preprocessing workflow, with train–test separation performed by time when working with temporal data to reduce leakage risk. section 10.6.1
  • Distinguish normalization from related transformations such as logarithms for skewness, lags and aggregates for time series, and quantile bucketing for discrete categories. section 11.1.2

Retail forecasting pipeline

A retail forecasting workflow scales numeric sales-related features to a standard range before training baseline forecasting methods, tree ensembles, support vector machines, or deep-learning models. The transformation belongs in preprocessing, before model evaluation and business-cost analysis. section 10.6.1

Figure 11.1 An overview of the DeepETA model pipeline: example of combining base feature engineering and a deep learning model (source: https://mng.bz/0MoN)
figure

Use the DeepETA pipeline as a broader feature-transformation example: continuous, categorical, and geospatial inputs become discrete tokens and learnable embeddings for a transformer. section 11.1.2

How Machine Learning System Design covers it

How deep it goes
Defines standard-range scaling and contrasts model suitability, but supplies no normalization formula or implementation procedure.
Examples
Uses a retail forecasting pipeline and contrasts normalization with logarithms, lags, aggregates, and DeepETA tokenization.
What it assumes
Assumes familiarity with numeric features, preprocessing, model families, and train–test splitting; introduces normalization within that workflow.
What you can do after
Apply it via a preprocessing pipeline to scale numeric features while checking whether the selected model benefits from the transformation.
How it connects
Connects normalization with feature engineering, data preprocessing, gradient boosting, decision trees, time-series transformations, and quantile bucketing.

Also explained in

Compare how 21 books explain normalization →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Machine Learning System Design. The section links point to the parts of the book it draws on.