MachineLearning / Client / update_ml_model
update_ml_model#
- MachineLearning.Client.update_ml_model(**kwargs)#
- Updates the - MLModelNameand the- ScoreThresholdof an- MLModel.- You can use the - GetMLModeloperation to view the contents of the updated data element.- See also: AWS API Documentation - Request Syntax - response = client.update_ml_model( MLModelId='string', MLModelName='string', ScoreThreshold=... ) - Parameters:
- MLModelId (string) – - [REQUIRED] - The ID assigned to the - MLModelduring creation.
- MLModelName (string) – A user-supplied name or description of the - MLModel.
- ScoreThreshold (float) – - The - ScoreThresholdused in binary classification- MLModelthat marks the boundary between a positive prediction and a negative prediction.- Output values greater than or equal to the - ScoreThresholdreceive a positive result from the- MLModel, such as- true. Output values less than the- ScoreThresholdreceive a negative response from the- MLModel, such as- false.
 
- Return type:
- dict 
- Returns:
- Response Syntax - { 'MLModelId': 'string' } - Response Structure - (dict) – - Represents the output of an - UpdateMLModeloperation.- You can see the updated content by using the - GetMLModeloperation.- MLModelId (string) – - The ID assigned to the - MLModelduring creation. This value should be identical to the value of the- MLModelIDin the request.
 
 
 - Exceptions - MachineLearning.Client.exceptions.InvalidInputException
- MachineLearning.Client.exceptions.ResourceNotFoundException
- MachineLearning.Client.exceptions.InternalServerException