Class WeightedQuantileLoss
- java.lang.Object
-
- software.amazon.awssdk.services.forecast.model.WeightedQuantileLoss
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<WeightedQuantileLoss.Builder,WeightedQuantileLoss>
@Generated("software.amazon.awssdk:codegen") public final class WeightedQuantileLoss extends Object implements SdkPojo, Serializable, ToCopyableBuilder<WeightedQuantileLoss.Builder,WeightedQuantileLoss>
The weighted loss value for a quantile. This object is part of the Metrics object.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceWeightedQuantileLoss.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static WeightedQuantileLoss.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()DoublelossValue()The difference between the predicted value and the actual value over the quantile, weighted (normalized) by dividing by the sum over all quantiles.Doublequantile()The quantile.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends WeightedQuantileLoss.Builder>serializableBuilderClass()WeightedQuantileLoss.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
quantile
public final 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.
- Returns:
- 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
public final 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.
- Returns:
- The difference between the predicted value and the actual value over the quantile, weighted (normalized) by dividing by the sum over all quantiles.
-
toBuilder
public WeightedQuantileLoss.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<WeightedQuantileLoss.Builder,WeightedQuantileLoss>
-
builder
public static WeightedQuantileLoss.Builder builder()
-
serializableBuilderClass
public static Class<? extends WeightedQuantileLoss.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-