Giter Site home page Giter Site logo

allergen_free_dataset's Introduction

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

allergen_free_dataset's People

Contributors

aj1479 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.