This function generics predictions from the xgboost.core.Booster object returned from sagemaker_load_model.

# S3 method for xgboost.core.Booster
predict(object, new_data, ...)



The sagemaker model object created by sagemaker_hyperparameter_tuner or sagemaker_attach_tuner.


The data.frame or tibble::tibble() to make new predictions on. Columns must be in the same order as the training data. The outcome column must be excluded.


Additional named arguments sent to the underlying API.