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)
x | Either the |
---|
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
.