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.Types.ErrorMetric

Description

 
Synopsis

Documentation

data ErrorMetric Source #

Provides detailed error metrics to evaluate the performance of a predictor. This object is part of the Metrics object.

See: newErrorMetric smart constructor.

Constructors

ErrorMetric' 

Fields

Instances

Instances details
Eq ErrorMetric Source # 
Instance details

Defined in Amazonka.Forecast.Types.ErrorMetric

Read ErrorMetric Source # 
Instance details

Defined in Amazonka.Forecast.Types.ErrorMetric

Show ErrorMetric Source # 
Instance details

Defined in Amazonka.Forecast.Types.ErrorMetric

Generic ErrorMetric Source # 
Instance details

Defined in Amazonka.Forecast.Types.ErrorMetric

Associated Types

type Rep ErrorMetric :: Type -> Type #

NFData ErrorMetric Source # 
Instance details

Defined in Amazonka.Forecast.Types.ErrorMetric

Methods

rnf :: ErrorMetric -> () #

Hashable ErrorMetric Source # 
Instance details

Defined in Amazonka.Forecast.Types.ErrorMetric

FromJSON ErrorMetric Source # 
Instance details

Defined in Amazonka.Forecast.Types.ErrorMetric

type Rep ErrorMetric Source # 
Instance details

Defined in Amazonka.Forecast.Types.ErrorMetric

type Rep ErrorMetric = D1 ('MetaData "ErrorMetric" "Amazonka.Forecast.Types.ErrorMetric" "libZSservicesZSamazonka-forecastZSamazonka-forecast" 'False) (C1 ('MetaCons "ErrorMetric'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "mase") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "wape") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double))) :*: (S1 ('MetaSel ('Just "mape") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: (S1 ('MetaSel ('Just "rmse") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "forecastType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newErrorMetric :: ErrorMetric Source #

Create a value of ErrorMetric 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:mase:ErrorMetric', errorMetric_mase - The Mean Absolute Scaled Error (MASE)

$sel:wape:ErrorMetric', errorMetric_wape - The weighted absolute percentage error (WAPE).

$sel:mape:ErrorMetric', errorMetric_mape - The Mean Absolute Percentage Error (MAPE)

$sel:rmse:ErrorMetric', errorMetric_rmse - The root-mean-square error (RMSE).

$sel:forecastType:ErrorMetric', errorMetric_forecastType - The Forecast type used to compute WAPE, MAPE, MASE, and RMSE.

errorMetric_mase :: Lens' ErrorMetric (Maybe Double) Source #

The Mean Absolute Scaled Error (MASE)

errorMetric_wape :: Lens' ErrorMetric (Maybe Double) Source #

The weighted absolute percentage error (WAPE).

errorMetric_mape :: Lens' ErrorMetric (Maybe Double) Source #

The Mean Absolute Percentage Error (MAPE)

errorMetric_rmse :: Lens' ErrorMetric (Maybe Double) Source #

The root-mean-square error (RMSE).

errorMetric_forecastType :: Lens' ErrorMetric (Maybe Text) Source #

The Forecast type used to compute WAPE, MAPE, MASE, and RMSE.