Forecasting

4Cast Lab: Open-Source App for Machine Learning and Statistical Analysis

Periklis Gogas

Computational

Key points

From the paper's conclusion
  • We document the protocol, the leakage controls and the fixed rules of the AutoML verdict, and report three kinds of evidence.

Abstract

Forecasting with machine learning often goes wrong due to the protocol and not the algorithms for reasons including leakage, model selection on the test sample, no naive benchmark, and no allowance for the number of models tried. 4Cast Lab is a free, open-source, single-file application that makes a benchmark-first protocol the default: time-ordered splits; selection by cross-validation inside the training period; one use of the Test Set; a naive benchmark with Diebold–Mariano and Clark–West tests; and the Holm, Reality Check, SPA and Model Confidence Set procedures. We document the protocol, the leakage controls and the fixed rules of the AutoML verdict, and report three kinds of evidence. A four-stage benchmark against certified values and reference software shows agreement to at least six significant digits and pre-specified equivalence tests for the random learners. A simulation run through the application shows that, for random-walk targets, common reporting rules declare a false success in 21 to 95% of cases and the benchmark-first verdict in 0 to 1%, at a measured cost in power. On 59 M4 monthly series and the US unemployment rate, the application matches MLForecast for like learners and approaches StatsForecast once the target is differenced.

Read the paper

Discussion

Science Skim's AI key points, plus readers' public thoughts

Readers' thoughts

No reader thoughts yet.

Related papers