@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Metrics extends Object implements Serializable, Cloneable, StructuredPojo
Provides metrics that are 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) |
List<ErrorMetric> |
getErrorMetrics()
Provides detailed error metrics on forecast type, root-mean square-error (RMSE), and weighted average percentage
error (WAPE).
|
Double |
getRMSE()
Deprecated.
|
List<WeightedQuantileLoss> |
getWeightedQuantileLosses()
An array of weighted quantile losses.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setErrorMetrics(Collection<ErrorMetric> errorMetrics)
Provides detailed error metrics on forecast type, root-mean square-error (RMSE), and weighted average percentage
error (WAPE).
|
void |
setRMSE(Double rMSE)
Deprecated.
|
void |
setWeightedQuantileLosses(Collection<WeightedQuantileLoss> weightedQuantileLosses)
An array of weighted quantile losses.
|
String |
toString()
Returns a string representation of this object.
|
Metrics |
withErrorMetrics(Collection<ErrorMetric> errorMetrics)
Provides detailed error metrics on forecast type, root-mean square-error (RMSE), and weighted average percentage
error (WAPE).
|
Metrics |
withErrorMetrics(ErrorMetric... errorMetrics)
Provides detailed error metrics on forecast type, root-mean square-error (RMSE), and weighted average percentage
error (WAPE).
|
Metrics |
withRMSE(Double rMSE)
Deprecated.
|
Metrics |
withWeightedQuantileLosses(Collection<WeightedQuantileLoss> weightedQuantileLosses)
An array of weighted quantile losses.
|
Metrics |
withWeightedQuantileLosses(WeightedQuantileLoss... weightedQuantileLosses)
An array of weighted quantile losses.
|
@Deprecated public void setRMSE(Double rMSE)
The root-mean-square error (RMSE).
rMSE
- The root-mean-square error (RMSE).@Deprecated public Double getRMSE()
The root-mean-square error (RMSE).
@Deprecated 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 List<ErrorMetric> getErrorMetrics()
Provides detailed error metrics on forecast type, root-mean square-error (RMSE), and weighted average percentage error (WAPE).
public void setErrorMetrics(Collection<ErrorMetric> errorMetrics)
Provides detailed error metrics on forecast type, root-mean square-error (RMSE), and weighted average percentage error (WAPE).
errorMetrics
- Provides detailed error metrics on forecast type, root-mean square-error (RMSE), and weighted average
percentage error (WAPE).public Metrics withErrorMetrics(ErrorMetric... errorMetrics)
Provides detailed error metrics on forecast type, root-mean square-error (RMSE), and weighted average percentage error (WAPE).
NOTE: This method appends the values to the existing list (if any). Use
setErrorMetrics(java.util.Collection)
or withErrorMetrics(java.util.Collection)
if you want to
override the existing values.
errorMetrics
- Provides detailed error metrics on forecast type, root-mean square-error (RMSE), and weighted average
percentage error (WAPE).public Metrics withErrorMetrics(Collection<ErrorMetric> errorMetrics)
Provides detailed error metrics on forecast type, root-mean square-error (RMSE), and weighted average percentage error (WAPE).
errorMetrics
- Provides detailed error metrics on forecast type, root-mean square-error (RMSE), and weighted average
percentage error (WAPE).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.