SlayAllergens is python tool which works on cosine similarity and correlation algorithms to provide content based and collaberative recommendations related to food items.
Pandas
Pymongo
Scikit-Learn
- To download the project, open shell
terminal
orgit-bash
and clone it to your local directory (or download the project as zip).
- Download
MonogoDB-community-server
from here andinstall
it. - Download
MongoDB-Compass
from here andinstall
it (If not already installed while installingMonogoDB-community-server
). - Open the
terminal
and install the required libraires. - Open MongoDB compass and connect by clicking on
Fill in connection fields individually
and then onconnect
. - Now create a new database, with database name as
project
and collection name asaccounts
. - Open the database and you'll see a collection named
accounts
. Now click onCreate Collection
to create 2 more collections in the project database. Name themfilefood
andnewingredient
. - Goto the newly created collections and import
filefood.csv
tofilefood
collection andeditedingredients.csv
tonewingredient
collection. - Your database is ready now.
- Open
terminal
orCommand Prompt
and change directory into thegit-clone
or download location as:
$ cd PATH_TO_DIRECTORY
- Input the following command to run the project:
$ python3 main.py