A wrapper around mlpack::adaboost()
that allows passing a formula.
Usage
adaboost(
formula = NULL,
data = NULL,
epochs = 1000,
tolerance = 1e-10,
weak_learner = c("decision_stump", "perceptron"),
x = NULL,
y = NULL
)
Arguments
- formula
A formula.
- data
A data.frame.
- epochs
The maximum number of boosting iterations to be run (0 will run until convergence.)
- tolerance
The tolerance for change in values of the weighted error during training.
- weak_learner
Weak learner to use. Either "decision_stump" or "perceptron".
- x
Design matrix.
- y
Response matrix.