Scaling order values when one sale is enormous
Robust scaling normally centers on the median and scales by the interquartile range, both less sensitive to rare extremes.
RobustScaler in practice
One million-dollar purchase among a hundred ordinary sales may barely move the middle-half spread. The exceptional purchase itself can still transform to a very large value.
中文
为什么稳健缩放能抵抗一个天价订单?
稳健缩放默认用中位数居中、四分位距定尺度,少量极端值对这两个统计量影响较小。
RobustScaler 应用实例
在一百笔普通订单里加入一笔百万订单,中间半数的跨度变化可能很小。那笔异常订单本身依然会得到很大的转换值。