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 |
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
- 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)
- gersName :: Lens' GetEvaluationResponse (Maybe Text)
- gersCreatedByIAMUser :: Lens' GetEvaluationResponse (Maybe Text)
- gersLogURI :: Lens' GetEvaluationResponse (Maybe Text)
- gersMessage :: Lens' GetEvaluationResponse (Maybe Text)
- gersEvaluationId :: Lens' GetEvaluationResponse (Maybe Text)
- gersEvaluationDataSourceId :: Lens' GetEvaluationResponse (Maybe Text)
- gersStatus :: Lens' GetEvaluationResponse Int
Creating a Request
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.
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
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
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
MLModel
uses the Area Under the Curve (AUC) technique to measure performance. - RegressionRMSE: A regression
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. - MulticlassAvgFScore: A multiclass
MLModel
uses 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.
gersName :: Lens' GetEvaluationResponse (Maybe Text) Source
A user-supplied name or description 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.
gersLogURI :: Lens' GetEvaluationResponse (Maybe Text) Source
A link to the file that contains logs of the CreateEvaluation operation.
gersMessage :: Lens' GetEvaluationResponse (Maybe Text) Source
A description of the most recent details about evaluating the MLModel
.
gersEvaluationId :: Lens' GetEvaluationResponse (Maybe Text) Source
The evaluation ID which is same as the EvaluationId
in the request.
gersEvaluationDataSourceId :: Lens' GetEvaluationResponse (Maybe Text) Source
The DataSource
used for this evaluation.
gersStatus :: Lens' GetEvaluationResponse Int Source
The response status code.