python的cross_validation交叉
原来的
from sklearn import cross_validation
变成
from sklearn.model_selection import GridSearchCV
from sklearn.model_selection import train_test_split
即可。
python的cross_validation交叉
原来的
from sklearn import cross_validation
变成
from sklearn.model_selection import GridSearchCV
from sklearn.model_selection import train_test_split
即可。