| Copyright | (c) 2013-2018 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.MachineLearning.UpdateMLModel
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.
- updateMLModel :: Text -> UpdateMLModel
- data UpdateMLModel
- umlmMLModelName :: Lens' UpdateMLModel (Maybe Text)
- umlmScoreThreshold :: Lens' UpdateMLModel (Maybe Double)
- umlmMLModelId :: Lens' UpdateMLModel Text
- updateMLModelResponse :: Int -> UpdateMLModelResponse
- data UpdateMLModelResponse
- umlmrsMLModelId :: Lens' UpdateMLModelResponse (Maybe Text)
- umlmrsResponseStatus :: Lens' UpdateMLModelResponse Int
Creating a Request
Arguments
| :: Text | |
| -> UpdateMLModel |
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:
umlmMLModelName- A user-supplied name or description of theMLModel.umlmScoreThreshold- TheScoreThresholdused in binary classificationMLModelthat marks the boundary between a positive prediction and a negative prediction. Output values greater than or equal to theScoreThresholdreceive a positive result from theMLModel, such astrue. Output values less than theScoreThresholdreceive a negative response from theMLModel, such asfalse.umlmMLModelId- The ID assigned to theMLModelduring creation.
data UpdateMLModel Source #
See: updateMLModel smart constructor.
Instances
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 #
Arguments
| :: Int | |
| -> UpdateMLModelResponse |
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:
umlmrsMLModelId- The ID assigned to theMLModelduring creation. This value should be identical to the value of theMLModelIDin the request.umlmrsResponseStatus- -- | The response status code.
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.
umlmrsResponseStatus :: Lens' UpdateMLModelResponse Int Source #
- - | The response status code.