| 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.
http://http://docs.aws.amazon.com/machine-learning/latest/APIReference/API_UpdateMLModel.html
- data UpdateMLModel
- updateMLModel :: Text -> UpdateMLModel
- umlmMLModelId :: Lens' UpdateMLModel Text
- umlmMLModelName :: Lens' UpdateMLModel (Maybe Text)
- umlmScoreThreshold :: Lens' UpdateMLModel (Maybe Double)
- data UpdateMLModelResponse
- updateMLModelResponse :: UpdateMLModelResponse
- umlmrMLModelId :: Lens' UpdateMLModelResponse (Maybe Text)
Request
data UpdateMLModel Source
Request constructor
Arguments
| :: Text | |
| -> UpdateMLModel |
UpdateMLModel constructor.
The fields accessible through corresponding lenses are:
Request lenses
umlmMLModelId :: Lens' UpdateMLModel Text Source
The ID assigned to the MLModel during creation.
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.
Response
Response constructor
updateMLModelResponse :: UpdateMLModelResponse Source
UpdateMLModelResponse constructor.
The fields accessible through corresponding lenses are:
Response lenses
umlmrMLModelId :: 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.