from sklearn.cross_validation import KFold 出错

从sklearn.cross_validation中引入train_test_split报错

代码运行后提示不存在sklean.cross_validation模块
解决方法

from sklearn.model_selection import train_test_split

你可能感兴趣的:(闲谈)