11.11大促主会场
新人页面
精选商品
首月0月租体验,领12个月京东PLUS
自营热卖

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

春风不归 1年前   阅读数 467 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

    我有话说: