"Cannot center sparse matrices: pass `with_mean=False` "
时间: 2018-11-18来源:OSCHINA
前景提要
「深度学习福利」大神带你进阶工程师,立即查看>>>
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)