

 Amazon Forecast is no longer available to new customers. Existing customers of Amazon Forecast can continue to use the service as normal. [Learn more"](https://aws.amazon.com/blogs/machine-learning/transition-your-amazon-forecast-usage-to-amazon-sagemaker-canvas/)

# Metrics
<a name="API_Metrics"></a>

Provides metrics that are used to evaluate the performance of a predictor. This object is part of the [WindowSummary](API_WindowSummary.md) object.

## Contents
<a name="API_Metrics_Contents"></a>

 ** AverageWeightedQuantileLoss **   <a name="forecast-Type-Metrics-AverageWeightedQuantileLoss"></a>
The average value of all weighted quantile losses.  
Type: Double  
Required: No

 ** ErrorMetrics **   <a name="forecast-Type-Metrics-ErrorMetrics"></a>
 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).   
Type: Array of [ErrorMetric](API_ErrorMetric.md) objects  
Required: No

 ** RMSE **   <a name="forecast-Type-Metrics-RMSE"></a>
 *This member has been deprecated.*   
The root-mean-square error (RMSE).  
Type: Double  
Required: No

 ** WeightedQuantileLosses **   <a name="forecast-Type-Metrics-WeightedQuantileLosses"></a>
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.  
Type: Array of [WeightedQuantileLoss](API_WeightedQuantileLoss.md) objects  
Required: No

## See Also
<a name="API_Metrics_SeeAlso"></a>

For more information about using this API in one of the language-specific AWS SDKs, see the following:
+  [AWS SDK for C\$1\$1](https://docs.aws.amazon.com/goto/SdkForCpp/forecast-2018-06-26/Metrics) 
+  [AWS SDK for Java V2](https://docs.aws.amazon.com/goto/SdkForJavaV2/forecast-2018-06-26/Metrics) 
+  [AWS SDK for Ruby V3](https://docs.aws.amazon.com/goto/SdkForRubyV3/forecast-2018-06-26/Metrics) 