Skip to content

Source code for my research publication titled "Allergen-Free Food Dataset and Comparative Analysis of Recommendation Algorithms".

Notifications You must be signed in to change notification settings

AJ1479/allergen_free_dataset

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

allergen-free-dataset

A project demonstrating the creation of an allergen-free dataset and recommendation engine.

Features

  • Creation of a dataset of allergen-free food items
  • Corpus statistics of the created dataset
  • Allergen-free product recommendations
  • Performance comparison of popular algorithms

We aim to generate a dataset of food items and their corresponding ingredients that are free from allergens. To achieve this, we have a base dataset obtained from Kaggle of popular food items from which we filter away the main allergen causing ingredients.

To generate the performance comparison, we include perf_comparison.py which contains the benchmark for popular algorithms such as

  • Normalized Levenshtein
  • Cosine Similarity
  • Jaro Winkler
  • Damerau Levenshtein
  • Metric LCS

We record and compare their runtimes and recommendations for the following search strings

Corn Nuts Ranch Bag
Jolly Time Popcorn
Roasted Turkey Gravy
Simply Organic Seasoning
M & b Curry
Potato French Fries with Sauce
Biscuits and Tea
Kidney Beans with Mango Juice and Water
Chocolate Ice Cream
Choco Chip Cookies with Nuts
Cheese Popcorn with Sprinkles
Cheese Sandwich
Gelatin Free Cookies
Jam and Butter
Organic Olive Oil for cooking

Installation

The following python packages must be installed on your system

  • pandas
  • numpy
  • strsimpy
    pip3 install pandas numpy strsimpy

About

Source code for my research publication titled "Allergen-Free Food Dataset and Comparative Analysis of Recommendation Algorithms".

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages