How shaikanees7/hotel_booking_mlop works
This is a hotel-booking cancellation prediction MLOps project. Its user-facing workflow runs reproducible lab pipelines: load and validate booking data, prepare features, train and evaluate cancellation models, track experiments, then register and promote models using recall. The graph also preserves the documented baseline, reproducibility, production preprocessing, and deployment-report branches. Edges follow excerpts or README statements; unsampled implementation details are represented only at their supported paths.
Main entry points: config.py Shared config · run_all.py Full workflow · run_lab3_baseline.py Baseline workflow · run_lab4_tracking.py Tracking workflow
Components 21
Data preparation
- Booking CSV
data/raw/hotel_bookings.csv - Shared config
src/config.py - Schema validation
src/validate_data.py - Baseline preprocessing
src/preprocess.py - Pipeline preprocessing
src/preprocess_pipeline.py - Output validation
src/validate_outputs.py
Modeling and tracking
- Baseline training
src/train.py - Model evaluation
src/evaluate.py - MLflow training
src/train_mlflow.py - Reproducibility check
src/validate_reproducibility.py
Registry lifecycle
- Registry training
src/train_registry.py - Champion promotion
src/automate_lifecycle.py - Deployment report
src/generate_registry_report.py - MLflow tracking and registry
Pipeline orchestration
- Pipeline runner
src/pipeline_utils.py - Baseline workflow
pipelines/run_lab3_baseline.py - Tracking workflow
pipelines/run_lab4_tracking.py - Production workflow
pipelines/run_lab5_pipeline.py - Registry workflow
pipelines/run_lab6_registry.py - Full workflow
pipelines/run_all.py
Other components
- Project user
Connections 42
- Project user → Baseline workflow: starts
README.md - Project user → Tracking workflow: starts
README.md - Project user → Production workflow: starts
README.md - Project user → Registry workflow: starts
README.md - Project user → Full workflow: starts
README.md - Baseline workflow → Pipeline runner: invokes
pipelines/run_lab3_baseline.py - Tracking workflow → Pipeline runner: invokes
pipelines/run_lab4_tracking.py - Production workflow → Pipeline runner: invokes
pipelines/run_lab5_pipeline.py - Registry workflow → Pipeline runner: invokes
pipelines/run_lab6_registry.py - Full workflow → Pipeline runner: invokes
pipelines/run_all.py - Booking CSV → Schema validation: supplies
src/validate_data.py - Booking CSV → Shared config: loads
src/config.py - Shared config → Baseline preprocessing: configures
src/preprocess.py - Shared config → Pipeline preprocessing: configures
src/preprocess_pipeline.py - Shared config → Baseline training: configures
src/train.py - Shared config → Model evaluation: configures
src/evaluate.py - Shared config → MLflow training: configures
src/train_mlflow.py - Shared config → Reproducibility check: configures
src/validate_reproducibility.py - Shared config → Registry training: configures
src/train_registry.py - Shared config → Champion promotion: configures
src/automate_lifecycle.py - Shared config → Deployment report: configures
src/generate_registry_report.py - Baseline workflow → Baseline preprocessing: runs
pipelines/run_lab3_baseline.py - Baseline workflow → Baseline training: runs
pipelines/run_lab3_baseline.py - Baseline workflow → Model evaluation: runs
pipelines/run_lab3_baseline.py - Tracking workflow → Baseline preprocessing: runs
pipelines/run_lab4_tracking.py - Tracking workflow → MLflow training: runs
pipelines/run_lab4_tracking.py - Tracking workflow → Reproducibility check: runs
pipelines/run_lab4_tracking.py - Production workflow → Schema validation: runs
pipelines/run_lab5_pipeline.py - Production workflow → Pipeline preprocessing: runs
pipelines/run_lab5_pipeline.py - Production workflow → Output validation: runs
pipelines/run_lab5_pipeline.py - Registry workflow → Registry training: runs
pipelines/run_lab6_registry.py - Registry workflow → Champion promotion: runs
pipelines/run_lab6_registry.py - Registry workflow → Deployment report: runs
pipelines/run_lab6_registry.py - Full workflow → Baseline workflow: runs
pipelines/run_all.py - Full workflow → Tracking workflow: runs
pipelines/run_all.py - Full workflow → Production workflow: runs
pipelines/run_all.py - Full workflow → Registry workflow: runs
pipelines/run_all.py - Registry training → MLflow tracking and registry: logs and registers
src/train_registry.py - MLflow training → MLflow tracking and registry: tracks runs
README.md - Champion promotion → MLflow tracking and registry: promotes versions
src/automate_lifecycle.py - Deployment report → MLflow tracking and registry: reports registry
README.md - Pipeline preprocessing → Output validation: prepares outputs
README.md