Skip to content
← All questions

What is the mathematical formula for min-max normalization and what range does it produce?

Min-max normalization transforms a feature value XX into Xnorm=X−Xmin⁡Xmax⁡−Xmin⁡X_{\text{norm}} = \frac{X - X_{\min}}{X_{\max} - X_{\min}}, mapping the feature's observed range onto the interval [0,1][0, 1].

Conditions

  • Applied per numerical feature.
  • Requires a finite minimum Xmin⁡X_{\min} and maximum Xmax⁡X_{\max} for the feature.
  • Assumes Xmax⁡≠XminX_{\max} \neq X_{min} to avoid division by zero.

Reasoning, step by step

  1. Identify the minimum value Xmin⁡X_{\min} and maximum value Xmax⁡X_{\max} of the feature across the dataset.
  2. Subtract Xmin⁡X_{\min} from the original feature value XX.
  3. Divide the result by the feature range $Xmax⁡−Xmin⁡X_{\max} - X_{\min}.

Example

The video displays the formula Xnorm=X−XminXmax−XminX_{norm} = \frac{X - X_{min}}{X_{max} - X_{min}} and states that values are scaled down between 0 to 1.

Common misconceptions

  • Assuming the formula is applied to the entire dataset at once rather than feature-wise.
  • Believing the output can exceed 1 or drop below 0 if the feature has outliers, though the formula strictly bounds the observed min and max to 0 and 1.

Watch the explanation

Connected concepts

Explore next

Related questions

Understand why

↗
Understand why

↗
Find a method

↗
Meet the concept

↗

Answers are generated from source material and independently checked. Consult the original video or creator if something is unclear.