Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
Documentation
data WeightedQuantileLoss Source #
The weighted loss value for a quantile. This object is part of the Metrics object.
See: newWeightedQuantileLoss
smart constructor.
WeightedQuantileLoss' | |
|
Instances
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.