libZSservicesZSamazonka-forecastZSamazonka-forecast
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Forecast.GetAccuracyMetrics

Description

Provides metrics on the accuracy of the models that were trained by the CreatePredictor operation. Use metrics to see how well the model performed and to decide whether to use the predictor to generate a forecast. For more information, see Predictor Metrics.

This operation generates metrics for each backtest window that was evaluated. The number of backtest windows (NumberOfBacktestWindows) is specified using the EvaluationParameters object, which is optionally included in the CreatePredictor request. If NumberOfBacktestWindows isn't specified, the number defaults to one.

The parameters of the filling method determine which items contribute to the metrics. If you want all items to contribute, specify zero. If you want only those items that have complete data in the range being evaluated to contribute, specify nan. For more information, see FeaturizationMethod.

Before you can get accuracy metrics, the Status of the predictor must be ACTIVE, signifying that training has completed. To get the status, use the DescribePredictor operation.

Synopsis

Creating a Request

data GetAccuracyMetrics Source #

See: newGetAccuracyMetrics smart constructor.

Constructors

GetAccuracyMetrics' 

Fields

  • predictorArn :: Text

    The Amazon Resource Name (ARN) of the predictor to get metrics for.

Instances

Instances details
Eq GetAccuracyMetrics Source # 
Instance details

Defined in Amazonka.Forecast.GetAccuracyMetrics

Read GetAccuracyMetrics Source # 
Instance details

Defined in Amazonka.Forecast.GetAccuracyMetrics

Show GetAccuracyMetrics Source # 
Instance details

Defined in Amazonka.Forecast.GetAccuracyMetrics

Generic GetAccuracyMetrics Source # 
Instance details

Defined in Amazonka.Forecast.GetAccuracyMetrics

Associated Types

type Rep GetAccuracyMetrics :: Type -> Type #

NFData GetAccuracyMetrics Source # 
Instance details

Defined in Amazonka.Forecast.GetAccuracyMetrics

Methods

rnf :: GetAccuracyMetrics -> () #

Hashable GetAccuracyMetrics Source # 
Instance details

Defined in Amazonka.Forecast.GetAccuracyMetrics

ToJSON GetAccuracyMetrics Source # 
Instance details

Defined in Amazonka.Forecast.GetAccuracyMetrics

AWSRequest GetAccuracyMetrics Source # 
Instance details

Defined in Amazonka.Forecast.GetAccuracyMetrics

Associated Types

type AWSResponse GetAccuracyMetrics #

ToHeaders GetAccuracyMetrics Source # 
Instance details

Defined in Amazonka.Forecast.GetAccuracyMetrics

ToPath GetAccuracyMetrics Source # 
Instance details

Defined in Amazonka.Forecast.GetAccuracyMetrics

ToQuery GetAccuracyMetrics Source # 
Instance details

Defined in Amazonka.Forecast.GetAccuracyMetrics

type Rep GetAccuracyMetrics Source # 
Instance details

Defined in Amazonka.Forecast.GetAccuracyMetrics

type Rep GetAccuracyMetrics = D1 ('MetaData "GetAccuracyMetrics" "Amazonka.Forecast.GetAccuracyMetrics" "libZSservicesZSamazonka-forecastZSamazonka-forecast" 'False) (C1 ('MetaCons "GetAccuracyMetrics'" 'PrefixI 'True) (S1 ('MetaSel ('Just "predictorArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse GetAccuracyMetrics Source # 
Instance details

Defined in Amazonka.Forecast.GetAccuracyMetrics

newGetAccuracyMetrics Source #

Create a value of GetAccuracyMetrics 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:

$sel:predictorArn:GetAccuracyMetrics', getAccuracyMetrics_predictorArn - The Amazon Resource Name (ARN) of the predictor to get metrics for.

Request Lenses

getAccuracyMetrics_predictorArn :: Lens' GetAccuracyMetrics Text Source #

The Amazon Resource Name (ARN) of the predictor to get metrics for.

Destructuring the Response

data GetAccuracyMetricsResponse Source #

See: newGetAccuracyMetricsResponse smart constructor.

Constructors

GetAccuracyMetricsResponse' 

Fields

Instances

Instances details
Eq GetAccuracyMetricsResponse Source # 
Instance details

Defined in Amazonka.Forecast.GetAccuracyMetrics

Read GetAccuracyMetricsResponse Source # 
Instance details

Defined in Amazonka.Forecast.GetAccuracyMetrics

Show GetAccuracyMetricsResponse Source # 
Instance details

Defined in Amazonka.Forecast.GetAccuracyMetrics

Generic GetAccuracyMetricsResponse Source # 
Instance details

Defined in Amazonka.Forecast.GetAccuracyMetrics

Associated Types

type Rep GetAccuracyMetricsResponse :: Type -> Type #

NFData GetAccuracyMetricsResponse Source # 
Instance details

Defined in Amazonka.Forecast.GetAccuracyMetrics

type Rep GetAccuracyMetricsResponse Source # 
Instance details

Defined in Amazonka.Forecast.GetAccuracyMetrics

type Rep GetAccuracyMetricsResponse = D1 ('MetaData "GetAccuracyMetricsResponse" "Amazonka.Forecast.GetAccuracyMetrics" "libZSservicesZSamazonka-forecastZSamazonka-forecast" 'False) (C1 ('MetaCons "GetAccuracyMetricsResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "predictorEvaluationResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [EvaluationResult])) :*: S1 ('MetaSel ('Just "optimizationMetric") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe OptimizationMetric))) :*: (S1 ('MetaSel ('Just "autoMLOverrideStrategy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AutoMLOverrideStrategy)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newGetAccuracyMetricsResponse Source #

Create a value of GetAccuracyMetricsResponse 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:

$sel:predictorEvaluationResults:GetAccuracyMetricsResponse', getAccuracyMetricsResponse_predictorEvaluationResults - An array of results from evaluating the predictor.

$sel:optimizationMetric:GetAccuracyMetricsResponse', getAccuracyMetricsResponse_optimizationMetric - The accuracy metric used to optimize the predictor.

$sel:autoMLOverrideStrategy:GetAccuracyMetricsResponse', getAccuracyMetricsResponse_autoMLOverrideStrategy - The LatencyOptimized AutoML override strategy is only available in private beta. Contact AWS Support or your account manager to learn more about access privileges.

The AutoML strategy used to train the predictor. Unless LatencyOptimized is specified, the AutoML strategy optimizes predictor accuracy.

This parameter is only valid for predictors trained using AutoML.

$sel:httpStatus:GetAccuracyMetricsResponse', getAccuracyMetricsResponse_httpStatus - The response's http status code.

Response Lenses

getAccuracyMetricsResponse_autoMLOverrideStrategy :: Lens' GetAccuracyMetricsResponse (Maybe AutoMLOverrideStrategy) Source #

The LatencyOptimized AutoML override strategy is only available in private beta. Contact AWS Support or your account manager to learn more about access privileges.

The AutoML strategy used to train the predictor. Unless LatencyOptimized is specified, the AutoML strategy optimizes predictor accuracy.

This parameter is only valid for predictors trained using AutoML.