Cross-validation with given parameters.
Cross-validation with given parameters.
Data to be trained.
Booster params.
Number of boosting iterations.
Number of folds in CV.
Evaluation metrics to be watched in CV.
customized objective
customized evaluation
evaluation history
Load a new Booster model from a file opened as input stream.
Load a new Booster model from a file opened as input stream. The assumption is the input stream only contains one XGBoost Model. This can be used to load existing booster models saved by other XGBoost bindings.
The input stream of the file.
The create booster
load model from modelPath
load model from modelPath
booster modelPath
Train a booster given parameters.
Train a booster given parameters.
Data to be trained.
Parameters.
Number of boosting iterations.
a group of items to be evaluated during training, this allows user to watch performance on the validation set.
customized objective
customized evaluation
The trained booster.
XGBoost Scala Training function.