[DOC] BaseForecaster score function uses MAPE instead of sMAPE as metric #4947
Labels
documentation
Documentation & tutorials
module:forecasting
forecasting module: forecasting, incl probabilistic and hierarchical forecasting
Describe the issue linked to the documentation
The score function of the BaseForecaster suggests the metric that is used for evaluation is sMAPE:
The code calls the mean_absolute_percentage_error function without any further parameters.
But the default values of the mean_absolute_percentage_error function are:
and the doc states:
Thus I conclude that instead of the sMAPE, MAPE is returned.
Suggest a potential alternative/fix
Either adjust the documentation such that it states that the MAPE metric is used or adjust the implementation by adding the symmetric parameter. I did not investigate if there are other places with the documentation error. ;) Many thanks!!
The text was updated successfully, but these errors were encountered: