makeSMOTEWrapper: Fuse learner with SMOTE oversampling for imbalancy correction in binary classification.
Description
Creates a learner object, which can be
used like any other learner object.
Internally uses smote
before every model fit.Note that observation weights do not influence the sampling and are simply passed
down to the next learner.
Usage
makeSMOTEWrapper(learner, sw.rate, sw.nn = 5L)