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

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.

Authors

Publication Details

Journal
Forecasting
Published
2026-11-25
DOI
https://doi.org/10.3390/forecast8060115
Primary Topic
Data Analysis with R
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

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

Periklis Gogas
Forecasting
Data Analysis with R
article

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

Periklis Gogas
article en

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.

ForecastingVol. 8(6)
Data Analysis with R
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon