Python Flask ML Demo Project with CI/CD
Link to GitHub Repo: matiaspakua/ml-demo-project — Demonstration project for the Specialization Building Cloud Computing Solutions at Scale
)
Stack
- Python / Flask — API REST que expone el modelo como endpoint
- scikit-learn — entrenamiento y serialización del modelo ML
- Docker — contenerización del servicio
- CI/CD — pipeline de integración continua (GitHub Actions)
Flujo del sistema
flowchart LR
D["Dataset\n(CSV / raw data)"]
T["Training\n(scikit-learn)"]
M["Modelo\n(serializado .pkl)"]
A["Flask API\n(/predict endpoint)"]
C["Cliente\n(HTTP POST)"]
D --> T --> M --> A
C -- JSON payload --> A
A -- predicción --> C
Referencias
- Flask — Official Documentation
- scikit-learn User Guide
- Building Machine Learning Powered Applications — Emmanuel Ameisen, O’Reilly, 2020