Skip to content

Latest commit

Β 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🍽️ Cafelytics – AI-Powered Smart Meal Recommendation & Canteen Analytics

An intelligent canteen management platform that leverages Machine Learning to generate personalized, budget-friendly meal recommendations while providing data-driven analytics for smarter food planning and inventory management.

Python Django Scikit-Learn SQLite Status


πŸ“Έ Project Preview

Home


πŸ“– Overview

Cafelytics is an AI-powered smart canteen management platform developed using Django, Machine Learning, and Data Analytics. The system recommends affordable meal combinations based on a user's budget, dietary preference (Veg/Non-Veg), and meal type, while helping administrators analyze food demand and customer preferences.

Unlike traditional canteen systems that only handle ordering, Cafelytics integrates a Random Forest-based recommendation engine to generate intelligent meal combinations and improve decision-making using real-world data.


🎯 Problem Statement

Traditional canteen management systems primarily focus on billing and order management. They lack:

  • Personalized meal recommendations
  • Budget-aware suggestions
  • Demand analytics
  • Customer preference tracking
  • Data-driven decision making

Cafelytics addresses these challenges by combining Machine Learning with a modern web application to improve both the student experience and canteen operations.


🌐 Live Demo

πŸš€ Deployment in progress.

The application will be hosted on Render.


✨ Features

πŸ‘¨β€πŸŽ“ Student Module

  • Secure User Registration & Login
  • Budget-Based Meal Recommendation
  • Veg / Non-Veg Filtering
  • Meal Type Selection
  • AI-Generated Meal Combos
  • Order Placement
  • Dynamic Preference Updates

πŸ‘¨β€πŸ’Ό Admin Module

  • Manage Menu Items
  • Monitor Student Preferences
  • Analyze Food Demand
  • Track Ordering Trends
  • Update Meal Data

πŸ€– AI Features

  • Random Forest-based Recommendation Engine
  • Preference Score Prediction
  • Budget Optimization
  • Personalized Meal Recommendations
  • Dynamic Recommendation Generation
  • Continuous Learning through User Orders

🧠 Machine Learning Workflow

Excel Dataset
        β”‚
        β–Ό
Data Cleaning & Preprocessing
        β”‚
        β–Ό
Feature Engineering
        β”‚
        β–Ό
Random Forest Model
        β”‚
        β–Ό
Preference Score Prediction
        β”‚
        β–Ό
Budget-Aware Recommendation Engine
        β”‚
        β–Ό
Smart Meal Combination Generation

πŸ—οΈ System Architecture

                 Student
                    β”‚
                    β–Ό
         Django Web Application
                    β”‚
                    β–Ό
        Recommendation Engine
                    β”‚
                    β–Ό
      Random Forest ML Model
                    β”‚
                    β–Ό
            SQLite Database
                    β”‚
                    β–Ό
 Personalized Meal Recommendations

πŸ› οΈ Tech Stack

Category Technologies
Backend Django 5
Programming Language Python 3.10
Machine Learning Scikit-Learn (Random Forest)
Data Processing Pandas, NumPy
Database SQLite
Frontend HTML5, CSS3, Bootstrap, JavaScript
Data Source Excel (.xlsx)
Deployment Render (Planned)

πŸ“‚ Project Structure

cafelytics/
β”‚
β”œβ”€β”€ cafelytics_proj/
β”œβ”€β”€ canteen_app/
β”œβ”€β”€ data/
β”œβ”€β”€ Screenshots/
β”œβ”€β”€ staticfiles/
β”œβ”€β”€ build.sh
β”œβ”€β”€ db.sqlite3
β”œβ”€β”€ manage.py
β”œβ”€β”€ requirements.txt
β”œβ”€β”€ runtime.txt
β”œβ”€β”€ render.yaml
└── README.md

πŸ“Š Dataset

The recommendation engine is trained using a structured dataset containing:

  • Food Item
  • Category
  • Price
  • Meal Type
  • Availability
  • Preference Score

The dataset is utilized for:

  • Meal Recommendation
  • Preference Score Prediction
  • Demand Analytics
  • Budget Optimization
  • Combo Generation

πŸ“ˆ Results

  • Successfully integrated Machine Learning into a Django web application.
  • Generates personalized meal combinations based on user preferences.
  • Supports budget-aware recommendations.
  • Dynamically updates preference scores after each order.
  • Provides meaningful analytics for canteen management.

πŸ“Έ Application Screenshots

🏠 Home Page

Home


πŸ” Login Page

Login


🍽️ AI Meal Recommendation

Recommendation


βœ… Input Validation

Validation


πŸš€ Installation

Clone the repository

git clone https://github.com/Arpithasingh10/Cafelytics.git

Move into the project directory

cd Cafelytics

Install dependencies

pip install -r requirements.txt

Run database migrations

python manage.py migrate

Start the development server

python manage.py runserver

Visit

http://127.0.0.1:8000/

πŸš€ Roadmap

Future improvements include:

  • AI Chatbot for Food Suggestions
  • QR Code Ordering
  • Online Payment Gateway
  • Cloud Database Integration
  • Inventory Prediction
  • Sales Forecasting
  • Personalized User Profiles
  • Admin Analytics Dashboard
  • Real-Time Recommendation Updates

⭐ Project Highlights

  • πŸ€– AI-Powered Recommendation Engine
  • 🍽️ Smart Meal Combination Generator
  • πŸ’° Budget-Aware Meal Optimization
  • πŸ“Š Data-Driven Canteen Analytics
  • πŸ“ˆ Preference Score Prediction
  • 🧠 Machine Learning Integration
  • 🌐 Full-Stack Django Web Application
  • πŸ—„οΈ SQLite Database Integration

πŸ“Œ Project Status

βœ… Completed

This project was developed as part of an Artificial Intelligence & Machine Learning academic initiative to demonstrate the practical application of Machine Learning in smart canteen management.

Deployment and future enhancements are planned.


πŸ‘©β€πŸ’» Developer

Arpitha Singh

B.Tech – Artificial Intelligence & Machine Learning

GitHub: https://github.com/Arpithasingh10


⭐ Support

If you found this project interesting, consider giving it a ⭐ on GitHub.

It helps others discover the project and motivates future improvements.

About

AI-powered smart canteen management platform built with Django and Machine Learning for budget-based meal recommendations and canteen analytics.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages