climpred.metrics._smape¶
-
climpred.metrics.
_smape
(forecast, verif, dim=None, **metric_kwargs)[source]¶ Symmetric Mean Absolute Percentage Error (sMAPE).
Similar to the Mean Absolute Percentage Error (
mape
), but sums the forecast and observation mean in the denominator.- Parameters
forecast (xarray object) – Forecast.
verif (xarray object) – Verification data.
dim (str) – Dimension(s) to perform metric over.
metric_kwargs (dict) – see xskillscore.smape
- Details:
minimum
0.0
maximum
1.0
perfect
0.0
orientation
negative
See also
xskillscore.smape