Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Data Science by (17.6k points)

What is the difference between MinMaxScaler and standard scaler.

MMS= MinMaxScaler(feature_range = (0, 1)) ( Used in Program1)

sc = StandardScaler() ( In another program they used Standard scaler and not minMaxScaler)

1 Answer

0 votes
by (41.4k points)

Standardscaler:

1.In Standardscaler, it assumes that data has normally distributed features and will scale them to zero mean and 1 standard deviation.

2.All the features will be of the same scale after applying the scaler.

Minmaxscaler :

1.Minmaxscaler  shrinks the data within the range of -1 to 1(if there are negative values)

2. This responds well if standard deviation is small and  is used when distribution is not Gaussian.This scaler is sensitive to outliers.

If you wish to learn more about how to use python for data science, then go through data science python programming course by Intellipaat for more insights.

Browse Categories

...