1回答 来自scikit的RobustScaler -学习行为不正确 、、 sklearn.preprocessing import RobustScaler df_robust= scaler.fit_transform(df) 但是当我画出盒子图的时候, df_robust.boxplot 浏览2提问于2021-05-09得票数 1 点击加载更多 扫码 添加站长 进交流群 领取专属 10元无门槛券 手把手带您无忧上云 热门标签...
However, this is not possible by using sklearn transforms, as they don't let you drop samples from a dataset. As an alternative way to do something similar, you can make a transformer that adds a column indicating if the sample is an outlier or not, and build a custom sklearn model ...