ValueError Traceback (most recent call last)
<ipython-input-42-2ab744268d80> in <module>()
20 print('---------分割线--------------')
21 sfolder = StratifiedKFold(n_splits=4,random_state=0,shuffle=False)
---> 22 for train, test in sfolder.split(X,y):
23 print
使用stratifiedKFold进行分层交叉验证时候报错:ValueError: Supported target types are: ('binary', 'multiclass'). Got
最新推荐文章于 2023-10-31 10:55:05 发布