Loads the model artifact in the current R session. Currently only supports xgboost models.

sagemaker_load_model(x)

# S3 method for sagemaker
sagemaker_load_model(x)

# S3 method for character
sagemaker_load_model(x)

Arguments

x

Either the sagemaker model object created by sagemaker_hyperparameter_tuner or sagemaker_attach_tuner or the training job name.

Details

xgboost models require the xgboost Python package. See sagemaker_install_xgboost to download.

xgboost models return a xgboost.core.Booster from the xgboost Python package. See predict.xgboost.core.Booster.