liveBook · Manning

Z-score normalization

Z-score normalization transforms values by subtracting their mean and dividing by their standard deviation.

How 2 Manning books explain it

Advanced Algorithms and Data Structures

Z-score normalization transforms each feature by subtracting its mean and dividing by its standard deviation.

How it is used
Prepares differently scaled features for distance-based clustering.
How deep it goes
Explains the transformation and its zero-mean, unit-variance result without developing implementation code.
Examples
Uses customer salaries and monthly expenses to demonstrate scale imbalance.
What you can do after
Apply normalization before Euclidean-distance clustering so differently scaled features contribute more comparably.

Read how Advanced Algorithms and Data Structures explains z-score normalization →

Outlier Detection in Python

Z-score scaling transforms values by subtracting the mean and dividing by the standard deviation.

How it is used
Supports comparable numeric features for distance-based outlier detection and standardizes detector scores into standard-deviation units.
How deep it goes
Defines the transformation and explains its practical role, but defers implementation details to broader scaling treatments.
Examples
Uses baseball statistics and contrasts standard scaling with robust scaling when extreme values affect feature comparability.
What you can do after
Evaluate scaling choices for numeric features and detector scores while recognizing when outliers make z-scores unreliable.

Read how Outlier Detection in Python explains z-score normalization →

Related concepts

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.