amazonka-ml-1.0.1: Amazon Machine Learning SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.MachineLearning.Predict

Contents

Description

Generates a prediction for the observation using the specified MLModel.

Note

Not all response parameters will be populated because this is dependent on the type of requested model.

See: AWS API Reference for Predict.

Synopsis

Creating a Request

predict Source

Creates a value of Predict with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

pMLModelId :: Lens' Predict Text Source

A unique identifier of the MLModel.

pRecord :: Lens' Predict (HashMap Text Text) Source

Undocumented member.

pPredictEndpoint :: Lens' Predict Text Source

Undocumented member.

Destructuring the Response

predictResponse Source

Creates a value of PredictResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Response Lenses

prsStatus :: Lens' PredictResponse Int Source

The response status code.