- Recommends Top 10 Indian Dishes based on the input of the user using Cosine similarity algorithm
- User can filter the dishes based on the diet type (veg/ non-veg), state and region
- Displays a brief summary of the dish along with the recipe link
Project is created with:
- Python
- Numpy
- Pandas
- Seaborn
- Flask
- HTML,CSS
- Bootstrap
This project has four major parts :
- model.ipynb - This contains code fot our Machine Learning model to recommend the dishes using tha data in 'cleaned_data.csv' file.
- application.py - This contains Flask APIs that receives employee details through GUI or API calls, computes the recommended dish based on our model and returns it.
- utils.py - This contains the all the functions used in application.py to handle the requests that are made.
- templates - This folder contains the HTML template to allow user to select the dishes and filters and displays the recommended dishes.
I assume that you have git
and virtualenv
installed.
#Clone the code repository into ~/dev/my_app
mkdir -p ~/dev
cd ~/dev
git clone https://github.com/therajtiwari/Indian_food_recommendation_system.git my_app
#Create the 'my_app' virtual environment
mkvirtualenv -p PATH/TO/PYTHON my_app
#Install required Python packages
cd ~/dev/my_app
workon my_app
pip install -r requirements.txt
#Run the app
PATH/TO/PYTHON application.py