本文介绍了标准缩放器和MinMaxScaler之间的区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时删除!!

MinMaxScaler和标准缩放器有什么区别。

What is the difference between MinMaxScaler and standard scaler.

MMS = MinMaxScaler(feature_range =(0,1))(在Program1中使用)

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

sc = StandardScaler()(在另一个程序中,他们使用了Standard scaler和不是minMaxScaler)

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

推荐答案

来自:

StandardScaler无法保证在
中存在平衡的特征尺度。

StandardScaler therefore cannot guarantee balanced feature scales in the presence of outliers.

MinMaxScaler 重新缩放数据集,以使所有要素值在
的范围内[0,1],如下右面板所示。但是,这种
缩放比例会将
转换家庭数的所有inlier压缩在狭窄的范围内[0,0.005]。

MinMaxScaler rescales the data set such that all feature values are in the range [0, 1] as shown in the right panel below. However, this scaling compress all inliers in the narrow range [0, 0.005] for the transformed number of households.

这篇关于标准缩放器和MinMaxScaler之间的区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

1403页,肝出来的..

09-08 22:53