oversample or undersample before every model fit.Note that observation weights do not influence the sampling and are simply passed down to the next learner.
makeUndersampleWrapper(learner, usw.rate)makeOversampleWrapper(learner, osw.rate)
Learner].makeOverBaggingWrapper;
oversample, undersample;
smote