augment.vetiver_endpoint_sagemaker | R Documentation |
Post new data to a deployed SageMaker model endpoint and augment with predictions
## S3 method for class 'vetiver_endpoint_sagemaker'
augment(x, new_data, ...)
x |
A SageMaker model endpoint object created with |
new_data |
New data for making predictions, such as a data frame. |
... |
Extra arguments passed to |
The new_data
with added prediction column(s).
predict.vetiver_endpoint_sagemaker()
if (FALSE) {
endpoint <- vetiver_endpoint_sagemaker("sagemaker-demo-model")
augment(endpoint, mtcars[4:7, -1])
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.