Reshape your data either using array.reshape(-1, 1)
Reshape your data either using array.reshape(-1, 1) if your data has a single feature or array.reshape(1, -1) if it contains a single sample.
版本原因 sklearn 0.19版本 0.18版本一维二维都可以
将代码里所...
原创
2018-10-28 15:46:06 ·
4903 阅读 ·
0 评论