predict.sagemaker: Make Predictions from Sagemaker Model

Description Usage Arguments

View source: R/predictions.R

Description

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

Usage

1
2
## S3 method for class '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.


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