amazonka-ml-1.3.3: 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 'ML Model'.

Note

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

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

prsResponseStatus :: Lens' PredictResponse Int Source

The response status code.