@Generated(value="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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
WeightedQuantileLoss.Builder |
| Modifier and Type | Method and Description |
|---|---|
static WeightedQuantileLoss.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
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.
|
Double |
quantile()
The quantile.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends WeightedQuantileLoss.Builder> |
serializableBuilderClass() |
WeightedQuantileLoss.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic 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.
public 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.
public WeightedQuantileLoss.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<WeightedQuantileLoss.Builder,WeightedQuantileLoss>public static WeightedQuantileLoss.Builder builder()
public static Class<? extends WeightedQuantileLoss.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.