Skip to content

preste-ai/Food-Pairing-Rec.-Sys.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

For Linux Ubuntu 20.04:

Requirements:

1) Install Anaconda   

2) Open a terminal

3) Clone repository

	git clone https://github.com/preste-annav/RECS.git

4) In the terminal navigate to the project root folder 

   cd path/RECS

5) Create environment using Anaconda and activate it

	conda create --name yummy --file spec-file.txt
	conda activate yummy

Usage:

1) Insert the desired parameters in the parameters.json

  "ingredient": name of ingredient for which recommendation will be given (str),
  "top": number of reccomendations to give (int),
  "plot": whether to plot the recommendations (boolean),
  "save": whether to save the plot as file (boolean)

2) Run the recommend_pairs.py using following syntax:

	python3 recommend_pairs.py