Commit Graph
5 Commits
Author SHA1 Message Date
Noel Sabia dc83825de0 fix: use exact 168-row lag for the seasonal-naive baseline
The baseline now reproduces mission/data.md exactly: MAE 5.40, WAPE 44.7%,
R2 0.462. The model's lag_week remains the previous observed same weekday/hour,
which handles sensor gaps and is documented in the model card.
2026-11-14 05:04:41 +01:00
Noel Sabia 939a8db482 feat: complete ML pipeline, FastAPI service, small model, tests, image
- finish the global HistGB bundle, scenario forecasts and 28-day ablation
- export sensors/series/forecasts/metrics/context plus baked weather frames
- add FastAPI health/meta/predict/simulate and background /train jobs
- add the p75 busy classifier, retraining from CSV, and hot-swap persistence
- add pytest coverage, multi-stage non-root Dockerfile, README and model card

Holdout: weather 7d MAE 3.32 / WAPE 27.5% / R2 0.777 vs seasonal naive
MAE 4.23 / WAPE 35.0% / R2 0.656 (5,350 eval rows).
2026-11-14 05:01:16 +01:00
Noel Sabia 68402803b2 feat: add pipeline and training entrypoints 2026-11-14 04:24:15 +01:00
Noel Sabia 8a81af771e chore: sync ML environment 2026-11-14 04:23:43 +01:00
Noel Sabia 2eeb1f937a chore: bootstrap ML-py scaffold 2026-11-14 04:16:22 +01:00