RUSBoost for two-class problems
rusboost(formula, df, size, ir = 1, learn_rate = 1, rus = TRUE, control)
rusboost object
A formula specify predictors and target variable. Target variable should be a factor of 0 and 1. Predictors can be either numerical and categorical.
A df frame used for training the model, i.e. training set.
Ensemble size, i.e. number of weak learners in the ensemble model
Imbalance ratio. Specifies how many times the under-sampled majority instances are over minority instances.
Default of 1.
TRUE for random undersampling; FALSE for AdaBoost with full sample
Control object passed onto rpart function.