Interface WeightedQuantileLoss.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<WeightedQuantileLoss.Builder,WeightedQuantileLoss>,SdkBuilder<WeightedQuantileLoss.Builder,WeightedQuantileLoss>,SdkPojo
- Enclosing class:
- WeightedQuantileLoss
public static interface WeightedQuantileLoss.Builder extends SdkPojo, CopyableBuilder<WeightedQuantileLoss.Builder,WeightedQuantileLoss>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description WeightedQuantileLoss.BuilderlossValue(Double 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.Builderquantile(Double quantile)The quantile.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
quantile
WeightedQuantileLoss.Builder quantile(Double 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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lossValue
WeightedQuantileLoss.Builder lossValue(Double lossValue)
The difference between the predicted value and the actual value over the quantile, weighted (normalized) by dividing by the sum over all quantiles.
- Parameters:
lossValue- The difference between the predicted value and the actual value over the quantile, weighted (normalized) by dividing by the sum over all quantiles.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-