A wrapper for xgboost::xgboost() for use in nadir::super_learner().
Arguments
- data
A dataframe to train a learner / learners on.
- formula
A regression formula to use inside this learner.
- weights
Observation weights; see
?lm- nrounds
The max number of boosting iterations
- verbose
If verbose is
> 0thenxgboost::xgboost()will print out messages about its fitting process. See?xgboost::xgboost- ...
Any extra arguments that should be passed to the internal model for model fitting purposes.
