| Copyright | (c) 2013-2015 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@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.
See: AWS API Reference for UpdateMLModel.
- 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:
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
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:
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.