Complete MLOps pipeline from scratch — rock classification model training, experiment tracking, REST API, containerization, and production deployment with data drift monitoring.
mlops-pipeline/
├── data/
│ ├── raw/ # Raw data (versioned with DVC)
│ └── processed/ # Processed data
├── notebooks/ # Exploration and prototyping
├── src/
│ ├── train/ # Model training scripts
│ ├── api/ # FastAPI application
│ └── monitoring/ # Data drift monitoring
├── models/ # MLflow model artifacts
├── tests/ # Unit and integration tests
└── .github/workflows/ # CI/CD pipelines
- Python 3.11, scikit-learn, MLflow, FastAPI, Docker, GitHub Actions, Railway, Evidently
pip install -r requirements.txtcp .env.example .env
# Edit .env with your settings# TODOuvicorn src.api.main:app --reloadpytest tests/ -v# TODO