Skip to content

Standardization

Rescaling a feature to the form 'zero mean, unit standard deviation'.

\[ z=\frac{x-\mu}{\sigma} \]

where \(\mu\) is the mean of the feature and \(\sigma\) is its standard deviation.

Why

Features measured in different units (age in years, mileage in kilometres) are otherwise incomparable: a feature that is large in absolute value starts to 'drown out' the others when distances are computed.

Standardization vs Normalization

Normalization Standardization
Result a given range, often \([0;1]\) mean 0, deviation 1
When it is better the values are bounded there are outliers, the shape of the distribution must be preserved

See Also

← All Terms