amazonka-ml-1.3.4: 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.UpdateMLModel

Contents

Description

Updates the MLModelName and the ScoreThreshold of an MLModel.

You can use the GetMLModel operation to view the contents of the updated data element.

See: AWS API Reference for UpdateMLModel.

Synopsis

Creating a Request

updateMLModel Source

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

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

Request Lenses

umlmMLModelName :: Lens' UpdateMLModel (Maybe Text) Source

A user-supplied name or description of the MLModel.

umlmScoreThreshold :: Lens' UpdateMLModel (Maybe Double) Source

The ScoreThreshold used in binary classification MLModel that marks the boundary between a positive prediction and a negative prediction.

Output values greater than or equal to the ScoreThreshold receive a positive result from the MLModel, such as true. Output values less than the ScoreThreshold receive a negative response from the MLModel, such as false.

umlmMLModelId :: Lens' UpdateMLModel Text Source

The ID assigned to the MLModel during creation.

Destructuring the Response

updateMLModelResponse Source

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

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

data UpdateMLModelResponse Source

Represents the output of an UpdateMLModel operation.

You can see the updated content by using the GetMLModel operation.

See: updateMLModelResponse smart constructor.

Response Lenses

umlmrsMLModelId :: Lens' UpdateMLModelResponse (Maybe Text) Source

The ID assigned to the MLModel during creation. This value should be identical to the value of the MLModelID in the request.