Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

machinelearning_predict

Generates a prediction for the observation using the specified ML Model


Description

Generates a prediction for the observation using the specified ML Model.

Note

Not all response parameters will be populated. Whether a response parameter is populated depends on the type of model requested.

Usage

machinelearning_predict(MLModelId, Record, PredictEndpoint)

Arguments

MLModelId

[required] A unique identifier of the MLModel.

Record

[required]

PredictEndpoint

[required]

Value

A list with the following syntax:

list(
  Prediction = list(
    predictedLabel = "string",
    predictedValue = 123.0,
    predictedScores = list(
      123.0
    ),
    details = list(
      "string"
    )
  )
)

Request syntax

svc$predict(
  MLModelId = "string",
  Record = list(
    "string"
  ),
  PredictEndpoint = "string"
)

paws.machine.learning

Amazon Web Services Machine Learning Services

v0.1.11
Apache License (>= 2.0)
Authors
David Kretch [aut, cre], Adam Banker [aut], Amazon.com, Inc. [cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.