Files
ML-py/artifacts/small_metrics.json
T
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

38 lines
834 B
JSON

{
"model_version": "logit-20261114-040010",
"trained_at": "2026-11-14T04:00:10Z",
"features": [
"hour",
"weekday",
"is_weekend",
"temp_c",
"precip_mm",
"is_holiday"
],
"train_from": "2026-06-12T00:00:00Z",
"train_to": "2026-10-09T01:00:00Z",
"test_from": "2026-10-09T02:00:00Z",
"test_to": "2026-11-07T23:00:00Z",
"thresholds": {
"density-01": 15.23,
"hn-goetzentuem-01": 15.4,
"hn-hagenbuchersee-01": 18.2,
"hn-hagenbuchersee-02": 29.17,
"hn-marahaus-01": 22.23,
"hn-neckarufer-01": 28.35,
"hn-soleo-01": 11.38,
"hn-stadtgalerie-01": 38.41
},
"metrics": {
"accuracy": 0.708,
"precision": 0.36,
"recall": 0.574,
"f1": 0.443,
"roc_auc": 0.726,
"n_train": 18242,
"n_test": 5710,
"positive_rate": 0.202,
"sensors": 8
}
}