參考鏈接: 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刪除。