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


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

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

相關文章
相關標籤/搜索