@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) |
Double |
getAverageWeightedQuantileLoss()
The average value of all weighted quantile losses.
|
List<ErrorMetric> |
getErrorMetrics()
Provides detailed error metrics for each forecast type.
|
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 |
setAverageWeightedQuantileLoss(Double averageWeightedQuantileLoss)
The average value of all weighted quantile losses.
|
void |
setErrorMetrics(Collection<ErrorMetric> errorMetrics)
Provides detailed error metrics for each forecast type.
|
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 |
withAverageWeightedQuantileLoss(Double averageWeightedQuantileLoss)
The average value of all weighted quantile losses.
|
Metrics |
withErrorMetrics(Collection<ErrorMetric> errorMetrics)
Provides detailed error metrics for each forecast type.
|
Metrics |
withErrorMetrics(ErrorMetric... errorMetrics)
Provides detailed error metrics for each forecast type.
|
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 for each forecast type. Metrics include root-mean square-error (RMSE), mean absolute percentage error (MAPE), mean absolute scaled error (MASE), and weighted average percentage error (WAPE).
public void setErrorMetrics(Collection<ErrorMetric> errorMetrics)
Provides detailed error metrics for each forecast type. Metrics include root-mean square-error (RMSE), mean absolute percentage error (MAPE), mean absolute scaled error (MASE), and weighted average percentage error (WAPE).
errorMetrics
- Provides detailed error metrics for each forecast type. Metrics include root-mean square-error (RMSE),
mean absolute percentage error (MAPE), mean absolute scaled error (MASE), and weighted average percentage
error (WAPE).public Metrics withErrorMetrics(ErrorMetric... errorMetrics)
Provides detailed error metrics for each forecast type. Metrics include root-mean square-error (RMSE), mean absolute percentage error (MAPE), mean absolute scaled error (MASE), 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 for each forecast type. Metrics include root-mean square-error (RMSE),
mean absolute percentage error (MAPE), mean absolute scaled error (MASE), and weighted average percentage
error (WAPE).public Metrics withErrorMetrics(Collection<ErrorMetric> errorMetrics)
Provides detailed error metrics for each forecast type. Metrics include root-mean square-error (RMSE), mean absolute percentage error (MAPE), mean absolute scaled error (MASE), and weighted average percentage error (WAPE).
errorMetrics
- Provides detailed error metrics for each forecast type. Metrics include root-mean square-error (RMSE),
mean absolute percentage error (MAPE), mean absolute scaled error (MASE), and weighted average percentage
error (WAPE).public void setAverageWeightedQuantileLoss(Double averageWeightedQuantileLoss)
The average value of all weighted quantile losses.
averageWeightedQuantileLoss
- The average value of all weighted quantile losses.public Double getAverageWeightedQuantileLoss()
The average value of all weighted quantile losses.
public Metrics withAverageWeightedQuantileLoss(Double averageWeightedQuantileLoss)
The average value of all weighted quantile losses.
averageWeightedQuantileLoss
- The average value of all weighted quantile losses.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.