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 classif.xgboost.earlystop
predictLearner(.learner, .model, .newdata, ...)
A vector of predicted class labels or a matrix of predicted probabilities.
An object representing the learner.
The trained XGBoost model used to make predictions.
A data frame or matrix containing new observations for which predictions are to be made.
Additional parameters passed to the predict
function in XGBoost.