predict.xgboost.core.Booster: Make Predictions Locally

Description Usage Arguments

Description

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

Usage

1
2
## S3 method for class 'xgboost.core.Booster'
predict(object, new_data, ...)

Arguments

object

The sagemaker model object created by sagemaker_hyperparameter_tuner or sagemaker_attach_tuner.

new_data

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.


tmastny/sagemaker documentation built on July 15, 2020, 4:17 p.m.