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.
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.
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.
π Deployment in progress.
The application will be hosted on Render.
- Secure User Registration & Login
- Budget-Based Meal Recommendation
- Veg / Non-Veg Filtering
- Meal Type Selection
- AI-Generated Meal Combos
- Order Placement
- Dynamic Preference Updates
- Manage Menu Items
- Monitor Student Preferences
- Analyze Food Demand
- Track Ordering Trends
- Update Meal Data
- Random Forest-based Recommendation Engine
- Preference Score Prediction
- Budget Optimization
- Personalized Meal Recommendations
- Dynamic Recommendation Generation
- Continuous Learning through User Orders
Excel Dataset
β
βΌ
Data Cleaning & Preprocessing
β
βΌ
Feature Engineering
β
βΌ
Random Forest Model
β
βΌ
Preference Score Prediction
β
βΌ
Budget-Aware Recommendation Engine
β
βΌ
Smart Meal Combination Generation
Student
β
βΌ
Django Web Application
β
βΌ
Recommendation Engine
β
βΌ
Random Forest ML Model
β
βΌ
SQLite Database
β
βΌ
Personalized Meal Recommendations
| 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) |
cafelytics/
β
βββ cafelytics_proj/
βββ canteen_app/
βββ data/
βββ Screenshots/
βββ staticfiles/
βββ build.sh
βββ db.sqlite3
βββ manage.py
βββ requirements.txt
βββ runtime.txt
βββ render.yaml
βββ README.md
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
- 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.
Clone the repository
git clone https://github.com/Arpithasingh10/Cafelytics.gitMove into the project directory
cd CafelyticsInstall dependencies
pip install -r requirements.txtRun database migrations
python manage.py migrateStart the development server
python manage.py runserverVisit
http://127.0.0.1:8000/
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
- π€ 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
β 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.
Arpitha Singh
B.Tech β Artificial Intelligence & Machine Learning
GitHub: https://github.com/Arpithasingh10
If you found this project interesting, consider giving it a β on GitHub.
It helps others discover the project and motivates future improvements.



