powered by
Post new data to a deployed SageMaker model endpoint and augment with predictions
# S3 method for vetiver_endpoint_sagemaker augment(x, new_data, ...)
The new_data with added prediction column(s).
new_data
A SageMaker model endpoint object created with vetiver_endpoint_sagemaker().
vetiver_endpoint_sagemaker()
New data for making predictions, such as a data frame.
Extra arguments passed to paws.machine.learning::sagemakerruntime_invoke_endpoint()
paws.machine.learning::sagemakerruntime_invoke_endpoint()
predict.vetiver_endpoint_sagemaker()
if (FALSE) { endpoint <- vetiver_endpoint_sagemaker("sagemaker-demo-model") augment(endpoint, mtcars[4:7, -1]) }
Run the code above in your browser using DataLab