SlideShare a Scribd company logo
1 of 1
Download to read offline
Machine Learning for Building a
Food Recommendation System
NA WE NE EE SE ME SA SEA EA LA A Total
K&N 45843 6774 739 381 14178 645 3618 3572 7435 11892 1173 96250
NA WE NE EE SE ME SA SEA EA LA A
Anticancer
Score
1.25 1.49 1.30 1.90 2.21 2.08 1.90 1.25 1.32 1.75 2.48
NA WE NE EE SE ME SA SEA EA LA A Total
Salad 20% 1% 6% 3% 36% 1% 1% 6% 9% 14% 3% 62929
Tea 12% 6% 25% 1% 5% 1% 5% 5% 27% 3% 8% 4212
Recipe1M+ 14% 4% 16% 2% 21% 1% 2% 13% 10% 15% 3% 1029356
Aim Results & Discussion
Methods
Introduction
Use the largest publicly available collection of recipe data to build a recommendation system for
ingredients and recipes. Train, evaluate and test a model able to predict cuisines from 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*
* Considers user preferences, positive and negative compounds
Luís Rita1
Supervision: Kirill Veselkov1, Michael Bronstein2
(1) Department of Metabolism, Digestion and Reproduction, Imperial College London
(2) Department of Computing, Imperial College London
References
[1] “Cancer,” World Health Organization, 12 September 2018. [Online]. Available: https://www.who.int/news-room/fact-sheets/detail/cancer. [Accessed 7 March 2020]
[2] “Diet and cancer,” Cancer Research UK, [Online]. Available: https://www.cancerresearchuk.org/about-cancer/causes-of-cancer/diet-and-cancer. [Accessed 7 March 2020]
[3] “How to Eat When You Have Cancer,” WebMD, [Online]. Available: https://www.webmd.com/cancer/cancer-diet#1. [Accessed 7 March 2020]
[4] T. Tran, M. Atas, A. Felfernig and M. Stettinger, “An overview of recommender systems in the healthy food domain,” Journal of Intelligent Information Systems, vol. 50, p.
501–526, 2018
[5] “Annual per capita tea consumption worldwide as of 2016, by leading countries” statista, 14 January 2016. [Online]. Available:
https://www.statista.com/statistics/507950/global-per-capita-tea-consumption-by-country/. [Accessed 7 March 2020]
Ingredient Recommendation
Model Evaluation
Model Test
Cuisine Classification
FoodReco
• NE, EE, WE and ME cuisines often misclassified as NA
• European cuisines often misclassified among them –
share of ingredients and under representation in the
dataset may be some of the reasons
• Highest accuracy achieved for EA, SA and NA
• Predicted cuisines for every recipe in Recipe1M+
• All recipes with word tea in title were retrieved.
Calculated and compared cuisines distribution
with initial. NE and EA presented higher variation
• Calculated average presence of cancer-beating
molecules for recipes across cuisines
• Top classified: Mediterranean diet
• Receives an image URL. Outputs predicted list of
ingredients and cuisine
• Top 3 best substitutions are suggested for each ingredient
• Indication on the expected number of negative
interactions with antineoplastic drugs
• Successful food combinations closer in the plot.
Confidence increases with the size of the nodes
• Spectral clustering identified Salads, Asian
Dishes, Fruits & Nuts and Desserts categories
• Colours allow to account for the presence of
cancer-beating properties
Peanut Mango
Cinnamon Walnut Cranberry
Figure 4 Ingredients occurring > 800. In case of green nodes,
they contain, at least, 1 cancer-beating molecule
Figure 5 Confusion matrix
Figure 6 Tea consumption per year per person [5]
Figure 8 Web app logo
Figure 7 Cuisines with higher number of cancer beating molecules per recipe
Table 2 Cuisines distribution in Recipe1M+. Plus, filtering the ones containing keywords salad and
tea in title
Table 3 Average number of cancer beating molecules per recipe in each cuisine
Table 1 Cuisines distribution in K&N
Cancer is 2nd leading cause of death globally [1]
Healthier diets could prevent around 1 in 20 cancers [2]
Body needs calories and nutrients to stay strong. Disease can make it hard to
get enough, which can be different before, during, and after treatment [3]
Studies on the food domain focus on recommendations that suggest food
for each user considering preferences and health problems [4]
Figure 1 Colours represent clusters of ingredients
used more often together. Sizes are proportional
to the number of occurrences in the datasets
Figure 2 Linear kernel SVC used to train the
model. Confusion matrix built to evaluate the
accuracy. Tests were performed
Figure 3 Tools detailed in Methodology used to create a food recommendation web application

More Related Content

What's hot

Health Datapalooza 2013: Data Design Diabetes Demo Day Nuduro
Health Datapalooza 2013: Data Design Diabetes Demo Day NuduroHealth Datapalooza 2013: Data Design Diabetes Demo Day Nuduro
Health Datapalooza 2013: Data Design Diabetes Demo Day NuduroHealth Data Consortium
 
The Beet Armyworm Pest Forecast Model: A Decision-Making Tool for Pest Manage...
The Beet Armyworm Pest Forecast Model: A Decision-Making Tool for Pest Manage...The Beet Armyworm Pest Forecast Model: A Decision-Making Tool for Pest Manage...
The Beet Armyworm Pest Forecast Model: A Decision-Making Tool for Pest Manage...ACDI/VOCA
 
Oncology market access conference aligning quality incentives
Oncology market access conference   aligning quality incentivesOncology market access conference   aligning quality incentives
Oncology market access conference aligning quality incentivesKevin Mayo, Ph.D., EJD
 
Nantes Orpin Poster 2016
Nantes Orpin Poster 2016Nantes Orpin Poster 2016
Nantes Orpin Poster 2016Peter Orpin
 
Innovation in Cancer & BigData - 10 Startups
Innovation in Cancer & BigData - 10 StartupsInnovation in Cancer & BigData - 10 Startups
Innovation in Cancer & BigData - 10 StartupsBruno Rakotozafy
 
Findings from a malnutrition mobile app randomised trial in wajir, kenya by e...
Findings from a malnutrition mobile app randomised trial in wajir, kenya by e...Findings from a malnutrition mobile app randomised trial in wajir, kenya by e...
Findings from a malnutrition mobile app randomised trial in wajir, kenya by e...Transform Nutrition
 

What's hot (7)

Health Datapalooza 2013: Data Design Diabetes Demo Day Nuduro
Health Datapalooza 2013: Data Design Diabetes Demo Day NuduroHealth Datapalooza 2013: Data Design Diabetes Demo Day Nuduro
Health Datapalooza 2013: Data Design Diabetes Demo Day Nuduro
 
The Beet Armyworm Pest Forecast Model: A Decision-Making Tool for Pest Manage...
The Beet Armyworm Pest Forecast Model: A Decision-Making Tool for Pest Manage...The Beet Armyworm Pest Forecast Model: A Decision-Making Tool for Pest Manage...
The Beet Armyworm Pest Forecast Model: A Decision-Making Tool for Pest Manage...
 
Implementation of multi objective feed formulation approach by dr. s.m. mutua
Implementation of multi objective feed formulation approach by dr. s.m. mutuaImplementation of multi objective feed formulation approach by dr. s.m. mutua
Implementation of multi objective feed formulation approach by dr. s.m. mutua
 
Oncology market access conference aligning quality incentives
Oncology market access conference   aligning quality incentivesOncology market access conference   aligning quality incentives
Oncology market access conference aligning quality incentives
 
Nantes Orpin Poster 2016
Nantes Orpin Poster 2016Nantes Orpin Poster 2016
Nantes Orpin Poster 2016
 
Innovation in Cancer & BigData - 10 Startups
Innovation in Cancer & BigData - 10 StartupsInnovation in Cancer & BigData - 10 Startups
Innovation in Cancer & BigData - 10 Startups
 
Findings from a malnutrition mobile app randomised trial in wajir, kenya by e...
Findings from a malnutrition mobile app randomised trial in wajir, kenya by e...Findings from a malnutrition mobile app randomised trial in wajir, kenya by e...
Findings from a malnutrition mobile app randomised trial in wajir, kenya by e...
 

Similar to Machine Learning for Building a Food Recommendation System

EB_2015_Le_final_toPresent
EB_2015_Le_final_toPresentEB_2015_Le_final_toPresent
EB_2015_Le_final_toPresentLap Le
 
Sehat Co. - A Smart Food Recommendation System
Sehat Co. - A Smart Food Recommendation SystemSehat Co. - A Smart Food Recommendation System
Sehat Co. - A Smart Food Recommendation SystemIRJET Journal
 
Coffee Income, Food Security, and Diet Diversity of Smallholder Coffee Grower...
Coffee Income, Food Security, and Diet Diversity of Smallholder Coffee Grower...Coffee Income, Food Security, and Diet Diversity of Smallholder Coffee Grower...
Coffee Income, Food Security, and Diet Diversity of Smallholder Coffee Grower...essp2
 
Fruit Classification and Calories Measurement System
Fruit Classification and Calories Measurement SystemFruit Classification and Calories Measurement System
Fruit Classification and Calories Measurement Systemijtsrd
 
Optimalisasi Penggunaan Powerpoint dalam Penyiapan Bahan Presentasi Pimpinan
Optimalisasi Penggunaan Powerpoint dalam Penyiapan Bahan Presentasi PimpinanOptimalisasi Penggunaan Powerpoint dalam Penyiapan Bahan Presentasi Pimpinan
Optimalisasi Penggunaan Powerpoint dalam Penyiapan Bahan Presentasi Pimpinanditjenyankes
 
Everyday Good Health: The Nutrient Rich Way by Lynley Drummond
Everyday Good Health: The Nutrient Rich Way by Lynley DrummondEveryday Good Health: The Nutrient Rich Way by Lynley Drummond
Everyday Good Health: The Nutrient Rich Way by Lynley DrummondKiwifruit Symposium
 
MyDietDiary: Diet RecommendationSystem
MyDietDiary: Diet RecommendationSystemMyDietDiary: Diet RecommendationSystem
MyDietDiary: Diet RecommendationSystemIRJET Journal
 
Menu labelling for reducing energy ordered and consumed: What’s the evidence?
Menu labelling for reducing energy ordered and consumed: What’s the evidence?Menu labelling for reducing energy ordered and consumed: What’s the evidence?
Menu labelling for reducing energy ordered and consumed: What’s the evidence?Health Evidence™
 
A4NH – Presentation for Discussion with Donors and Partners – June 2013
A4NH – Presentation for Discussion with Donors and Partners – June 2013A4NH – Presentation for Discussion with Donors and Partners – June 2013
A4NH – Presentation for Discussion with Donors and Partners – June 2013CGIAR
 
The National Diabetes Prevention Program (National DPP) Training Opportunity
	The National Diabetes Prevention Program (National DPP) Training Opportunity	The National Diabetes Prevention Program (National DPP) Training Opportunity
The National Diabetes Prevention Program (National DPP) Training OpportunityHPCareer.Net / State of Wellness Inc.
 
IRJET- Assessing Food Volume and Nutritious Values from Food Images using...
IRJET-  	  Assessing Food Volume and Nutritious Values from Food Images using...IRJET-  	  Assessing Food Volume and Nutritious Values from Food Images using...
IRJET- Assessing Food Volume and Nutritious Values from Food Images using...IRJET Journal
 
Developing, Implementing & Sustaining Healthy Food Incentive Programs
Developing, Implementing & Sustaining Healthy Food Incentive ProgramsDeveloping, Implementing & Sustaining Healthy Food Incentive Programs
Developing, Implementing & Sustaining Healthy Food Incentive Programsdemitzch
 
Save our children
Save our childrenSave our children
Save our childrenAmr Helal
 
IntJHealthAlliedSci_2015_4_4_210_167649
IntJHealthAlliedSci_2015_4_4_210_167649IntJHealthAlliedSci_2015_4_4_210_167649
IntJHealthAlliedSci_2015_4_4_210_167649Chandini Rangaswamy
 

Similar to Machine Learning for Building a Food Recommendation System (20)

EB_2015_Le_final_toPresent
EB_2015_Le_final_toPresentEB_2015_Le_final_toPresent
EB_2015_Le_final_toPresent
 
Sehat Co. - A Smart Food Recommendation System
Sehat Co. - A Smart Food Recommendation SystemSehat Co. - A Smart Food Recommendation System
Sehat Co. - A Smart Food Recommendation System
 
Coffee Income, Food Security, and Diet Diversity of Smallholder Coffee Grower...
Coffee Income, Food Security, and Diet Diversity of Smallholder Coffee Grower...Coffee Income, Food Security, and Diet Diversity of Smallholder Coffee Grower...
Coffee Income, Food Security, and Diet Diversity of Smallholder Coffee Grower...
 
Fruit Classification and Calories Measurement System
Fruit Classification and Calories Measurement SystemFruit Classification and Calories Measurement System
Fruit Classification and Calories Measurement System
 
Optimalisasi Penggunaan Powerpoint dalam Penyiapan Bahan Presentasi Pimpinan
Optimalisasi Penggunaan Powerpoint dalam Penyiapan Bahan Presentasi PimpinanOptimalisasi Penggunaan Powerpoint dalam Penyiapan Bahan Presentasi Pimpinan
Optimalisasi Penggunaan Powerpoint dalam Penyiapan Bahan Presentasi Pimpinan
 
Umap22_MainConference.pdf
Umap22_MainConference.pdfUmap22_MainConference.pdf
Umap22_MainConference.pdf
 
How to use must
How to use mustHow to use must
How to use must
 
DIET COUNSELLING .ppt
DIET COUNSELLING .pptDIET COUNSELLING .ppt
DIET COUNSELLING .ppt
 
Everyday Good Health: The Nutrient Rich Way by Lynley Drummond
Everyday Good Health: The Nutrient Rich Way by Lynley DrummondEveryday Good Health: The Nutrient Rich Way by Lynley Drummond
Everyday Good Health: The Nutrient Rich Way by Lynley Drummond
 
MyDietDiary: Diet RecommendationSystem
MyDietDiary: Diet RecommendationSystemMyDietDiary: Diet RecommendationSystem
MyDietDiary: Diet RecommendationSystem
 
Symposium of Dietary Intakes - Malaysia - April 2016
Symposium of Dietary Intakes - Malaysia - April 2016Symposium of Dietary Intakes - Malaysia - April 2016
Symposium of Dietary Intakes - Malaysia - April 2016
 
Menu labelling for reducing energy ordered and consumed: What’s the evidence?
Menu labelling for reducing energy ordered and consumed: What’s the evidence?Menu labelling for reducing energy ordered and consumed: What’s the evidence?
Menu labelling for reducing energy ordered and consumed: What’s the evidence?
 
A4NH – Presentation for Discussion with Donors and Partners – June 2013
A4NH – Presentation for Discussion with Donors and Partners – June 2013A4NH – Presentation for Discussion with Donors and Partners – June 2013
A4NH – Presentation for Discussion with Donors and Partners – June 2013
 
Philip James
Philip JamesPhilip James
Philip James
 
The National Diabetes Prevention Program (National DPP) Training Opportunity
	The National Diabetes Prevention Program (National DPP) Training Opportunity	The National Diabetes Prevention Program (National DPP) Training Opportunity
The National Diabetes Prevention Program (National DPP) Training Opportunity
 
IRJET- Assessing Food Volume and Nutritious Values from Food Images using...
IRJET-  	  Assessing Food Volume and Nutritious Values from Food Images using...IRJET-  	  Assessing Food Volume and Nutritious Values from Food Images using...
IRJET- Assessing Food Volume and Nutritious Values from Food Images using...
 
Developing, Implementing & Sustaining Healthy Food Incentive Programs
Developing, Implementing & Sustaining Healthy Food Incentive ProgramsDeveloping, Implementing & Sustaining Healthy Food Incentive Programs
Developing, Implementing & Sustaining Healthy Food Incentive Programs
 
Save our children
Save our childrenSave our children
Save our children
 
ProjectVision
ProjectVisionProjectVision
ProjectVision
 
IntJHealthAlliedSci_2015_4_4_210_167649
IntJHealthAlliedSci_2015_4_4_210_167649IntJHealthAlliedSci_2015_4_4_210_167649
IntJHealthAlliedSci_2015_4_4_210_167649
 

More from Luís Rita

Using Deep Learning to Identify Cyclists' Risk Factors in London | Presentation
Using Deep Learning to Identify Cyclists' Risk Factors in London | PresentationUsing Deep Learning to Identify Cyclists' Risk Factors in London | Presentation
Using Deep Learning to Identify Cyclists' Risk Factors in London | PresentationLuís Rita
 
INSaFLU | Innovation and Entrepreneurship Report
INSaFLU | Innovation and Entrepreneurship ReportINSaFLU | Innovation and Entrepreneurship Report
INSaFLU | Innovation and Entrepreneurship ReportLuís Rita
 
Smarty | Smart Screen
Smarty | Smart ScreenSmarty | Smart Screen
Smarty | Smart ScreenLuís Rita
 
RCar | Robots for All!
RCar | Robots for All!RCar | Robots for All!
RCar | Robots for All!Luís Rita
 
Community Finding with Applications on Phylogenetic Networks [Thesis]
Community Finding with Applications on Phylogenetic Networks [Thesis]Community Finding with Applications on Phylogenetic Networks [Thesis]
Community Finding with Applications on Phylogenetic Networks [Thesis]Luís Rita
 
Community Finding with Applications on Phylogenetic Networks [Extended Abstract]
Community Finding with Applications on Phylogenetic Networks [Extended Abstract]Community Finding with Applications on Phylogenetic Networks [Extended Abstract]
Community Finding with Applications on Phylogenetic Networks [Extended Abstract]Luís Rita
 
Community Finding with Applications on Phylogenetic Networks [Presentation]
Community Finding with Applications on Phylogenetic Networks [Presentation]Community Finding with Applications on Phylogenetic Networks [Presentation]
Community Finding with Applications on Phylogenetic Networks [Presentation]Luís Rita
 
Espetros de Absorção Eletrónica de Cianinas
 Espetros de Absorção Eletrónica de Cianinas Espetros de Absorção Eletrónica de Cianinas
Espetros de Absorção Eletrónica de CianinasLuís Rita
 
Radiation Physics Laboratory – Complementary Exercise Set
Radiation Physics Laboratory – Complementary Exercise SetRadiation Physics Laboratory – Complementary Exercise Set
Radiation Physics Laboratory – Complementary Exercise SetLuís Rita
 
Espetroscopia γ
Espetroscopia γEspetroscopia γ
Espetroscopia γLuís Rita
 
Detetor Geiger-Müller
Detetor Geiger-MüllerDetetor Geiger-Müller
Detetor Geiger-MüllerLuís Rita
 
Advising Healthcare Organizations
Advising Healthcare OrganizationsAdvising Healthcare Organizations
Advising Healthcare OrganizationsLuís Rita
 
The Role of Internet-of-Things (IoT) in Healthcare
The Role of Internet-of-Things (IoT) in HealthcareThe Role of Internet-of-Things (IoT) in Healthcare
The Role of Internet-of-Things (IoT) in HealthcareLuís Rita
 
The Role of Internet-of-Things (IoT) in Healthcare
The Role of Internet-of-Things (IoT) in HealthcareThe Role of Internet-of-Things (IoT) in Healthcare
The Role of Internet-of-Things (IoT) in HealthcareLuís Rita
 
Extracorporeal Artificial Organs - Kidney & Lungs
Extracorporeal Artificial Organs - Kidney & LungsExtracorporeal Artificial Organs - Kidney & Lungs
Extracorporeal Artificial Organs - Kidney & LungsLuís Rita
 
Implantable Medical Devices in the Eyes
Implantable Medical Devices in the Eyes Implantable Medical Devices in the Eyes
Implantable Medical Devices in the Eyes Luís Rita
 
Foreign - Body Reaction
Foreign - Body ReactionForeign - Body Reaction
Foreign - Body ReactionLuís Rita
 
Cells’ Mechanotransduction – Molecular Mechanisms
Cells’ Mechanotransduction – Molecular MechanismsCells’ Mechanotransduction – Molecular Mechanisms
Cells’ Mechanotransduction – Molecular MechanismsLuís Rita
 
Mechanisms in Aqueous Solution for Corrosion of Metal Alloy
Mechanisms in Aqueous Solution for Corrosion of Metal AlloyMechanisms in Aqueous Solution for Corrosion of Metal Alloy
Mechanisms in Aqueous Solution for Corrosion of Metal AlloyLuís Rita
 
Properties of Biological Materials
Properties of Biological MaterialsProperties of Biological Materials
Properties of Biological MaterialsLuís Rita
 

More from Luís Rita (20)

Using Deep Learning to Identify Cyclists' Risk Factors in London | Presentation
Using Deep Learning to Identify Cyclists' Risk Factors in London | PresentationUsing Deep Learning to Identify Cyclists' Risk Factors in London | Presentation
Using Deep Learning to Identify Cyclists' Risk Factors in London | Presentation
 
INSaFLU | Innovation and Entrepreneurship Report
INSaFLU | Innovation and Entrepreneurship ReportINSaFLU | Innovation and Entrepreneurship Report
INSaFLU | Innovation and Entrepreneurship Report
 
Smarty | Smart Screen
Smarty | Smart ScreenSmarty | Smart Screen
Smarty | Smart Screen
 
RCar | Robots for All!
RCar | Robots for All!RCar | Robots for All!
RCar | Robots for All!
 
Community Finding with Applications on Phylogenetic Networks [Thesis]
Community Finding with Applications on Phylogenetic Networks [Thesis]Community Finding with Applications on Phylogenetic Networks [Thesis]
Community Finding with Applications on Phylogenetic Networks [Thesis]
 
Community Finding with Applications on Phylogenetic Networks [Extended Abstract]
Community Finding with Applications on Phylogenetic Networks [Extended Abstract]Community Finding with Applications on Phylogenetic Networks [Extended Abstract]
Community Finding with Applications on Phylogenetic Networks [Extended Abstract]
 
Community Finding with Applications on Phylogenetic Networks [Presentation]
Community Finding with Applications on Phylogenetic Networks [Presentation]Community Finding with Applications on Phylogenetic Networks [Presentation]
Community Finding with Applications on Phylogenetic Networks [Presentation]
 
Espetros de Absorção Eletrónica de Cianinas
 Espetros de Absorção Eletrónica de Cianinas Espetros de Absorção Eletrónica de Cianinas
Espetros de Absorção Eletrónica de Cianinas
 
Radiation Physics Laboratory – Complementary Exercise Set
Radiation Physics Laboratory – Complementary Exercise SetRadiation Physics Laboratory – Complementary Exercise Set
Radiation Physics Laboratory – Complementary Exercise Set
 
Espetroscopia γ
Espetroscopia γEspetroscopia γ
Espetroscopia γ
 
Detetor Geiger-Müller
Detetor Geiger-MüllerDetetor Geiger-Müller
Detetor Geiger-Müller
 
Advising Healthcare Organizations
Advising Healthcare OrganizationsAdvising Healthcare Organizations
Advising Healthcare Organizations
 
The Role of Internet-of-Things (IoT) in Healthcare
The Role of Internet-of-Things (IoT) in HealthcareThe Role of Internet-of-Things (IoT) in Healthcare
The Role of Internet-of-Things (IoT) in Healthcare
 
The Role of Internet-of-Things (IoT) in Healthcare
The Role of Internet-of-Things (IoT) in HealthcareThe Role of Internet-of-Things (IoT) in Healthcare
The Role of Internet-of-Things (IoT) in Healthcare
 
Extracorporeal Artificial Organs - Kidney & Lungs
Extracorporeal Artificial Organs - Kidney & LungsExtracorporeal Artificial Organs - Kidney & Lungs
Extracorporeal Artificial Organs - Kidney & Lungs
 
Implantable Medical Devices in the Eyes
Implantable Medical Devices in the Eyes Implantable Medical Devices in the Eyes
Implantable Medical Devices in the Eyes
 
Foreign - Body Reaction
Foreign - Body ReactionForeign - Body Reaction
Foreign - Body Reaction
 
Cells’ Mechanotransduction – Molecular Mechanisms
Cells’ Mechanotransduction – Molecular MechanismsCells’ Mechanotransduction – Molecular Mechanisms
Cells’ Mechanotransduction – Molecular Mechanisms
 
Mechanisms in Aqueous Solution for Corrosion of Metal Alloy
Mechanisms in Aqueous Solution for Corrosion of Metal AlloyMechanisms in Aqueous Solution for Corrosion of Metal Alloy
Mechanisms in Aqueous Solution for Corrosion of Metal Alloy
 
Properties of Biological Materials
Properties of Biological MaterialsProperties of Biological Materials
Properties of Biological Materials
 

Recently uploaded

PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...Sérgio Sacani
 
Biopesticide (2).pptx .This slides helps to know the different types of biop...
Biopesticide (2).pptx  .This slides helps to know the different types of biop...Biopesticide (2).pptx  .This slides helps to know the different types of biop...
Biopesticide (2).pptx .This slides helps to know the different types of biop...RohitNehra6
 
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCRStunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCRDelhi Call girls
 
GBSN - Microbiology (Unit 2)
GBSN - Microbiology (Unit 2)GBSN - Microbiology (Unit 2)
GBSN - Microbiology (Unit 2)Areesha Ahmad
 
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...Sérgio Sacani
 
Raman spectroscopy.pptx M Pharm, M Sc, Advanced Spectral Analysis
Raman spectroscopy.pptx M Pharm, M Sc, Advanced Spectral AnalysisRaman spectroscopy.pptx M Pharm, M Sc, Advanced Spectral Analysis
Raman spectroscopy.pptx M Pharm, M Sc, Advanced Spectral AnalysisDiwakar Mishra
 
Recombinant DNA technology (Immunological screening)
Recombinant DNA technology (Immunological screening)Recombinant DNA technology (Immunological screening)
Recombinant DNA technology (Immunological screening)PraveenaKalaiselvan1
 
Spermiogenesis or Spermateleosis or metamorphosis of spermatid
Spermiogenesis or Spermateleosis or metamorphosis of spermatidSpermiogenesis or Spermateleosis or metamorphosis of spermatid
Spermiogenesis or Spermateleosis or metamorphosis of spermatidSarthak Sekhar Mondal
 
Recombination DNA Technology (Nucleic Acid Hybridization )
Recombination DNA Technology (Nucleic Acid Hybridization )Recombination DNA Technology (Nucleic Acid Hybridization )
Recombination DNA Technology (Nucleic Acid Hybridization )aarthirajkumar25
 
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...anilsa9823
 
Isotopic evidence of long-lived volcanism on Io
Isotopic evidence of long-lived volcanism on IoIsotopic evidence of long-lived volcanism on Io
Isotopic evidence of long-lived volcanism on IoSérgio Sacani
 
GBSN - Microbiology (Unit 1)
GBSN - Microbiology (Unit 1)GBSN - Microbiology (Unit 1)
GBSN - Microbiology (Unit 1)Areesha Ahmad
 
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43bNightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43bSérgio Sacani
 
DIFFERENCE IN BACK CROSS AND TEST CROSS
DIFFERENCE IN  BACK CROSS AND TEST CROSSDIFFERENCE IN  BACK CROSS AND TEST CROSS
DIFFERENCE IN BACK CROSS AND TEST CROSSLeenakshiTyagi
 
Traditional Agroforestry System in India- Shifting Cultivation, Taungya, Home...
Traditional Agroforestry System in India- Shifting Cultivation, Taungya, Home...Traditional Agroforestry System in India- Shifting Cultivation, Taungya, Home...
Traditional Agroforestry System in India- Shifting Cultivation, Taungya, Home...jana861314
 
Botany 4th semester file By Sumit Kumar yadav.pdf
Botany 4th semester file By Sumit Kumar yadav.pdfBotany 4th semester file By Sumit Kumar yadav.pdf
Botany 4th semester file By Sumit Kumar yadav.pdfSumit Kumar yadav
 
Natural Polymer Based Nanomaterials
Natural Polymer Based NanomaterialsNatural Polymer Based Nanomaterials
Natural Polymer Based NanomaterialsAArockiyaNisha
 
Animal Communication- Auditory and Visual.pptx
Animal Communication- Auditory and Visual.pptxAnimal Communication- Auditory and Visual.pptx
Animal Communication- Auditory and Visual.pptxUmerFayaz5
 

Recently uploaded (20)

PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
 
Biopesticide (2).pptx .This slides helps to know the different types of biop...
Biopesticide (2).pptx  .This slides helps to know the different types of biop...Biopesticide (2).pptx  .This slides helps to know the different types of biop...
Biopesticide (2).pptx .This slides helps to know the different types of biop...
 
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCRStunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
Stunning ➥8448380779▻ Call Girls In Panchshil Enclave Delhi NCR
 
GBSN - Microbiology (Unit 2)
GBSN - Microbiology (Unit 2)GBSN - Microbiology (Unit 2)
GBSN - Microbiology (Unit 2)
 
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...
All-domain Anomaly Resolution Office U.S. Department of Defense (U) Case: “Eg...
 
Raman spectroscopy.pptx M Pharm, M Sc, Advanced Spectral Analysis
Raman spectroscopy.pptx M Pharm, M Sc, Advanced Spectral AnalysisRaman spectroscopy.pptx M Pharm, M Sc, Advanced Spectral Analysis
Raman spectroscopy.pptx M Pharm, M Sc, Advanced Spectral Analysis
 
Recombinant DNA technology (Immunological screening)
Recombinant DNA technology (Immunological screening)Recombinant DNA technology (Immunological screening)
Recombinant DNA technology (Immunological screening)
 
Spermiogenesis or Spermateleosis or metamorphosis of spermatid
Spermiogenesis or Spermateleosis or metamorphosis of spermatidSpermiogenesis or Spermateleosis or metamorphosis of spermatid
Spermiogenesis or Spermateleosis or metamorphosis of spermatid
 
Recombination DNA Technology (Nucleic Acid Hybridization )
Recombination DNA Technology (Nucleic Acid Hybridization )Recombination DNA Technology (Nucleic Acid Hybridization )
Recombination DNA Technology (Nucleic Acid Hybridization )
 
9953056974 Young Call Girls In Mahavir enclave Indian Quality Escort service
9953056974 Young Call Girls In Mahavir enclave Indian Quality Escort service9953056974 Young Call Girls In Mahavir enclave Indian Quality Escort service
9953056974 Young Call Girls In Mahavir enclave Indian Quality Escort service
 
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...
Lucknow 💋 Russian Call Girls Lucknow Finest Escorts Service 8923113531 Availa...
 
Isotopic evidence of long-lived volcanism on Io
Isotopic evidence of long-lived volcanism on IoIsotopic evidence of long-lived volcanism on Io
Isotopic evidence of long-lived volcanism on Io
 
The Philosophy of Science
The Philosophy of ScienceThe Philosophy of Science
The Philosophy of Science
 
GBSN - Microbiology (Unit 1)
GBSN - Microbiology (Unit 1)GBSN - Microbiology (Unit 1)
GBSN - Microbiology (Unit 1)
 
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43bNightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
Nightside clouds and disequilibrium chemistry on the hot Jupiter WASP-43b
 
DIFFERENCE IN BACK CROSS AND TEST CROSS
DIFFERENCE IN  BACK CROSS AND TEST CROSSDIFFERENCE IN  BACK CROSS AND TEST CROSS
DIFFERENCE IN BACK CROSS AND TEST CROSS
 
Traditional Agroforestry System in India- Shifting Cultivation, Taungya, Home...
Traditional Agroforestry System in India- Shifting Cultivation, Taungya, Home...Traditional Agroforestry System in India- Shifting Cultivation, Taungya, Home...
Traditional Agroforestry System in India- Shifting Cultivation, Taungya, Home...
 
Botany 4th semester file By Sumit Kumar yadav.pdf
Botany 4th semester file By Sumit Kumar yadav.pdfBotany 4th semester file By Sumit Kumar yadav.pdf
Botany 4th semester file By Sumit Kumar yadav.pdf
 
Natural Polymer Based Nanomaterials
Natural Polymer Based NanomaterialsNatural Polymer Based Nanomaterials
Natural Polymer Based Nanomaterials
 
Animal Communication- Auditory and Visual.pptx
Animal Communication- Auditory and Visual.pptxAnimal Communication- Auditory and Visual.pptx
Animal Communication- Auditory and Visual.pptx
 

Machine Learning for Building a Food Recommendation System

  • 1. Machine Learning for Building a Food Recommendation System NA WE NE EE SE ME SA SEA EA LA A Total K&N 45843 6774 739 381 14178 645 3618 3572 7435 11892 1173 96250 NA WE NE EE SE ME SA SEA EA LA A Anticancer Score 1.25 1.49 1.30 1.90 2.21 2.08 1.90 1.25 1.32 1.75 2.48 NA WE NE EE SE ME SA SEA EA LA A Total Salad 20% 1% 6% 3% 36% 1% 1% 6% 9% 14% 3% 62929 Tea 12% 6% 25% 1% 5% 1% 5% 5% 27% 3% 8% 4212 Recipe1M+ 14% 4% 16% 2% 21% 1% 2% 13% 10% 15% 3% 1029356 Aim Results & Discussion Methods Introduction Use the largest publicly available collection of recipe data to build a recommendation system for ingredients and recipes. Train, evaluate and test a model able to predict cuisines from 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* * Considers user preferences, positive and negative compounds Luís Rita1 Supervision: Kirill Veselkov1, Michael Bronstein2 (1) Department of Metabolism, Digestion and Reproduction, Imperial College London (2) Department of Computing, Imperial College London References [1] “Cancer,” World Health Organization, 12 September 2018. [Online]. Available: https://www.who.int/news-room/fact-sheets/detail/cancer. [Accessed 7 March 2020] [2] “Diet and cancer,” Cancer Research UK, [Online]. Available: https://www.cancerresearchuk.org/about-cancer/causes-of-cancer/diet-and-cancer. [Accessed 7 March 2020] [3] “How to Eat When You Have Cancer,” WebMD, [Online]. Available: https://www.webmd.com/cancer/cancer-diet#1. [Accessed 7 March 2020] [4] T. Tran, M. Atas, A. Felfernig and M. Stettinger, “An overview of recommender systems in the healthy food domain,” Journal of Intelligent Information Systems, vol. 50, p. 501–526, 2018 [5] “Annual per capita tea consumption worldwide as of 2016, by leading countries” statista, 14 January 2016. [Online]. Available: https://www.statista.com/statistics/507950/global-per-capita-tea-consumption-by-country/. [Accessed 7 March 2020] Ingredient Recommendation Model Evaluation Model Test Cuisine Classification FoodReco • NE, EE, WE and ME cuisines often misclassified as NA • European cuisines often misclassified among them – share of ingredients and under representation in the dataset may be some of the reasons • Highest accuracy achieved for EA, SA and NA • Predicted cuisines for every recipe in Recipe1M+ • All recipes with word tea in title were retrieved. Calculated and compared cuisines distribution with initial. NE and EA presented higher variation • Calculated average presence of cancer-beating molecules for recipes across cuisines • Top classified: Mediterranean diet • Receives an image URL. Outputs predicted list of ingredients and cuisine • Top 3 best substitutions are suggested for each ingredient • Indication on the expected number of negative interactions with antineoplastic drugs • Successful food combinations closer in the plot. Confidence increases with the size of the nodes • Spectral clustering identified Salads, Asian Dishes, Fruits & Nuts and Desserts categories • Colours allow to account for the presence of cancer-beating properties Peanut Mango Cinnamon Walnut Cranberry Figure 4 Ingredients occurring > 800. In case of green nodes, they contain, at least, 1 cancer-beating molecule Figure 5 Confusion matrix Figure 6 Tea consumption per year per person [5] Figure 8 Web app logo Figure 7 Cuisines with higher number of cancer beating molecules per recipe Table 2 Cuisines distribution in Recipe1M+. Plus, filtering the ones containing keywords salad and tea in title Table 3 Average number of cancer beating molecules per recipe in each cuisine Table 1 Cuisines distribution in K&N Cancer is 2nd leading cause of death globally [1] Healthier diets could prevent around 1 in 20 cancers [2] Body needs calories and nutrients to stay strong. Disease can make it hard to get enough, which can be different before, during, and after treatment [3] Studies on the food domain focus on recommendations that suggest food for each user considering preferences and health problems [4] Figure 1 Colours represent clusters of ingredients used more often together. Sizes are proportional to the number of occurrences in the datasets Figure 2 Linear kernel SVC used to train the model. Confusion matrix built to evaluate the accuracy. Tests were performed Figure 3 Tools detailed in Methodology used to create a food recommendation web application