热线电话:13121318867

登录
2020-06-11 阅读量: 1293
标准化的方法

(一) 为什么要进行标准化

  1. 把特征的各个维度标准化到特定的区间
  2. 把有量纲表达式变为无量纲表达式

(二)标准化常用方法

1. standard scaler : 需满足数据为正太分布

(x- mean(x))/std(x)

2. MinmaxScaler : 将数据变换到要求的范围

(b-a) * (x-min)/(max-min) * a

3. RobustScaler: 在数据分布为偏态时使用

(x-中位数) / IQR

4. Binarizer

> threshold 1 ; < threshold 0

5. normalize

x/此列数据的范数

27.2622
3
关注作者
收藏
评论(0)

发表评论

暂无数据
推荐帖子