predict.Predictor: S3 method that wraps Predictor Class

View source: R/predictor.R

predict.PredictorR Documentation

S3 method that wraps Predictor Class

Description

Predicted values returned from endpoint

Usage

## S3 method for class 'Predictor'
predict(object, newdata, serializer = NULL, deserializer = NULL, ...)

Arguments

object

a sagemaker model

newdata

data for model to predict

serializer

method class to serializer data to sagemaker model. Requires to be a class inherited from BaseSerializer.

deserializer

method class to deserializer return data streams from sagemaker model. Requires to be a class inherited from BaseDeserializer.

...

arguments passed to “Predictor$predict“


DyfanJones/sagemaker-r-mlcore documentation built on May 3, 2022, 10:08 a.m.