What is the formula for min-max normalization?
Min-max normalization is a linear transformation that scales the raw feature values to a fixed range, typically [0, 1]. It subtracts the minimum value of the feature from each data point and then divides by the range (maximum minus minimum).
Conditions
- Applied to a continuous numerical feature.
- Requires knowing the minimum and maximum values of the feature.
- The maximum and minimum values must not be equal (to avoid division by zero).
Reasoning, step by step
- Identify the raw feature value .
- Find the minimum value and maximum value of the feature in the dataset.
- Subtract the minimum value from the raw feature: .
- Divide the result by the range of the feature: .
- The final transformed value is .
Example
The video displays the formula on-screen as "min-max normalization : x' = (x - x_min) / (x_max - x_min)" and shows a pink histogram tightly clustered near zero, demonstrating how this method standardizes the data's range.
Common misconceptions
- Assuming min-max normalization changes the shape of the distribution; it is a linear transformation that only shifts and scales the data.
- Forgetting that the denominator is the range () rather than just the maximum value.
Watch the explanation
1:29 – 2:05Watch this moment ↗
Explore next
Answers are generated from source material and independently checked. Consult the original video or creator if something is unclear.