python sklearn.cross_validation 模块导入失败

 参考链接: https://blog.csdn.net/Jae_Peng/article/details/79277920

解决办法:

原来在 cross_validation 里面的函数都放在 model_selection 里面了;

from sklearn.model_selection import GridSearchCV

from sklearn.model_selection import train_test_split
原文地址:https://www.cnblogs.com/robin2ML/p/9997703.html