You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In learning with unbalanced classes, it is often good to stratify the data (not as in StratifiedKFold) by making the classes the same size, either by oversampling or undersampling.
I think it would be good to have both a utility function that does that once, and a cross-validation object that does that differently for all folds.