Scikit-learn: preprocessing.scale() vs preprocessing.StandardScalar()

Viewed 10039

I understand that scaling means centering the mean(mean=0) and making unit variance(variance=1).

But, What is the difference between preprocessing.scale(x)and preprocessing.StandardScalar() in scikit-learn?

2 Answers
Related