Scaling to the minimum and maximum values squeezes the values of the variables between 0 and 1. To implement this scaling technique, we need to subtract the minimum value from all the observations and divide the result by the value range, that is, the difference between the maximum and minimum values:
In this recipe, we will implement scaling on the minimum and maximum values by utilizing scikit-learn.