Forecast evaluation for data scientists: common pitfalls and best practices
Open accessThe DOI matches its Crossref record; 70 of the 70 references it cites were found in a registry or an index.
Abstract
Recent trends in the Machine Learning (ML) and in particular Deep Learning (DL) domains have demonstrated that with the availability of massive amounts of time series, ML and DL techniques are competitive in time series forecasting. Nevertheless, the different forms of non-stationarities associated with time series challenge the capabilities of data-driven ML models. Furthermore, due to the domain of forecasting being fostered mainly by statisticians and econometricians over the years, the concepts related to forecast evaluation are not the mainstream knowledge among ML researchers. We demonstrate in our work that as a consequence, ML researchers oftentimes adopt flawed evaluation practices which results in spurious conclusions suggesting methods that are not competitive in reality to be seemingly competitive. Therefore, in this work we provide a tutorial-like compilation of the details associated with forecast evaluation. This way, we intend to impart the information associated with forecast evaluation to fit the context of ML, as means of bridging the knowledge gap between traditional methods of forecasting and adopting current state-of-the-art ML techniques.We elaborate the details of the different problematic characteristics of time series such as non-normality and non-stationarities and how they are associated with common pitfalls in forecast evaluation. Best practices in forecast evaluation are outlined with respect to the different steps such as data partitioning, error calculation, statistical testing, and others. Further guidelines are also provided along selecting valid and suitable error measures depending on the specific characteristics of the dataset at hand.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
The Elements of Statistical Learning
Hastie, T., Tibshirani, R., & Friedman, J. (2009) · Springer Series in Statistics · doi:10.1007/978-0-387-84858-7 · Cited by 25,970
Advances in neural information processing systems 7
Cios, K., & Shields, M. (1997) · Neurocomputing · doi:10.1016/s0925-2312(97)90018-7 · Cited by 22,059
On a Test of Whether one of Two Random Variables is Stochastically Larger than the Other
Mann, H. B., & Whitney, D. R. (1947) · The Annals of Mathematical Statistics · doi:10.1214/aoms/1177730491 · Cited by 14,320
Efficient capital markets: A review of theory and empirical work
Fama, E. F. (1970) · The Journal of Finance · doi:10.2307/2325486 · Cited by 13,635
Cross validatory choice and assessment of statistical predictions
Stone, M. (1974) · Journal of the Royal Statistical Society Series B: Statistical Methodology · doi:10.1111/j.2517-6161.1974.tb00994.x · Cited by 10,881
Informer: Beyond Efficient Transformer for Long Sequence Time-Series Forecasting
Zhou, H., Zhang, S., Peng, J., Zhang, S., Li, J., Xiong, H., & Zhang, W. (2021) · Proceedings of the AAAI Conference on Artificial Intelligence · doi:10.1609/aaai.v35i12.17325 · Cited by 7,752
The use of ranks to avoid the assumption of normality implicit in the analysis of variance
Friedman, M. (1937) · Journal of the American Statistical Association · doi:10.1080/01621459.1937.10503522 · Cited by 7,005
On a measure of lack of fit in time series models
LJUNG, G. M., & BOX, G. E. P. (1978) · Biometrika · doi:10.1093/biomet/65.2.297 · Cited by 6,668
Another look at measures of forecast accuracy
Hyndman, R. J., & Koehler, A. B. (2006) · International Journal of Forecasting · doi:10.1016/j.ijforecast.2006.03.001 · Cited by 5,757 · cited 10×
“sMAPE is also in general further criticised for its lack of interpretability (Hyndman and Koehler, 2006).”
BackgroundMethodInfluentialMultiple comparisons among means
Dunn, O. J. (1961) · Journal of the American Statistical Association · doi:10.1080/01621459.1961.10482090 · Cited by 5,006
A sharper Bonferroni procedure for multiple tests of significance
HOCHBERG, Y. (1988) · Biometrika · doi:10.1093/biomet/75.4.800 · Cited by 4,829
A survey on concept drift adaptation
Gama, J., Žliobaitė, I., Bifet, A., Pechenizkiy, M., & Bouchachia, A. (2014) · ACM Computing Surveys · doi:10.1145/2523813 · Cited by 3,735
Deep learning for time series classification: a review
Ismail Fawaz, H., Forestier, G., Weber, J., Idoumghar, L., & Muller, P.-A. (2019) · Data Mining and Knowledge Discovery · doi:10.1007/s10618-019-00619-1 · Cited by 3,342 · cited 1×
“In the present era of Big Data, Machine Learning (ML) and Deep Learning (DL) based techniques are driving the automatic decision making in many domains such as Natural Language Processing (NLP) or Time Series Classification (TSC, Bagnall et al., 2016; Fawaz et al., 2019).”
BackgroundA Comparison of Alternative Tests of Significance for the Problem of $m$ Rankings
Friedman, M. (1940) · The Annals of Mathematical Statistics · doi:10.1214/aoms/1177731944 · Cited by 2,785 · cited 1×
“On the other hand, the Friedman test (Friedman, 1937, 1939, 1940) is a non-parametric statistical test that can be used to detect significance between multiple competing methods, using the ranks of the methods according to mean errors.”
MethodDeepAR: Probabilistic forecasting with autoregressive recurrent networks
Salinas, D., Flunkert, V., Gasthaus, J., & Januschowski, T. (2020) · International Journal of Forecasting · doi:10.1016/j.ijforecast.2019.07.001 · Cited by 2,661
Modeling Long- and Short-Term Temporal Patterns with Deep Neural Networks
Lai, G., Chang, W.-C., Yang, Y., & Liu, H. (2018) · The 41st International ACM SIGIR Conference on Research & Development in Information Retrieval · doi:10.1145/3209978.3210006 · Cited by 2,152
Connecting the Dots: Multivariate Time Series Forecasting with Graph Neural Networks
Wu, Z., Pan, S., Long, G., Jiang, J., Chang, X., & Zhang, C. (2020) · Proceedings of the 26th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining · doi:10.1145/3394486.3403118 · Cited by 2,001
Diebold, F. X., & Mariano, R. S. (2002) · Journal of Business & Economic Statistics · doi:10.1198/073500102753410444 · Cited by 1,728
The M3-Competition: results, conclusions and implications
Makridakis, S., & Hibon, M. (2000) · International Journal of Forecasting · doi:10.1016/s0169-2070(00)00057-1 · Cited by 1,695
Tests of Conditional Predictive Ability
Giacomini, R., & White, H. (2006) · Econometrica · doi:10.1111/j.1468-0262.2006.00718.x · Cited by 1,646
Bagnall, A., Lines, J., Bostrom, A., Large, J., & Keogh, E. (2017) · Data Mining and Knowledge Discovery · doi:10.1007/s10618-016-0483-9 · Cited by 1,377
Recurrent Neural Networks for Time Series Forecasting: Current status and future directions
Hewamalage, H., Bergmeir, C., & Bandara, K. (2021) · International Journal of Forecasting · doi:10.1016/j.ijforecast.2020.06.008 · Cited by 1,371
Self-citationOn the use of cross-validation for time series predictor evaluation
Bergmeir, C., & Benítez, J. M. (2012) · Information Sciences · doi:10.1016/j.ins.2011.12.028 · Cited by 1,292
Self-citationA new metric of absolute percentage error for intermittent demand forecasts
Kim, S., & Kim, H. (2016) · International Journal of Forecasting · doi:10.1016/j.ijforecast.2015.12.003 · Cited by 1,146
Statistical Comparisons of Classifiers over Multiple Data Sets
DemšarJanez (2006) · Journal of Machine Learning Research · doi:10.5555/1248547.1248548 · Cited by 1,074
Principles of Forecasting: A Handbook for Researchers and Practitioners
(2001) · International Series in Operations Research & Management Science · doi:10.1007/978-0-306-47630-3 · Cited by 1,041
Oliver, F. R., & Gujarati, D. (1993) · Journal of the Royal Statistical Society. Series A (Statistics in Society) · doi:10.2307/2982744 · Cited by 1,035
Out-of-sample tests of forecasting accuracy: an analysis and review
Tashman, L. J. (2000) · International Journal of Forecasting · doi:10.1016/s0169-2070(00)00065-0 · Cited by 1,021
The M4 Competition: 100,000 time series and 61 forecasting methods
Makridakis, S., Spiliotis, E., & Assimakopoulos, V. (2020) · International Journal of Forecasting · doi:10.1016/j.ijforecast.2019.04.014 · Cited by 969
Temporal pattern attention for multivariate time series forecasting
Shih, S.-Y., Sun, F.-K., & Lee, H.-Y. (2019) · Machine Learning · doi:10.1007/s10994-019-05815-0 · Cited by 960
Forecasting: theory and practice
Petropoulos, F., Apiletti, D., Assimakopoulos, V., Babai, M. Z., Barrow, D. K., Ben Taieb, S., Bergmeir, C., Bessa, R. J., Bijak, J., Boylan, J. E., et al. (2022) · International Journal of Forecasting · doi:10.1016/j.ijforecast.2021.11.001 · Cited by 921
Self-citationAccuracy measures: theoretical and practical concerns
Makridakis, S. (1993) · International Journal of Forecasting · doi:10.1016/0169-2070(93)90079-3 · Cited by 869
Learning in Nonstationary Environments: A Survey
Ditzler, G., Roveri, M., Alippi, C., & Polikar, R. (2015) · IEEE Computational Intelligence Magazine · doi:10.1109/mci.2015.2471196 · Cited by 793
Leakage in data mining: Formulation, detection, and avoidance
Kaufman, S., Rosset, S., Perlich, C., & Stitelman, O. (2012) · ACM Transactions on Knowledge Discovery from Data · doi:10.1145/2382577.2382579 · Cited by 791
A note on the validity of cross-validation for evaluating autoregressive time series prediction
Bergmeir, C., Hyndman, R. J., & Koo, B. (2018) · Computational Statistics & Data Analysis · doi:10.1016/j.csda.2017.11.003 · Cited by 743
Self-citationRossi, B. (2013) · Journal of Economic Literature · doi:10.1257/jel.51.4.1063 · Cited by 649
M5 accuracy competition: Results, findings, and conclusions
Makridakis, S., Spiliotis, E., & Assimakopoulos, V. (2022) · International Journal of Forecasting · doi:10.1016/j.ijforecast.2021.11.013 · Cited by 554
Webb, G. I., Hyde, R., Cao, H., Nguyen, H. L., & Petitjean, F. (2016) · Data Mining and Knowledge Discovery · doi:10.1007/s10618-015-0448-4 · Cited by 536
On evaluating stream learning algorithms
Gama, J., Sebastião, R., & Rodrigues, P. P. (2013) · Machine Learning · doi:10.1007/s10994-012-5320-9 · Cited by 532
The accuracy of intermittent demand estimates
Syntetos, A. A., & Boylan, J. E. (2005) · International Journal of Forecasting · doi:10.1016/j.ijforecast.2004.10.001 · Cited by 489
Evaluating time series forecasting models: an empirical study on performance estimation methods
Cerqueira, V., Torgo, L., & Mozetič, I. (2020) · Machine Learning · doi:10.1007/s10994-020-05910-7 · Cited by 485
Lubba, C. H., Sethi, S. S., Knaute, P., Schultz, S. R., Fulcher, B. D., & Jones, N. S. (2019) · Data Mining and Knowledge Discovery · doi:10.1007/s10618-019-00647-x · Cited by 431
fpp2: Data for "Forecasting: Principles and Practice" (2nd Edition)
Hyndman, R. (2017) · CRAN: Contributed Packages · doi:10.32614/cran.package.fpp2 · Cited by 370
Learning model trees from evolving data streams
Ikonomovska, E., Gama, J., & Džeroski, S. (2011) · Data Mining and Knowledge Discovery · doi:10.1007/s10618-010-0201-y · Cited by 304
A new accuracy measure based on bounded relative error for time series forecasting
Chen, C., Twycross, J., & Garibaldi, J. M. (2017) · PLOS ONE · doi:10.1371/journal.pone.0174202 · Cited by 264
Kaggle forecasting competitions: An overlooked learning opportunity
Bojer, C. S., & Meldgaard, J. P. (2021) · International Journal of Forecasting · doi:10.1016/j.ijforecast.2020.07.007 · Cited by 264
AdaRNN: Adaptive Learning and Forecasting of Time Series
Du, Y., Wang, J., Feng, W., Pan, S., Qin, T., Xu, R., & Wang, C. (2021) · Proceedings of the 30th ACM International Conference on Information & Knowledge Management · doi:10.1145/3459637.3482315 · Cited by 251
A novel time series forecasting model with deep learning
Shen, Z., Zhang, Y., Lu, J., Xu, J., & Xiao, G. (2020) · Neurocomputing · doi:10.1016/j.neucom.2018.12.084 · Cited by 228
Consistent cross-validatory model-selection for dependent data: hv-block cross-validation
Racine, J. (2000) · Journal of Econometrics · doi:10.1016/s0304-4076(00)00030-0 · Cited by 205
Measuring forecasting accuracy: The case of judgmental adjustments to SKU-level demand forecasts
Davydenko, A., & Fildes, R. (2013) · International Journal of Forecasting · doi:10.1016/j.ijforecast.2012.09.002 · Cited by 193
Learning the Evolutionary and Multi-scale Graph Structure for Multivariate Time Series Forecasting
Ye, J., Liu, Z., Du, B., Sun, L., Li, W., Fu, Y., & Xiong, H. (2022) · ACM SIGKDD Conference on Knowledge Discovery and Data Mining (KDD) · doi:10.1145/3534678.3539274 · Cited by 174
Forecast combinations for intermittent demand
Petropoulos, F., & Kourentzes, N. (2014) · Journal of the Operational Research Society · doi:10.1057/jors.2014.62 · Cited by 170
A Backtesting Protocol in the Era of Machine Learning
Arnott, R. D. M., Harvey, C. R., & Markowitz, H. M. (2019) · The Journal of Financial Data Science · doi:10.3905/jfds.2019.1.064 · Cited by 143
Historical Inertia: A Neglected but Powerful Baseline for Long Sequence Time-series Forecasting
Cui, Y., Xie, J., & Zheng, K. (2021) · ACM International Conference on Information and Knowledge Management (CIKM) · doi:10.1145/3459637.3482120 · Cited by 120
Nonpooling Convolutional Neural Network Forecasting for Seasonal Time Series With Trends
Liu, S., Hong, J., & Wang, M. C. (2019) · IEEE Transactions on Neural Networks and Learning Systems · doi:10.1109/tnnls.2019.2934110 · Cited by 118
Gated Spiking Neural P Systems for Time Series Forecasting
Liu, Q., Long, L., Peng, H., Wang, J., Yang, Q., Song, X., Riscos–Núñez, A., & Pérez-Jiménez, M. J. (2021) · IEEE Transactions on Neural Networks and Learning Systems · doi:10.1109/tnnls.2021.3134792 · Cited by 112
Why the “best” point forecast depends on the error or accuracy measure
Kolassa, S. (2019) · International Journal of Forecasting · doi:10.1016/j.ijforecast.2019.02.017 · Cited by 99
On intermittent demand model optimisation and selection
Kourentzes, N. (2014) · International Journal of Production Economics · doi:10.1016/j.ijpe.2014.06.007 · Cited by 88
tsfeatures: Time Series Feature Extraction
Hyndman, R. J., Kang, Y., Montero‐Manso, P., O’Hara-Wild, M., Talagala, T. S., Wang, E., & Yang, Y. F. (2019) · doi:10.32614/cran.package.tsfeatures · Cited by 85
Ensembles of localised models for time series forecasting
Godahewa, R., Bandara, K., Webb, G. I., Smyl, S., & Bergmeir, C. (2021) · Knowledge-Based Systems · doi:10.1016/j.knosys.2021.107518 · Cited by 77
Self-citationNeural Decomposition of Time-Series Data for Effective Generalization
Godfrey, L. B., & Gashler, M. S. (2017) · IEEE Transactions on Neural Networks and Learning Systems · doi:10.1109/tnnls.2017.2709324 · Cited by 72
A tutorial on statistically sound pattern discovery
Hämäläinen, W., & Webb, G. I. (2018) · Data Mining and Knowledge Discovery · doi:10.1007/s10618-018-0590-x · Cited by 71
A Comparative Study of Methods for Long-Range Market Forecasting
Armstrong, J. S., & Grohman, M. C. (1972) · Management Science · doi:10.1287/mnsc.19.2.211 · Cited by 69
Conditional Superior Predictive Ability
Li, J., Liao, Z., & Quaedvlieg, R. (2021) · The Review of Economic Studies · doi:10.1093/restud/rdab039 · Cited by 51
A tutorial on statistically sound pattern discovery
Hämäläinen, W., & Webb, G. I. (2018) · UEF eRepo (University of Eastern Finland) · Cited by 47
Yu, G., Zhang, S., Yang, J., Yu, G., & Wang, Y. (2022) · Expert Systems with Applications · doi:10.1016/j.eswa.2022.118218 · Cited by 47
EACD: evolutionary adaptation to concept drifts in data streams
Ghomeshi, H., Gaber, M. M., & Kovalchuk, Y. (2019) · Data Mining and Knowledge Discovery · doi:10.1007/s10618-019-00614-6 · Cited by 39
Kuranga, C., & Pillay, N. (2021) · Expert Systems with Applications · doi:10.1016/j.eswa.2021.116163 · Cited by 32
Measuring Data Leakage in Machine-Learning Models with Fisher Information (Extended Abstract)
Hannun, A., Guo, C., & van der Maaten, L. J. P. (2022) · International Joint Conference on Artificial Intelligence · doi:10.24963/ijcai.2022/736 · Cited by 23
Zhang, X., He, K., & Bao, Y. (2021) · Neurocomputing · doi:10.1016/j.neucom.2021.06.051 · Cited by 19
Cited by
Machine learning for numerical weather and climate modelling: a review
de Burgh-Day, C. O., & Leeuwenburg, T. (2023) · Geoscientific Model Development · doi:10.5194/gmd-16-6433-2023 · Cited by 176
“Hewamalage et al. (2022) have sought to 107 rectify this problem by providing a guide to forecast evaluation for data scientists.”
Background
Metadata
- Authors
- Hewamalage, H., Ackermann, K., & Bergmeir, C.
- Venue
- Data Mining and Knowledge Discovery
- Published
- 2022-12-02
- Volume
- 37
- Issue
- 2
- Pages
- 788-832
- ISSN
- 1384-5810 (ISSN-L)
- 1573-756X
- OpenAlex
- W4311129667
- Cited by
- 263
- References
- 70
- FWCI
- 21.70
- Type
- journal article
- Language
- en
- Open access
- hybrid
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.