参考链接: 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://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
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。