支付宝红包
京东盲盒抽奖
幸运转盘
秒杀
自营热卖
支付宝红包

"Cannot center sparse matrices: pass `with_mean=False` "

春风不归 1年前   阅读数 664 0


ValueError: Cannot center sparse matrices: pass `with_mean=False` instead. See docstring for motivation and alternatives.

在X = StandardScaler().fit_transform(X)添加with_mean=False
X = StandardScaler(with_mean=False).fit_transform(X)
 


注意:本文归作者所有,未经作者允许,不得转载

全部评论: 0

    我有话说: