predictLearner.classif.xgboost.earlystop {EFAfactors} | R Documentation |
Prediction Function for the Tuned XGBoost Model with Early Stopping
Description
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.
Usage
## S3 method for class 'classif.xgboost.earlystop'
predictLearner(.learner, .model, .newdata, ...)
Arguments
.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 |
Value
A vector of predicted class labels or a matrix of predicted probabilities.
[Package EFAfactors version 1.2.3 Index]