@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class WeightedQuantileLoss extends Object implements Serializable, Cloneable, StructuredPojo
The weighted loss value for a quantile. This object is part of the Metrics object.
Constructor and Description |
---|
WeightedQuantileLoss() |
Modifier and Type | Method and Description |
---|---|
WeightedQuantileLoss |
clone() |
boolean |
equals(Object obj) |
Double |
getLossValue()
The difference between the predicted value and the actual value over the quantile, weighted (normalized) by
dividing by the sum over all quantiles.
|
Double |
getQuantile()
The quantile.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setLossValue(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.
|
void |
setQuantile(Double quantile)
The quantile.
|
String |
toString()
Returns a string representation of this object.
|
WeightedQuantileLoss |
withLossValue(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 |
withQuantile(Double quantile)
The quantile.
|
public void setQuantile(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.
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 getQuantile()
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 WeightedQuantileLoss withQuantile(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.
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 void setLossValue(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.
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 Double getLossValue()
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 withLossValue(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.
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 String toString()
toString
in class Object
Object.toString()
public WeightedQuantileLoss clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.