| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.MachineLearning.GetEvaluation
Description
Returns an Evaluation that includes metadata as well as the current
status of the Evaluation.
Synopsis
- data GetEvaluation = GetEvaluation' {
- evaluationId :: Text
- newGetEvaluation :: Text -> GetEvaluation
- getEvaluation_evaluationId :: Lens' GetEvaluation Text
- data GetEvaluationResponse = GetEvaluationResponse' {
- computeTime :: Maybe Integer
- createdAt :: Maybe POSIX
- createdByIamUser :: Maybe Text
- evaluationDataSourceId :: Maybe Text
- evaluationId :: Maybe Text
- finishedAt :: Maybe POSIX
- inputDataLocationS3 :: Maybe Text
- lastUpdatedAt :: Maybe POSIX
- logUri :: Maybe Text
- mLModelId :: Maybe Text
- message :: Maybe Text
- name :: Maybe Text
- performanceMetrics :: Maybe PerformanceMetrics
- startedAt :: Maybe POSIX
- status :: Maybe EntityStatus
- httpStatus :: Int
- newGetEvaluationResponse :: Int -> GetEvaluationResponse
- getEvaluationResponse_computeTime :: Lens' GetEvaluationResponse (Maybe Integer)
- getEvaluationResponse_createdAt :: Lens' GetEvaluationResponse (Maybe UTCTime)
- getEvaluationResponse_createdByIamUser :: Lens' GetEvaluationResponse (Maybe Text)
- getEvaluationResponse_evaluationDataSourceId :: Lens' GetEvaluationResponse (Maybe Text)
- getEvaluationResponse_evaluationId :: Lens' GetEvaluationResponse (Maybe Text)
- getEvaluationResponse_finishedAt :: Lens' GetEvaluationResponse (Maybe UTCTime)
- getEvaluationResponse_inputDataLocationS3 :: Lens' GetEvaluationResponse (Maybe Text)
- getEvaluationResponse_lastUpdatedAt :: Lens' GetEvaluationResponse (Maybe UTCTime)
- getEvaluationResponse_logUri :: Lens' GetEvaluationResponse (Maybe Text)
- getEvaluationResponse_mLModelId :: Lens' GetEvaluationResponse (Maybe Text)
- getEvaluationResponse_message :: Lens' GetEvaluationResponse (Maybe Text)
- getEvaluationResponse_name :: Lens' GetEvaluationResponse (Maybe Text)
- getEvaluationResponse_performanceMetrics :: Lens' GetEvaluationResponse (Maybe PerformanceMetrics)
- getEvaluationResponse_startedAt :: Lens' GetEvaluationResponse (Maybe UTCTime)
- getEvaluationResponse_status :: Lens' GetEvaluationResponse (Maybe EntityStatus)
- getEvaluationResponse_httpStatus :: Lens' GetEvaluationResponse Int
Creating a Request
data GetEvaluation Source #
See: newGetEvaluation smart constructor.
Constructors
| GetEvaluation' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> GetEvaluation |
Create a value of GetEvaluation with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
GetEvaluation, getEvaluation_evaluationId - 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.
Request Lenses
getEvaluation_evaluationId :: Lens' GetEvaluation Text Source #
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.
Destructuring the Response
data GetEvaluationResponse Source #
Represents the output of a GetEvaluation operation and describes an
Evaluation.
See: newGetEvaluationResponse smart constructor.
Constructors
| GetEvaluationResponse' | |
Fields
| |
Instances
newGetEvaluationResponse Source #
Create a value of GetEvaluationResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
GetEvaluationResponse, getEvaluationResponse_computeTime - 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.
GetEvaluationResponse, getEvaluationResponse_createdAt - The time that the Evaluation was created. The time is expressed in
epoch time.
GetEvaluationResponse, getEvaluationResponse_createdByIamUser - 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.
GetEvaluationResponse, getEvaluationResponse_evaluationDataSourceId - The DataSource used for this evaluation.
GetEvaluation, getEvaluationResponse_evaluationId - The evaluation ID which is same as the EvaluationId in the request.
GetEvaluationResponse, getEvaluationResponse_finishedAt - 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.
GetEvaluationResponse, getEvaluationResponse_inputDataLocationS3 - The location of the data file or directory in Amazon Simple Storage
Service (Amazon S3).
GetEvaluationResponse, getEvaluationResponse_lastUpdatedAt - The time of the most recent edit to the Evaluation. The time is
expressed in epoch time.
$sel:logUri:GetEvaluationResponse', getEvaluationResponse_logUri - A link to the file that contains logs of the CreateEvaluation
operation.
GetEvaluationResponse, getEvaluationResponse_mLModelId - The ID of the MLModel that was the focus of the evaluation.
GetEvaluationResponse, getEvaluationResponse_message - A description of the most recent details about evaluating the MLModel.
GetEvaluationResponse, getEvaluationResponse_name - A user-supplied name or description of the Evaluation.
GetEvaluationResponse, getEvaluationResponse_performanceMetrics - 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:
- 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.
GetEvaluationResponse, getEvaluationResponse_startedAt - The epoch time when Amazon Machine Learning marked the Evaluation as
INPROGRESS. StartedAt isn't available if the Evaluation is in the
PENDING state.
GetEvaluationResponse, getEvaluationResponse_status - 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 anMLModel.INPROGRESS- The evaluation is underway.FAILED- The request to evaluate anMLModeldid not run to completion. It is not usable.COMPLETED- The evaluation process completed successfully.DELETED- TheEvaluationis marked as deleted. It is not usable.
$sel:httpStatus:GetEvaluationResponse', getEvaluationResponse_httpStatus - The response's http status code.
Response Lenses
getEvaluationResponse_computeTime :: Lens' GetEvaluationResponse (Maybe Integer) Source #
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.
getEvaluationResponse_createdAt :: Lens' GetEvaluationResponse (Maybe UTCTime) Source #
The time that the Evaluation was created. The time is expressed in
epoch time.
getEvaluationResponse_createdByIamUser :: Lens' GetEvaluationResponse (Maybe Text) Source #
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.
getEvaluationResponse_evaluationDataSourceId :: Lens' GetEvaluationResponse (Maybe Text) Source #
The DataSource used for this evaluation.
getEvaluationResponse_evaluationId :: Lens' GetEvaluationResponse (Maybe Text) Source #
The evaluation ID which is same as the EvaluationId in the request.
getEvaluationResponse_finishedAt :: Lens' GetEvaluationResponse (Maybe UTCTime) Source #
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.
getEvaluationResponse_inputDataLocationS3 :: Lens' GetEvaluationResponse (Maybe Text) Source #
The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).
getEvaluationResponse_lastUpdatedAt :: Lens' GetEvaluationResponse (Maybe UTCTime) Source #
The time of the most recent edit to the Evaluation. The time is
expressed in epoch time.
getEvaluationResponse_logUri :: Lens' GetEvaluationResponse (Maybe Text) Source #
A link to the file that contains logs of the CreateEvaluation
operation.
getEvaluationResponse_mLModelId :: Lens' GetEvaluationResponse (Maybe Text) Source #
The ID of the MLModel that was the focus of the evaluation.
getEvaluationResponse_message :: Lens' GetEvaluationResponse (Maybe Text) Source #
A description of the most recent details about evaluating the MLModel.
getEvaluationResponse_name :: Lens' GetEvaluationResponse (Maybe Text) Source #
A user-supplied name or description of the Evaluation.
getEvaluationResponse_performanceMetrics :: Lens' GetEvaluationResponse (Maybe PerformanceMetrics) Source #
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:
- 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.
getEvaluationResponse_startedAt :: Lens' GetEvaluationResponse (Maybe UTCTime) Source #
The epoch time when Amazon Machine Learning marked the Evaluation as
INPROGRESS. StartedAt isn't available if the Evaluation is in the
PENDING state.
getEvaluationResponse_status :: Lens' GetEvaluationResponse (Maybe EntityStatus) Source #
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 anMLModel.INPROGRESS- The evaluation is underway.FAILED- The request to evaluate anMLModeldid not run to completion. It is not usable.COMPLETED- The evaluation process completed successfully.DELETED- TheEvaluationis marked as deleted. It is not usable.
getEvaluationResponse_httpStatus :: Lens' GetEvaluationResponse Int Source #
The response's http status code.