alueError: Supported target types are: ('binary', 'multiclass'). Got 'continuous' instead. python

后端 未结 0 1268
青春惊慌失措
青春惊慌失措 2020-12-31 22:51

I run the following code, but got that error.

seed = 7
np.random.seed(seed)

kfold = StratifiedKFold(n_splits=5, shuffle=True, random_state=seed)
for train, t         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题