Files
ML-py/pyproject.toml
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

34 lines
699 B
TOML

[project]
name = "pulsecast-ml"
version = "0.1.0"
description = "PulseCast ML: footfall pipeline, weather-aware forecast, scenario engine, FastAPI service"
readme = "README.md"
requires-python = ">=3.12"
dependencies = [
"fastapi>=0.162.7",
"httpx>=0.28.1",
"joblib>=1.6.0",
"numpy>=2.5.4",
"pandas>=3.1.1",
"pyarrow>=26.0.1",
"python-multipart>=0.0.20",
"scikit-learn>=1.9.1",
"uvicorn[standard]>=0.54.0",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["src/pulsecast"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-q"
[dependency-groups]
dev = [
"pytest>=9.2.0",
]