Returns a vector of predictions from a Sagemaker real-time endpoint.

# S3 method for sagemaker
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.