Python笔记 方法过期

001、源代码

from sklearn.cross_validation import train_test_split

from sklearn.decomposition import RandomizedPCA

from sklearn.grid_search import GridSearchCV

     替换方法:

from sklearn.model_selection import train_test_split

from sklearn.decomposition import PCA

from sklearn.model_selection import GridSearchCV

你可能感兴趣的:(Python笔记 方法过期)