Skip to content

/AWS1/CL_FCSERRORMETRIC

Provides detailed error metrics to evaluate the performance of a predictor. This object is part of the Metrics object.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_forecasttype TYPE /AWS1/FCSFORECASTTYPE /AWS1/FCSFORECASTTYPE

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

iv_wape TYPE /AWS1/RT_DOUBLE_AS_STRING /AWS1/RT_DOUBLE_AS_STRING

The weighted absolute percentage error (WAPE).

iv_rmse TYPE /AWS1/RT_DOUBLE_AS_STRING /AWS1/RT_DOUBLE_AS_STRING

The root-mean-square error (RMSE).

iv_mase TYPE /AWS1/RT_DOUBLE_AS_STRING /AWS1/RT_DOUBLE_AS_STRING

The Mean Absolute Scaled Error (MASE)

iv_mape TYPE /AWS1/RT_DOUBLE_AS_STRING /AWS1/RT_DOUBLE_AS_STRING

The Mean Absolute Percentage Error (MAPE)


Queryable Attributes

ForecastType

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

Accessible with the following methods

Method Description
GET_FORECASTTYPE() Getter for FORECASTTYPE, with configurable default
ASK_FORECASTTYPE() Getter for FORECASTTYPE w/ exceptions if field has no value
HAS_FORECASTTYPE() Determine if FORECASTTYPE has a value

WAPE

The weighted absolute percentage error (WAPE).

Accessible with the following methods

Method Description
GET_WAPE() Getter for WAPE, with configurable default
ASK_WAPE() Getter for WAPE w/ exceptions if field has no value
STR_WAPE() String format for WAPE, with configurable default
HAS_WAPE() Determine if WAPE has a value

RMSE

The root-mean-square error (RMSE).

Accessible with the following methods

Method Description
GET_RMSE() Getter for RMSE, with configurable default
ASK_RMSE() Getter for RMSE w/ exceptions if field has no value
STR_RMSE() String format for RMSE, with configurable default
HAS_RMSE() Determine if RMSE has a value

MASE

The Mean Absolute Scaled Error (MASE)

Accessible with the following methods

Method Description
GET_MASE() Getter for MASE, with configurable default
ASK_MASE() Getter for MASE w/ exceptions if field has no value
STR_MASE() String format for MASE, with configurable default
HAS_MASE() Determine if MASE has a value

MAPE

The Mean Absolute Percentage Error (MAPE)

Accessible with the following methods

Method Description
GET_MAPE() Getter for MAPE, with configurable default
ASK_MAPE() Getter for MAPE w/ exceptions if field has no value
STR_MAPE() String format for MAPE, with configurable default
HAS_MAPE() Determine if MAPE has a value

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_ERRORMETRICS

TYPES TT_ERRORMETRICS TYPE STANDARD TABLE OF REF TO /AWS1/CL_FCSERRORMETRIC WITH DEFAULT KEY
.