Skip to content

ErrorMetric

Source code in docs_src/capo_forecast/types/error_metric.py
class ErrorMetric(TypedDict, closed=True):
    forecast_type: NotRequired["capo_forecast.types.forecast_type.ForecastType"]
    """<p> The Forecast type used to compute WAPE, MAPE, MASE, and RMSE. </p>"""
    wape: NotRequired["capo_forecast.types.double.Double"]
    """<p> The weighted absolute percentage error (WAPE). </p>"""
    rmse: NotRequired["capo_forecast.types.double.Double"]
    """<p> The root-mean-square error (RMSE). </p>"""
    mase: NotRequired["capo_forecast.types.double.Double"]
    """<p>The Mean Absolute Scaled Error (MASE)</p>"""
    mape: NotRequired["capo_forecast.types.double.Double"]
    """<p>The Mean Absolute Percentage Error (MAPE)</p>"""

forecast_type instance-attribute

forecast_type: NotRequired[ForecastType]

The Forecast type used to compute WAPE, MAPE, MASE, and RMSE.

mape instance-attribute

mape: NotRequired[Double]

The Mean Absolute Percentage Error (MAPE)

mase instance-attribute

mase: NotRequired[Double]

The Mean Absolute Scaled Error (MASE)

rmse instance-attribute

rmse: NotRequired[Double]

The root-mean-square error (RMSE).

wape instance-attribute

wape: NotRequired[Double]

The weighted absolute percentage error (WAPE).