Do prospective learners beat time-series forecasting baselines on real tasks with covariates, starting with M5?

Abierto
#164 7 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
25/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
python

Línea de trabajo

Start by reading the fev-bench-mini task definition in fev's tasks_mini.yaml and the results format in docs/experiments/results/fev-bench-mini.json. The issue calls for learner pseudocode to be confirmed before implementation, then task loading, model runs, review, and a figure plus Experiments page; no project source files or tests are named. Done means producing the specified skill score and win-rate figure with task-level error ratios and an Experiments page.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

experiment

Question

On real forecasting tasks with covariates, do prospective learners beat time-series forecasting baselines?

The simulated settings answer this where the Bayes risk is known. On periodic-single, the prospective arms beat every time-series baseline run so far (#115). This question moves to published benchmark tasks from fev-bench (Shchur et al., arXiv 2509.26468), loaded through the fev library, which is Apache-2.0.

Only tasks with dynamic covariates are in scope. In the prospective setting, a target $y_t$ is predicted from covariates $x_t$ whose relation to it shifts over time. A task without covariates is autoregression on the target's own past, which does not test that.

Tasks in scope

  1. M5 first: m5_1D from full fev-bench (tasks.yaml). 30,490 daily unit-sales series, one per item and store, with a 28-day horizon. Its known covariates are sell price, event flags (national, religious, cultural, sporting) and each state's SNAP days. Its static columns are item, department, category, store and state. M5's competition terms are read before use (decision 161).
  2. Then the fev-bench-mini tasks with dynamic covariates (tasks_mini.yaml), 8 of its 20:
    • one target: epf_np, proenfo_gfc14, rohlik_orders_1D, rossmann_1D, rossmann_1W, solar_with_weather_1H
    • several targets: uci_air_quality_1H (known covariates), uk_covid_nation_1D (past covariates only)

The other 12 fev-bench-mini tasks have no dynamic covariates and are out of scope.

Figure that answers it

Per task, each learner's and baseline's MASE (point forecasts) and scaled quantile loss (probabilistic forecasts), as error ratios to fev-bench's reference forecaster, so that forecaster is the figure's baseline level. Across the tasks in scope, the skill score and average win rate as fev-bench aggregates them, with 95% bootstrap intervals over tasks once there are enough tasks to bootstrap. Drawn from the result files in docs/experiments/results/. There is no Bayes level on real data.

Tasks

Each task with design questions of its own gets a sub-issue.

  • No new algorithm: the batch and online learners on the learner page apply as written, with $x_{s}$ the known covariates and $y_{s}$ real-valued. The page's predict step, an argmax over $y$, generalizes to the head's point and quantile forecasts. Choose that head and its loss $\ell$ (decision 158), one target first. Many M5 series are mostly zeros.
  • Load m5_1D through fev, and run a learner on a series' history with its covariates.
  • The learners, then the baselines, on m5_1D. A model from another lab reviews the code before the runs. Scored two ways: fev's one window, for comparison with published fev-bench numbers, and rolling windows across the history, as the settings score at each checkpoint.
  • The same on the 6 single-target fev-bench-mini tasks.
  • Extend the learners to several targets, then run them on uci_air_quality_1H and uk_covid_nation_1D.
  • The figure and an Experiments page.

Result

Pending.

🤖 Generated with Claude Code

Lenguaje dominante
Python
Estrellas
0
Forks
0
Merge medio
2 h 9 min
PR fusionados (30 d)
164

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de neurodata/prolearn

Todos los issues de neurodata/prolearn

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.