Giter Club home page Giter Club logo

luisdrita / hyperfoods Goto Github PK

View Code? Open in Web Editor NEW
63.0 3.0 42.0 100.79 MB

It was built a web application as a step forward in building a 3D recommendation system.

Home Page: https://warcraft12321.github.io/HyperFoods

License: MIT License

Jupyter Notebook 37.45% Python 3.92% JavaScript 0.01% HTML 53.72% C 0.42% C++ 4.43% Cuda 0.07% Objective-C 0.01%
hyperfoods anti-cancer-molecules recipe-retrieval facebook-algorithm ingredients foods imperial recommendation-system deep-learning machine-learning

hyperfoods's Introduction

Machine Learning for Building a Food Recommendation System

Jupyter Notebook | Report | Poster

Introduction

Many factors influence individual’s health, such as physical exercise, sleep, nutrition, heredity and pollution. Being nutrition one of the biggest modifiable factors in our lives, small changes can have a big impact. With the exponential increase in the number of available food options, it is not possible to take them all into account anymore. The only way to consider user taste preferences, maximize the number of healthy compounds and minimize the unhealthy ones in food, is using (3D) recommendation systems.

Objectives

The goal of this project was to use the largest publicly available collection of recipe data (Recipe1M+) to build a recommendation system for ingredients and recipes. Train, evaluate and test a model able to predict cuisines from sets of ingredients. Estimate the probability of negative recipe-drug interactions based on the predicted cuisine. Finally, to build a web application as a step forward in building a 3D recommendation system.

Results

A vectorial representation for every ingredient and recipe was generated using Word2Vec. An SVC model was trained to return recipes’ cuisines from their set of ingredients. South Asian, East Asian and North American cuisines were predicted with more than 73% accuracy. African, Southern European and Middle East cuisines contain the highest number of cancer-beating molecules. Finally, it was developed a web application able to predict the ingredients from an image, suggest new combinations and retrieve the cuisine the recipe belongs, along with a score for the expected number of negative interactions with antineoplastic drugs (github.com/warcraft12321/HyperFoods).

HyperFoods

Figure 1 - Web App (run locally, web app exceeds Heroku memory limits): https://hyperfoods.herokuapp.com/.

Supervisors

Kirill Veselkov (Imperial College London) | Michael Bronstein (Imperial College London)

Roadmap -> Wiki

DOI

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.