PyAF is an Open Source Python library for Automatic Time Series Forecasting built on top of popular pydata modules.
BSD 3-Clause "New" or "Revised" License
459
stars
72
forks
source link
MAPE, sMAPE computations are slow #42
Closed
antoinecarme closed 7 years ago
PyAF protects these indicators against zero values in the signal :
This is not necessary.
An approximation is better :
rel_error = abs(estimator - signal) / (abs(signal) + eps) MAPE = mean(rel_error)