What is the formula for standardization?
Standardization (or Z-score normalization) is a linear transformation that centers the data around zero and scales it to have a standard deviation of one. It subtracts the mean of the feature from each data point and divides by the standard deviation.
Conditions
- Applied to a continuous numerical feature.
- Requires knowing the mean and standard deviation of the feature.
- The standard deviation must not be zero (to avoid division by zero).
Reasoning, step by step
- Identify the raw feature value .
- Calculate the mean and standard deviation of the feature in the dataset.
- Subtract the mean from the raw feature: .
- Divide the result by the standard deviation: .
- The final transformed value is .
Example
The video displays the formula on-screen as "standardization : x' = () / " and explains that it makes the mean zero and standard deviation one.
Common misconceptions
- Believing that standardization forces the data into a normal (Gaussian) distribution; it only adjusts the mean and standard deviation, not the underlying shape.
- Confusing standardization with min-max normalization, which scales to a fixed range like [0, 1] rather than centering at zero.
Watch the explanation
2:06 – 3:00Watch this moment ↗
Explore next
Answers are generated from source material and independently checked. Consult the original video or creator if something is unclear.