二値分類で0,1を等しい割合でsplitしたい!!
そんなときはコレ!!!!!
kf = StratifiedKFold(n_splits=7, shuffle=True)
for train_index, test_index in kf.split(x, y):
Go to list of users who liked
More than 1 year has passed since last update.
二値分類で0,1を等しい割合でsplitしたい!!
そんなときはコレ!!!!!
kf = StratifiedKFold(n_splits=7, shuffle=True)
for train_index, test_index in kf.split(x, y):
Register as a new user and use Qiita more conveniently
Go to list of users who liked