# Finding out the scale when using MinMaxScaler()

I am using the MinMaxScaler() of sklearn to scale my features before using kmeans.I needed to find the scale used.

from sklearn import preprocessing
scaler = preprocessing.MinMaxScaler()
scaler= scaler.fit_transform(finance_features)
print scaler.scale_


However on using the line

print scaler.scale_


It shows an error saying no such attribute

• Working for me. Using python 3.5 installed with anaconda. Dec 23 '16 at 8:26
• Which version of sklearn are you using ? Dec 23 '16 at 10:27

from sklearn import preprocessing