Minmaxskaling
Minmaxskaling is a term sometimes used to refer to min-max scaling, a data preprocessing technique that normalizes numerical features to a fixed range, typically 0 to 1. The method computes the minimum and maximum values of each feature in the training data and rescales each observation x according to x' = (x − x_min) / (x_max − x_min). If x_max equals x_min for a feature, that feature can be set to 0 for all instances to avoid division by zero.
The rescaled features preserve the order of values and the relative proportions of differences within each
Min-max scaling is commonly used in machine learning algorithms that rely on distance or gradient-based optimization,
For new data, use the same min and max parameters to maintain consistency; some workflows re-fit the
---