Skip to content

An AI-based inventory optimization system that leverages machine learning to predict demand, recommend menu items, and streamline stock management for restaurants and food service businesses.. — all deployed through a real-time Stream lit web app.

Notifications You must be signed in to change notification settings

hariharmayuresh/Restaurant-AI-Inventory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🍽️ AI-Based Inventory Optimization System for Restaurants

License Built With ML Models Status


📌 Project Summary

An AI-powered web application designed to reduce food waste and optimize inventory management for restaurants. This system intelligently forecasts demand, recommends menu items based on stock, alert mechanism, and performs real-time feedback analysis. It brings together machine learning, natural language processing, and an interactive web interface to drive efficient, sustainable operations in the food service industry.


💡 Motivation

The rising levels of food waste and inefficiencies in restaurant supply chains called for a smarter solution. This project was born out of the need to:

  • Combat food spoilage and inventory overstocking
  • Improve sustainability in the hospitality industry
  • Empower restaurants to make data-driven decisions
  • Forecast demand with high accuracy based on external factors like weather and holidays
  • Minimize environmental impact and operational costs

👨‍💻 What I Did

  • 📊 Collected and cleaned 5,000+ rows of restaurant sales data, including weather and holiday features
  • 🧠 Built & trained ML models: Random Forest with 85%+ accuracy in menu demand prediction and < 5.5 MAE on unseen data
  • 🗂️ Designed a 4-module system: Demand Prediction, Menu Recommendation, Alerts, and Feedback Analysis
  • 🔍 Developed demand prediction engine factoring in holidays, weekdays & weather
  • 🤖 Designed a recommendation engine using 95+ real-world-inspired menu items based on predicted demand + inventory
  • 💬 Built a feedback analyzer using NLP (TF-IDF) for improving future recommendations
  • 🌐 Created a Streamlit web app for real-time access and use
  • 📦 Used GitHub for version control and collaboration

✅ Key Features

  • 📅 Demand Prediction – ML-powered forecasts based on historical sales data
  • 📋 Menu Recommendations – Suggest dishes based on available inventory stock
  • 📉 Alert Mechanism – notifies when inventory is low or items are near expiry
  • 💬 Feedback Analyzer – Understand customer sentiment via NLP
  • 🧠 ML Integration – Modular models: Random Forest and TF-IDF
  • 🔗 Scalable & Real-time – Works with live inventory data and user inputs

🛠️ Tools & Tech Used

  • Python
  • Jupyter Notebook – for data exploration and model development
  • Streamlit – Web app framework
  • Scikit-learn – ML model training
  • Pandas and NumPy – Data processing
  • NLP – TF-IDF, Bag-of-Words
  • Matplotlib and Seaborn – Visualizations
  • Git & GitHub – Version control
  • VS Code – Development environment

🧠 Use Cases

  • 🍴 Restaurants planning menus based on daily/seasonal demand
  • 📉 Prevent overproduction by aligning inventory with predictions
  • 🔔 Inventory teams alerted in real-time about low stock or expiry
  • 📬 Feedback analysis helps management understand operational gaps

🙌 Acknowledgments

  • 🌱 Inspired by real-world challenges in restaurant operations and food waste management
  • Special thanks to the open-source community, and Streamlit documentation for their invaluable support and inspiration throughout the development process.

About

An AI-based inventory optimization system that leverages machine learning to predict demand, recommend menu items, and streamline stock management for restaurants and food service businesses.. — all deployed through a real-time Stream lit web app.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published