| Copyright | (c) 2013-2015 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.MachineLearning.GetEvaluation
Description
Returns an Evaluation that includes metadata as well as the current
status of the Evaluation.
See: AWS API Reference for GetEvaluation.
- getEvaluation :: Text -> GetEvaluation
- data GetEvaluation
- geEvaluationId :: Lens' GetEvaluation Text
- getEvaluationResponse :: Int -> GetEvaluationResponse
- data GetEvaluationResponse
- gersStatus :: Lens' GetEvaluationResponse (Maybe EntityStatus)
- gersPerformanceMetrics :: Lens' GetEvaluationResponse (Maybe PerformanceMetrics)
- gersLastUpdatedAt :: Lens' GetEvaluationResponse (Maybe UTCTime)
- gersCreatedAt :: Lens' GetEvaluationResponse (Maybe UTCTime)
- gersInputDataLocationS3 :: Lens' GetEvaluationResponse (Maybe Text)
- gersMLModelId :: Lens' GetEvaluationResponse (Maybe Text)
- gersCreatedByIAMUser :: Lens' GetEvaluationResponse (Maybe Text)
- gersName :: Lens' GetEvaluationResponse (Maybe Text)
- gersLogURI :: Lens' GetEvaluationResponse (Maybe Text)
- gersEvaluationId :: Lens' GetEvaluationResponse (Maybe Text)
- gersMessage :: Lens' GetEvaluationResponse (Maybe Text)
- gersEvaluationDataSourceId :: Lens' GetEvaluationResponse (Maybe Text)
- gersResponseStatus :: Lens' GetEvaluationResponse Int
Creating a Request
Arguments
| :: Text | |
| -> GetEvaluation |
Creates a value of GetEvaluation with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data GetEvaluation Source
See: getEvaluation smart constructor.
Instances
Request Lenses
geEvaluationId :: 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
Arguments
| :: Int | |
| -> GetEvaluationResponse |
Creates a value of GetEvaluationResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data GetEvaluationResponse Source
Represents the output of a GetEvaluation operation and describes an
Evaluation.
See: getEvaluationResponse smart constructor.
Response Lenses
gersStatus :: 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.
gersPerformanceMetrics :: 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.
gersLastUpdatedAt :: Lens' GetEvaluationResponse (Maybe UTCTime) Source
The time of the most recent edit to the BatchPrediction. The time is
expressed in epoch time.
gersCreatedAt :: Lens' GetEvaluationResponse (Maybe UTCTime) Source
The time that the Evaluation was created. The time is expressed in
epoch time.
gersInputDataLocationS3 :: Lens' GetEvaluationResponse (Maybe Text) Source
The location of the data file or directory in Amazon Simple Storage Service (Amazon S3).
gersMLModelId :: Lens' GetEvaluationResponse (Maybe Text) Source
The ID of the MLModel that was the focus of the evaluation.
gersCreatedByIAMUser :: 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.
gersName :: Lens' GetEvaluationResponse (Maybe Text) Source
A user-supplied name or description of the Evaluation.
gersLogURI :: Lens' GetEvaluationResponse (Maybe Text) Source
A link to the file that contains logs of the CreateEvaluation operation.
gersEvaluationId :: Lens' GetEvaluationResponse (Maybe Text) Source
The evaluation ID which is same as the EvaluationId in the request.
gersMessage :: Lens' GetEvaluationResponse (Maybe Text) Source
A description of the most recent details about evaluating the MLModel.
gersEvaluationDataSourceId :: Lens' GetEvaluationResponse (Maybe Text) Source
The DataSource used for this evaluation.
gersResponseStatus :: Lens' GetEvaluationResponse Int Source
The response status code.