MachineLearning / Client / get_evaluation
get_evaluation#
- MachineLearning.Client.get_evaluation(**kwargs)#
- Returns an - Evaluationthat includes metadata as well as the current status of the- Evaluation.- See also: AWS API Documentation - Request Syntax - response = client.get_evaluation( EvaluationId='string' ) - Parameters:
- EvaluationId (string) – - [REQUIRED] - The ID of the - Evaluationto retrieve. The evaluation of each- MLModelis recorded and cataloged. The ID provides the means to access the information.
- Return type:
- dict 
- Returns:
- Response Syntax - { 'EvaluationId': 'string', 'MLModelId': 'string', 'EvaluationDataSourceId': 'string', 'InputDataLocationS3': 'string', 'CreatedByIamUser': 'string', 'CreatedAt': datetime(2015, 1, 1), 'LastUpdatedAt': datetime(2015, 1, 1), 'Name': 'string', 'Status': 'PENDING'|'INPROGRESS'|'FAILED'|'COMPLETED'|'DELETED', 'PerformanceMetrics': { 'Properties': { 'string': 'string' } }, 'LogUri': 'string', 'Message': 'string', 'ComputeTime': 123, 'FinishedAt': datetime(2015, 1, 1), 'StartedAt': datetime(2015, 1, 1) } - Response Structure - (dict) – - Represents the output of a - GetEvaluationoperation and describes an- Evaluation.- EvaluationId (string) – - The evaluation ID which is same as the - EvaluationIdin the request.
- MLModelId (string) – - The ID of the - MLModelthat was the focus of the evaluation.
- EvaluationDataSourceId (string) – - The - DataSourceused for this evaluation.
- InputDataLocationS3 (string) – - The location of the data file or directory in Amazon Simple Storage Service (Amazon S3). 
- CreatedByIamUser (string) – - The AWS user account that invoked the evaluation. The account type can be either an AWS root account or an AWS Identity and Access Management (IAM) user account. 
- CreatedAt (datetime) – - The time that the - Evaluationwas created. The time is expressed in epoch time.
- LastUpdatedAt (datetime) – - The time of the most recent edit to the - Evaluation. The time is expressed in epoch time.
- Name (string) – - A user-supplied name or description of the - Evaluation.
- Status (string) – - The status of the evaluation. This element can have one of the following values: - PENDING- Amazon Machine Language (Amazon ML) submitted a request to evaluate an- MLModel.
- INPROGRESS- The evaluation is underway.
- FAILED- The request to evaluate an- MLModeldid not run to completion. It is not usable.
- COMPLETED- The evaluation process completed successfully.
- DELETED- The- Evaluationis marked as deleted. It is not usable.
 
- PerformanceMetrics (dict) – - Measurements of how well the - MLModelperformed using observations referenced by the- DataSource. One of the following metric is returned based on the type of the- MLModel:- BinaryAUC: A binary - MLModeluses the Area Under the Curve (AUC) technique to measure performance.
- RegressionRMSE: A regression - MLModeluses the Root Mean Square Error (RMSE) technique to measure performance. RMSE measures the difference between predicted and actual values for a single variable.
- MulticlassAvgFScore: A multiclass - MLModeluses the F1 score technique to measure performance.
 - For more information about performance metrics, please see the Amazon Machine Learning Developer Guide. - Properties (dict) – - (string) – - (string) – 
 
 
 
- LogUri (string) – - A link to the file that contains logs of the - CreateEvaluationoperation.
- Message (string) – - A description of the most recent details about evaluating the - MLModel.
- ComputeTime (integer) – - The approximate CPU time in milliseconds that Amazon Machine Learning spent processing the - Evaluation, normalized and scaled on computation resources.- ComputeTimeis only available if the- Evaluationis in the- COMPLETEDstate.
- FinishedAt (datetime) – - The epoch time when Amazon Machine Learning marked the - Evaluationas- COMPLETEDor- FAILED.- FinishedAtis only available when the- Evaluationis in the- COMPLETEDor- FAILEDstate.
- StartedAt (datetime) – - The epoch time when Amazon Machine Learning marked the - Evaluationas- INPROGRESS.- StartedAtisn’t available if the- Evaluationis in the- PENDINGstate.
 
 
 - Exceptions - MachineLearning.Client.exceptions.InvalidInputException
- MachineLearning.Client.exceptions.ResourceNotFoundException
- MachineLearning.Client.exceptions.InternalServerException