End-to-end template for tabular classification with Hydra + DVC + MLflow + FastAPI.
make setup
make data
make train
make eval
make servecurl -X POST http://localhost:8000/predict -H "Content-Type: application/json" \
-d '{"records":[{"age":30,"job":"admin.","marital":"single","education":"university.degree",
"default":"no","housing":"yes","loan":"no","contact":"cellular","month":"may","day_of_week":"mon",
"duration":100,"campaign":1,"pdays":999,"previous":0,"poutcome":"nonexistent",
"emp.var.rate":1.1,"cons.price.idx":93.2,"cons.conf.idx":-34.6,"euribor3m":4.9,"nr.employed":5200.0}]}'- Data & pipeline: DVC (
dvc repro) - Experiments: MLflow (
mlruns/) - Configs: Hydra (
configs/) - CI: GitHub Actions (
.github/workflows/ci.yml) - API: FastAPI at
/predictand/health
See configs/, src/, dvc.yaml, and Makefile for details.
MIT