Elio Saade
Note

Min-Max Scaling

Topics: Data Processing

Concept

Min-Max scaling is a method used to normalize measurements that have a definite minimum and maximum into the range into a defined fixed range. The process maps the minimum to 00 and the maximum to 11, resulting in a normalized range of [0,1][0,1]. From there, the range can be changed using a gain and an offset.

Let rr be the raw measurement. Then the normalized value nn in the range [0,1][0,1] is as follows:

n=r−min(r)max(r)−min(r)n = \frac{r - min(r)}{max(r) - min(r)}

To modify the range into any desired range:

n′=α⋅n+βn' = \alpha \cdot n + \beta

where α\alpha is a gain and β\beta is an offset.

References

Connections

Direct relationships to this note.