How sameulah/mlops works
Project type and purpose
• This is an MLOps pipeline project (“MLOps Zoomcamp Certificate”) split into two main parts:
a. experiment-tracking: holds data, preprocessing, training code, MLflow setup, notebooks
b. orchestration: holds Airflow DAGs, Docker setup, MinIO/MLflow backend, scripts to wire up the pipeline
• Its goal is to demonstrate end-to-end machine-learning workflow: ingest raw data, preprocess, train, track experiments, register models, orchestrate with Airflow.
File structure
• Top-level directories:
• experiment-tracking/
– data/raw & data/processed (green_tripdata parquet → dv.pkl, train/test/val splits)
– utils/: Python modules (preprocess_data.py, train.py, hpo.py, register_model.py)
– mlflow artifacts & mlruns directory (model.pkl, MLmodel, conda/env yml, HTML reports)
– notebooks (.ipynb) showing interactive workflow
• orchestration/
– dags/: Airflow DAG definitions (ingest, preprocessing, training, full_pipeline)
– include/: shared Python code for DAG tasks (ingest.py, preprocessing.py, training.py, utils.py)
– Dockerfile, docker-compose.override.yml, packages.txt, install scripts
– mlflow backend DB and MinIO logs to emulate remote artifact storage
– slpr/: a Python virtual environment used in containers
• Patterns:
• Modular ETL/ML pipeline: ingest→preprocess→train→register
• Experiment tracking via MLflow (file store + sqlite backend)
• Orchestration via Apache Airflow running tasks in containers
README for additional insights
• Confirms three modules: Intro, experiment tracking & model management, orchestration & pipelines