How erandawi/hotel_reservation_prediction works
Project type and purpose
• From the file tree and minimal README (“hotel_reservation_prediction”), this is a Python-based full-stack ML application.
• It provides both:
• A model training pipeline (data ingestion → preprocessing → model training → artifact storage)
• A web front-end (Flask app) that serves a UI and uses the trained model to make predictions
File structure
• Top-level ML pipeline directories:
• /artifacts — holds raw and processed data plus trained model
• /pipeline — orchestrates the training pipeline (training_pipeline.py)
• /src — core modules (data_ingestion, data_preprocessing, model_training, logger, custom exceptions)
• /config — YAML + Python files with parameters and paths
• Web-app components:
• application.py — Flask app entry point
• /templates + /static — UI (HTML/CSS)
• Supporting files:
• Dockerfile + custom_jenkins/Dockerfile + Jenkinsfile — containerization and CI/CD
• notebook/ — exploratory Jupyter notebook
README
• No extra details beyond the project title. We infer architecture from code layout and common ML patterns.
Elements
• Clear labels: “Data Ingestion”, “Data Preprocessing”, “Model Training”, “Flask API”, “UI”