MLOps with MLflow
A comprehensive MLOps platform for training, deploying, and monitoring machine learning models using MLflow.
Overview
This project provides production-ready ML pipelines for:
- mlflow-sklearn: Scikit-learn based fraud detection pipeline
- mlflow-tf: TensorFlow based image classification pipeline
Quick Links
User Guide
Learn how to run ML pipelines and use trained models
Developer Guide
Contribute to the project and extend pipelines
Admin Guide
Deploy and manage infrastructure
Features
- π Multiple ML Frameworks: Support for TensorFlow and Scikit-learn
- π Experiment Tracking: MLflow tracking for all experiments
- π Reproducible Pipelines: DVC and Prefect orchestration
- βοΈ Multi-Cloud Deployment: AWS, Azure, GCP, and local deployments
- π³ Containerized: Docker support for all components
Architecture
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β MLOps Platform β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β ββββββββββββββββ ββββββββββββββββ ββββββββββββββββ β
β β mlflow-tf β βmlflow-sklearnβ β mlflow-spark β β
β β (TensorFlow)β β(Scikit-learn)β β (PySpark) β β
β ββββββββ¬ββββββββ ββββββββ¬ββββββββ ββββββββ¬ββββββββ β
β β β β β
β βββββββββββββββββββΌββββββββββββββββββ β
β β β
β ββββββββΌββββββββ β
β β MLflow Serverβ β
β ββββββββ¬ββββββββ β
β β β
β βββββββββββββββββββΌββββββββββββββββββ β
β β β β β
β ββββββββΌβββββββ βββββββββΌβββββββ ββββββββΌβββββββ β
β β Local β β AWS β β Azure β β
β β (asus/tp) β β (us-east-1) β β (cloud) β β
β βββββββββββββββ ββββββββββββββββ βββββββββββββββ β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
Getting Started
Prerequisites
- Python 3.8+
- Docker (optional)
- AWS CLI (for cloud deployments)
Quick Start
# Clone the repository
git clone https://bitbucket.org/wilsonify/mlops-with-mlflow.git
cd mlops-with-mlflow
# Install dependencies
pip install -r requirements.txt
# Run sklearn pipeline locally
cd src/mlflow-sklearn
make all
# Or run TensorFlow pipeline
cd src/mlflow-tf
python run_pipeline.py all
Project Structure
mlops-with-mlflow/
βββ src/ # Source code
β βββ mlflow-sklearn/ # Scikit-learn pipeline
β βββ mlflow-tf/ # TensorFlow pipeline
β βββ mlflow-spark/ # Spark pipeline
β βββ *-library/ # Shared libraries
βββ deploy/ # Deployment configurations
β βββ local/ # Local deployments
β βββ aws/ # AWS deployments
βββ docs/ # Documentation (this site)
Support
- Issues: Bitbucket Issues
- Wiki: Project Wiki