@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Metrics extends Object implements Serializable, Cloneable, StructuredPojo
Provides metrics used to evaluate the performance of a predictor. This object is part of the WindowSummary object.
Constructor and Description |
---|
Metrics() |
Modifier and Type | Method and Description |
---|---|
Metrics |
clone() |
boolean |
equals(Object obj) |
Double |
getRMSE()
The root mean square error (RMSE).
|
List<WeightedQuantileLoss> |
getWeightedQuantileLosses()
An array of weighted quantile losses.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setRMSE(Double rMSE)
The root mean square error (RMSE).
|
void |
setWeightedQuantileLosses(Collection<WeightedQuantileLoss> weightedQuantileLosses)
An array of weighted quantile losses.
|
String |
toString()
Returns a string representation of this object.
|
Metrics |
withRMSE(Double rMSE)
The root mean square error (RMSE).
|
Metrics |
withWeightedQuantileLosses(Collection<WeightedQuantileLoss> weightedQuantileLosses)
An array of weighted quantile losses.
|
Metrics |
withWeightedQuantileLosses(WeightedQuantileLoss... weightedQuantileLosses)
An array of weighted quantile losses.
|
public void setRMSE(Double rMSE)
The root mean square error (RMSE).
rMSE
- The root mean square error (RMSE).public Double getRMSE()
The root mean square error (RMSE).
public Metrics withRMSE(Double rMSE)
The root mean square error (RMSE).
rMSE
- The root mean square error (RMSE).public List<WeightedQuantileLoss> getWeightedQuantileLosses()
An array of weighted quantile losses. Quantiles divide a probability distribution into regions of equal probability. The distribution in this case is the loss function.
public void setWeightedQuantileLosses(Collection<WeightedQuantileLoss> weightedQuantileLosses)
An array of weighted quantile losses. Quantiles divide a probability distribution into regions of equal probability. The distribution in this case is the loss function.
weightedQuantileLosses
- An array of weighted quantile losses. Quantiles divide a probability distribution into regions of equal
probability. The distribution in this case is the loss function.public Metrics withWeightedQuantileLosses(WeightedQuantileLoss... weightedQuantileLosses)
An array of weighted quantile losses. Quantiles divide a probability distribution into regions of equal probability. The distribution in this case is the loss function.
NOTE: This method appends the values to the existing list (if any). Use
setWeightedQuantileLosses(java.util.Collection)
or
withWeightedQuantileLosses(java.util.Collection)
if you want to override the existing values.
weightedQuantileLosses
- An array of weighted quantile losses. Quantiles divide a probability distribution into regions of equal
probability. The distribution in this case is the loss function.public Metrics withWeightedQuantileLosses(Collection<WeightedQuantileLoss> weightedQuantileLosses)
An array of weighted quantile losses. Quantiles divide a probability distribution into regions of equal probability. The distribution in this case is the loss function.
weightedQuantileLosses
- An array of weighted quantile losses. Quantiles divide a probability distribution into regions of equal
probability. The distribution in this case is the loss function.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.