MachineLearning.Client.
get_evaluation
(**kwargs)¶Returns an Evaluation
that includes metadata as well as the current status of the Evaluation
.
See also: AWS API Documentation
Request Syntax
response = client.get_evaluation(
EvaluationId='string'
)
[REQUIRED]
The ID of the Evaluation
to retrieve. The evaluation of each MLModel
is recorded and cataloged. The ID provides the means to access the information.
{
'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
Represents the output of a GetEvaluation
operation and describes an Evaluation
.
The evaluation ID which is same as the EvaluationId
in the request.
The ID of the MLModel
that was the focus of the evaluation.
The DataSource
used for this evaluation.
The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).
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.
The time that the Evaluation
was created. The time is expressed in epoch time.
The time of the most recent edit to the Evaluation
. The time is expressed in epoch time.
A user-supplied name or description of the Evaluation
.
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 MLModel
did not run to completion. It is not usable.COMPLETED
- The evaluation process completed successfully.DELETED
- The Evaluation
is marked as deleted. It is not usable.Measurements of how well the MLModel
performed using observations referenced by the DataSource
. One of the following metric is returned based on the type of the MLModel
:
MLModel
uses the Area Under the Curve (AUC) technique to measure performance.MLModel
uses the Root Mean Square Error (RMSE) technique to measure performance. RMSE measures the difference between predicted and actual values for a single variable.MLModel
uses the F1 score technique to measure performance.For more information about performance metrics, please see the Amazon Machine Learning Developer Guide.
A link to the file that contains logs of the CreateEvaluation
operation.
A description of the most recent details about evaluating the MLModel
.
The approximate CPU time in milliseconds that Amazon Machine Learning spent processing the Evaluation
, normalized and scaled on computation resources. ComputeTime
is only available if the Evaluation
is in the COMPLETED
state.
The epoch time when Amazon Machine Learning marked the Evaluation
as COMPLETED
or FAILED
. FinishedAt
is only available when the Evaluation
is in the COMPLETED
or FAILED
state.
The epoch time when Amazon Machine Learning marked the Evaluation
as INPROGRESS
. StartedAt
isn't available if the Evaluation
is in the PENDING
state.
Exceptions
MachineLearning.Client.exceptions.InvalidInputException
MachineLearning.Client.exceptions.ResourceNotFoundException
MachineLearning.Client.exceptions.InternalServerException