predictLearner.classif.xgboost.earlystop | R Documentation |
This function performs predictions using a trained XGBoost model with early stopping. The function itself does not have any specific purpose; its existence is solely to ensure the proper operation of FF.
## S3 method for class 'classif.xgboost.earlystop'
predictLearner(.learner, .model, .newdata, ...)
.learner |
An object representing the learner. |
.model |
The trained XGBoost model used to make predictions. |
.newdata |
A data frame or matrix containing new observations for which predictions are to be made. |
... |
Additional parameters passed to the |
A vector of predicted class labels or a matrix of predicted probabilities.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.