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.WeightedQuantileLoss

Description

 
Synopsis

Documentation

data WeightedQuantileLoss Source #

The weighted loss value for a quantile. This object is part of the Metrics object.

See: newWeightedQuantileLoss smart constructor.

Constructors

WeightedQuantileLoss' 

Fields

  • quantile :: Maybe Double

    The quantile. Quantiles divide a probability distribution into regions of equal probability. For example, if the distribution was divided into 5 regions of equal probability, the quantiles would be 0.2, 0.4, 0.6, and 0.8.

  • lossValue :: Maybe Double

    The difference between the predicted value and the actual value over the quantile, weighted (normalized) by dividing by the sum over all quantiles.

Instances

Instances details
Eq WeightedQuantileLoss Source # 
Instance details

Defined in Amazonka.Forecast.Types.WeightedQuantileLoss

Read WeightedQuantileLoss Source # 
Instance details

Defined in Amazonka.Forecast.Types.WeightedQuantileLoss

Show WeightedQuantileLoss Source # 
Instance details

Defined in Amazonka.Forecast.Types.WeightedQuantileLoss

Generic WeightedQuantileLoss Source # 
Instance details

Defined in Amazonka.Forecast.Types.WeightedQuantileLoss

Associated Types

type Rep WeightedQuantileLoss :: Type -> Type #

NFData WeightedQuantileLoss Source # 
Instance details

Defined in Amazonka.Forecast.Types.WeightedQuantileLoss

Methods

rnf :: WeightedQuantileLoss -> () #

Hashable WeightedQuantileLoss Source # 
Instance details

Defined in Amazonka.Forecast.Types.WeightedQuantileLoss

FromJSON WeightedQuantileLoss Source # 
Instance details

Defined in Amazonka.Forecast.Types.WeightedQuantileLoss

type Rep WeightedQuantileLoss Source # 
Instance details

Defined in Amazonka.Forecast.Types.WeightedQuantileLoss

type Rep WeightedQuantileLoss = D1 ('MetaData "WeightedQuantileLoss" "Amazonka.Forecast.Types.WeightedQuantileLoss" "libZSservicesZSamazonka-forecastZSamazonka-forecast" 'False) (C1 ('MetaCons "WeightedQuantileLoss'" 'PrefixI 'True) (S1 ('MetaSel ('Just "quantile") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "lossValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double))))

newWeightedQuantileLoss :: WeightedQuantileLoss Source #

Create a value of WeightedQuantileLoss 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:quantile:WeightedQuantileLoss', weightedQuantileLoss_quantile - The quantile. Quantiles divide a probability distribution into regions of equal probability. For example, if the distribution was divided into 5 regions of equal probability, the quantiles would be 0.2, 0.4, 0.6, and 0.8.

$sel:lossValue:WeightedQuantileLoss', weightedQuantileLoss_lossValue - The difference between the predicted value and the actual value over the quantile, weighted (normalized) by dividing by the sum over all quantiles.

weightedQuantileLoss_quantile :: Lens' WeightedQuantileLoss (Maybe Double) Source #

The quantile. Quantiles divide a probability distribution into regions of equal probability. For example, if the distribution was divided into 5 regions of equal probability, the quantiles would be 0.2, 0.4, 0.6, and 0.8.

weightedQuantileLoss_lossValue :: Lens' WeightedQuantileLoss (Maybe Double) Source #

The difference between the predicted value and the actual value over the quantile, weighted (normalized) by dividing by the sum over all quantiles.