在sklearn中加载kfold
from sklearn.model_selection import Kfold然后得到错误
ImportError: cannot import name 'Kfold'求助!谢谢!
1个回答
f应该是大写吧
from sklearn.model_selection import KFold我这边试了没问题
SofaSofa数据科学社区DS面试题库 DS面经
				对,Fold改成大写就没问题了。
				- 
             cv菜鸟
           
				
          
          2019-08-15 12:07
			
  相关讨论
sklearn cross_val_score怎么同时对多个scoring进行验证
sklearn.model_selection.cross_val_predict怎么固定random_state?
sklearn GridSearchCV中的refit是什么意思
sklearn cross_val_score中的参数pre_dispatch
关于sklearn.model_selection.PredefinedSplit的用法
sklearn classification_report里的support是什么意思
  随便看看
二元分类问题中经常提到的TP,TN,FN,FP都是什么意思?