SlideShare a Scribd company logo
1 of 24
THAI FOOD
RECOMMENDATION
Based on your preference!!
1. Russamee Nakaphun
2. Yada Limsuwan
3. Vanathip Gijruenthong
4. Chanokporn Youngpakool
5. Korrapin Pimapansri
Business Analytics and Data Science ,NIDA
Member
2
1. น.ส. รัศมี นาคะพันธุ์ 6210422053​
2. น.ส. ญาดา ลิ้มสุวรรณ 6210422056
3. น.ส. วนาทิพย์ กิจเรือนทอง 6210422059
4. น.ส. ชนกพร ยังพะกูล 6210422065
5. น.ส. กรพินธุ์ พิมาพันธุ์ศรี 6220422056
WHAT?
3
“Thai Food Recommendation for foreigners
based on their preference.”
WHY?
4
• Thai food are variety.
• Foreigners knew only popular Thai food.
• Increase Thai food fans.
• More favorite Thai food.
What we do?
Step 1 Step 2 Step 3 Step 4 Step 5
Data Collection
- Recipes
(Yummly)
- Ingredients
- Food Categories
Data
Preparation
Data cleaning
Modeling
- Feature Selection
- Similarity model
Exploratory
Analysis
- Cuisines
- Ingredients
- Community
Detection
Evaluation
- Testing
5
Data Collection (Recipes)
6
- From 60+ recipe sites/blogs
- 27,638 Recipes (JSON Files)
Features:
Ingredients, Cuisine, Recipe Title,
Flavor, Ratings, Nutrition etc.
Data Collection (Ingredients)
7
BBC Food
- 26 Webpages (A-Z) of Ingredient
Names
- 1000+ Individual Food Ingredients
Data Collection (Ingredients)
8
Kaggle
- 2 JSON files with id and ingredients
FooDB
- Provides dataset that contains
information about compounds,
proteins, contents, nutrients , etc.
- We use only Food.csv
Features:
Name, Food group, Food subgroup, etc.
Data Preparation
9
28K JSON
Files
Remove recipes
- No flavor
information
- Duplicated by ID
Remove specific words
from ingredients
Scraped
Ingredient list
Import
Ingredient list
Combine, add plural
words and remove
specific words such
as low fat, fat free,
non fat, etc.
Clean
ingredients
Import Ingredient Category
Add ingredient
category to
recipes
Data Preparation
10
Data Cleaning (Ingredients)
Clean
ingredients
Create Nested Dictionary
{Recipe:{Ingr:w}}
- Unweighted : 1
- Weighted : x gram per
1 serving
Convert Dictionary to
Dataframe.
(Dataframe is matrix
between recipes and
ingredients)
Exploratory Analysis
22,710
Recipes
11
24
Countries
4,515
Ingredient
(25 Categories)
Exploratory Analysis
12
Most commonly used ingredients.Top country cuisines
13
Exploratory Analysis
Most commonly used ingredients by cuisines.
14
Exploratory Analysis
Most commonly used ingredients by cuisines.
Exploratory Analysis
15
Relation of ingredient between cuisines
Modeling
16
Feature Selection
Ingredients
Flavor [0,1]
- Sweet
- Sour
- Bitter
- Piquant
- Salty
- MeatyProportion of Ingredients
( gram per serving)
Number of servings
Ingredient Category
Modeling
17
Ingredient
(No weight)
Many Thai Coconut Curry Soup with Chicken !
Modeling
18
Ingredient
(No weight)
FlavorIngredient
(Weight)
Category
SimJaccard
(Ingri , Ingrj)
SimCosine
(Ingri , Ingrj)
SimCosine
(Flavori, Flavorj)
SimJaccard
(Categoryi, Categoryj)
Recipe
Modeling
19
SimJaccard
(Ingri , Ingrj)
SimCosine
(Ingri , Ingrj)
SimCosine
(Flavori, Flavorj)
SimJaccard
(Catagoriesi, Catagoriesj)
A x B x C x D x
+
All approach are combined together.
*A, B, C, D can be adjustable.
Similarity
Modeling
20
Result
Modeling
21
Problem of Limited memory
0
10
20
30
40
50
60
70
80
90
ComputationTime(S)
Computation Time (S) normal array/dataframe Computation Time (S) dask (chunk)
Model
Computation Time
(S)
Normal Chunk
case1 = ((jac_sim_ingredient)+(cos_sim_weighted_flavor)+(jac_sim_categories))/3 14.6 0.4
case2 = ((cos_sim_weighted_ingredient)+(cos_sim_weighted_flavor)+(jac_sim_categories))/3 78 4.69
case3 = (0.2*jac_sim_ingredient)+(0.5*cos_sim_weighted_flavor)+(0.3*jac_sim_categories) 15.4 0
case4 = (0.3*cos_sim_weighted_ingredient)+(0.5*cos_sim_weighted_flavor)+(0.2*jac_sim_categories) 15.9 0
case5 = (0.3*cos_sim_weighted_ingredient)+(0.2*cos_sim_weighted_flavor)+(0.5*jac_sim_categories) 15.7 0
case6 = (0.5*cos_sim_weighted_ingredient)+(0.2*cos_sim_weighted_flavor)+(0.3*jac_sim_categories) 15.8 1.56
case7 = (0.2*cos_sim_weighted_ingredient)+(0.3*cos_sim_weighted_flavor)+(0.5*jac_sim_categories) 16.1 1.56
case8 = (0.5*cos_sim_weighted_ingredient)+(0.3*cos_sim_weighted_flavor)+(0.2*jac_sim_categories) 15.7 0
case9 = (cos_sim_weighted_flavor+cos_sim_weighted_ingredient+jac_sim_categories+jac_sim_ingredient)/4 12.9 0.263
 Compute in “Chunk” very
faster than normal array!
 Fixed “Memory Error” problem
Evaluation
22
Case Test Correct Accuracy (%)
1 100 41 41.00
2 97 40 41.24
3 96 41 42.71
4 112 44 39.29
5 111 46 41.44
6 111 46 41.44
Final Similarity = (0.2*jaccard(Ingredients))(0.5*cosine(flavors))+(0.3*jaccard(categories))
Process : Result (sample size = 628 times) :
Conclusion
● Community Detection
○ Thai food are in the clusters of Morocco, Mexican, Cuba, South West and India
○ Important common ingredients can be found in various countries for example Thai foods usually found fish sauce,
coconut milk, lemon juice, coriander, garlic
● Similarity Computation
○ Main problem is “Memory Error”, especially Jaccard Similarity
○ Necessary to apply “Parallel Computation” to solve this problem. This project used “Dask library” which the library
from “Chunk” concept. Moreover, it very fast running.
● Combination Models
○ This project selected 6 combination models from similarity matrix of Ingredients, favor, food categories
○ This 6 models differentiate from combination and weighting, as a result, every models have accuracy closely
23
Future Works
● Should more Thai foods data with a variety
● More analysis with
○ Key Ingredients
○ Customer data for example rating
○ Methods for example puff, boil, fried, grill
● Test the system with more people, especially foreigners
● Develop the interface with image searching then recommend with text, image and restaurant location
24

More Related Content

Similar to Thai food recommendation

Session 2. Thilsted - Infant Food Development from Small Dried Fish
Session 2. Thilsted - Infant Food Development from Small Dried FishSession 2. Thilsted - Infant Food Development from Small Dried Fish
Session 2. Thilsted - Infant Food Development from Small Dried FishAg4HealthNutrition
 
Jeremy Schiff, Senior Manager, Data Science, OpenTable at MLconf NYC
Jeremy Schiff, Senior Manager, Data Science, OpenTable at MLconf NYCJeremy Schiff, Senior Manager, Data Science, OpenTable at MLconf NYC
Jeremy Schiff, Senior Manager, Data Science, OpenTable at MLconf NYCMLconf
 
PROCESS CONCOCTIONS.pptx
PROCESS CONCOCTIONS.pptxPROCESS CONCOCTIONS.pptx
PROCESS CONCOCTIONS.pptxJocelynMirasol1
 
Real‐time experiments for the acquisition of science competencies: COMBLAB pr...
Real‐time experiments for the acquisition of science competencies: COMBLAB pr...Real‐time experiments for the acquisition of science competencies: COMBLAB pr...
Real‐time experiments for the acquisition of science competencies: COMBLAB pr...Brussels, Belgium
 
The Italian students' survey results
The Italian students' survey resultsThe Italian students' survey results
The Italian students' survey resultschristinakas
 
The sostac planning system.pptx
The sostac planning system.pptxThe sostac planning system.pptx
The sostac planning system.pptxkhinezarchiwint
 
Best practices Reducing Food Cost & Food Waste
Best practices Reducing Food Cost & Food WasteBest practices Reducing Food Cost & Food Waste
Best practices Reducing Food Cost & Food WasteNevada Agriculture
 
Climate kitchen reduce environmental impact of your food
Climate kitchen reduce environmental impact of your foodClimate kitchen reduce environmental impact of your food
Climate kitchen reduce environmental impact of your foodJan Maskell
 
GraphTour: De-cyphering recipes with Neo4j
GraphTour: De-cyphering recipes with Neo4jGraphTour: De-cyphering recipes with Neo4j
GraphTour: De-cyphering recipes with Neo4jNeo4j
 
Nutrition and Health: Overcoming the challenges: analyzing Cambodian 24-hour ...
Nutrition and Health: Overcoming the challenges: analyzing Cambodian 24-hour ...Nutrition and Health: Overcoming the challenges: analyzing Cambodian 24-hour ...
Nutrition and Health: Overcoming the challenges: analyzing Cambodian 24-hour ...IFSD14
 
Apresentação slaca camilo
Apresentação slaca camiloApresentação slaca camilo
Apresentação slaca camiloCamilo Teixeira
 
cromwell-sprung-ramanujan
cromwell-sprung-ramanujancromwell-sprung-ramanujan
cromwell-sprung-ramanujanErol Cromwell
 
Rubric WorksheetInternship Portfolio ProjectDoes Not M.docx
Rubric WorksheetInternship Portfolio ProjectDoes Not M.docxRubric WorksheetInternship Portfolio ProjectDoes Not M.docx
Rubric WorksheetInternship Portfolio ProjectDoes Not M.docxSUBHI7
 

Similar to Thai food recommendation (20)

Session 2. Thilsted - Infant Food Development from Small Dried Fish
Session 2. Thilsted - Infant Food Development from Small Dried FishSession 2. Thilsted - Infant Food Development from Small Dried Fish
Session 2. Thilsted - Infant Food Development from Small Dried Fish
 
Jeremy Schiff, Senior Manager, Data Science, OpenTable at MLconf NYC
Jeremy Schiff, Senior Manager, Data Science, OpenTable at MLconf NYCJeremy Schiff, Senior Manager, Data Science, OpenTable at MLconf NYC
Jeremy Schiff, Senior Manager, Data Science, OpenTable at MLconf NYC
 
PROCESS CONCOCTIONS.pptx
PROCESS CONCOCTIONS.pptxPROCESS CONCOCTIONS.pptx
PROCESS CONCOCTIONS.pptx
 
Real‐time experiments for the acquisition of science competencies: COMBLAB pr...
Real‐time experiments for the acquisition of science competencies: COMBLAB pr...Real‐time experiments for the acquisition of science competencies: COMBLAB pr...
Real‐time experiments for the acquisition of science competencies: COMBLAB pr...
 
Etm writing
Etm writingEtm writing
Etm writing
 
Etm writing
Etm writingEtm writing
Etm writing
 
The Italian students' survey results
The Italian students' survey resultsThe Italian students' survey results
The Italian students' survey results
 
Culinary R&D
Culinary R&DCulinary R&D
Culinary R&D
 
The sostac planning system.pptx
The sostac planning system.pptxThe sostac planning system.pptx
The sostac planning system.pptx
 
Best practices Reducing Food Cost & Food Waste
Best practices Reducing Food Cost & Food WasteBest practices Reducing Food Cost & Food Waste
Best practices Reducing Food Cost & Food Waste
 
Climate kitchen reduce environmental impact of your food
Climate kitchen reduce environmental impact of your foodClimate kitchen reduce environmental impact of your food
Climate kitchen reduce environmental impact of your food
 
All Lesson Plans
All Lesson PlansAll Lesson Plans
All Lesson Plans
 
GraphTour: De-cyphering recipes with Neo4j
GraphTour: De-cyphering recipes with Neo4jGraphTour: De-cyphering recipes with Neo4j
GraphTour: De-cyphering recipes with Neo4j
 
What's cooking
What's cookingWhat's cooking
What's cooking
 
13 a dietary analysis
13 a dietary analysis13 a dietary analysis
13 a dietary analysis
 
Nutrition and Health: Overcoming the challenges: analyzing Cambodian 24-hour ...
Nutrition and Health: Overcoming the challenges: analyzing Cambodian 24-hour ...Nutrition and Health: Overcoming the challenges: analyzing Cambodian 24-hour ...
Nutrition and Health: Overcoming the challenges: analyzing Cambodian 24-hour ...
 
Apresentação slaca camilo
Apresentação slaca camiloApresentação slaca camilo
Apresentação slaca camilo
 
Menu based plan
Menu based planMenu based plan
Menu based plan
 
cromwell-sprung-ramanujan
cromwell-sprung-ramanujancromwell-sprung-ramanujan
cromwell-sprung-ramanujan
 
Rubric WorksheetInternship Portfolio ProjectDoes Not M.docx
Rubric WorksheetInternship Portfolio ProjectDoes Not M.docxRubric WorksheetInternship Portfolio ProjectDoes Not M.docx
Rubric WorksheetInternship Portfolio ProjectDoes Not M.docx
 

Recently uploaded

(PRIYANKA) Katraj Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune E...
(PRIYANKA) Katraj Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune E...(PRIYANKA) Katraj Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune E...
(PRIYANKA) Katraj Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune E...ranjana rawat
 
Dubai Call Girls Drilled O525547819 Call Girls Dubai (Raphie)
Dubai Call Girls Drilled O525547819 Call Girls Dubai (Raphie)Dubai Call Girls Drilled O525547819 Call Girls Dubai (Raphie)
Dubai Call Girls Drilled O525547819 Call Girls Dubai (Raphie)kojalkojal131
 
Call Girls Dubai &ubble O525547819 Call Girls In Dubai Blastcum
Call Girls Dubai &ubble O525547819 Call Girls In Dubai BlastcumCall Girls Dubai &ubble O525547819 Call Girls In Dubai Blastcum
Call Girls Dubai &ubble O525547819 Call Girls In Dubai Blastcumkojalkojal131
 
Pesticide Calculation Review 2013 post.pptx
Pesticide Calculation Review 2013 post.pptxPesticide Calculation Review 2013 post.pptx
Pesticide Calculation Review 2013 post.pptxalfordglenn
 
Top Rated Pune Call Girls JM road ⟟ 6297143586 ⟟ Call Me For Genuine Sex Ser...
Top Rated  Pune Call Girls JM road ⟟ 6297143586 ⟟ Call Me For Genuine Sex Ser...Top Rated  Pune Call Girls JM road ⟟ 6297143586 ⟟ Call Me For Genuine Sex Ser...
Top Rated Pune Call Girls JM road ⟟ 6297143586 ⟟ Call Me For Genuine Sex Ser...Call Girls in Nagpur High Profile
 
ΦΑΓΗΤΟ ΤΕΛΕΙΟ ΞΞΞΞΞΞΞ ΞΞΞΞΞΞ ΞΞΞΞ ΞΞΞΞ Ξ
ΦΑΓΗΤΟ ΤΕΛΕΙΟ ΞΞΞΞΞΞΞ ΞΞΞΞΞΞ ΞΞΞΞ ΞΞΞΞ ΞΦΑΓΗΤΟ ΤΕΛΕΙΟ ΞΞΞΞΞΞΞ ΞΞΞΞΞΞ ΞΞΞΞ ΞΞΞΞ Ξ
ΦΑΓΗΤΟ ΤΕΛΕΙΟ ΞΞΞΞΞΞΞ ΞΞΞΞΞΞ ΞΞΞΞ ΞΞΞΞ Ξlialiaskou00
 
Food & Nutrition Strategy Baseline (FNS.pdf)
Food & Nutrition Strategy Baseline (FNS.pdf)Food & Nutrition Strategy Baseline (FNS.pdf)
Food & Nutrition Strategy Baseline (FNS.pdf)Mohamed Miyir
 
VIP Russian Call Girls in Cuttack Deepika 8250192130 Independent Escort Servi...
VIP Russian Call Girls in Cuttack Deepika 8250192130 Independent Escort Servi...VIP Russian Call Girls in Cuttack Deepika 8250192130 Independent Escort Servi...
VIP Russian Call Girls in Cuttack Deepika 8250192130 Independent Escort Servi...Suhani Kapoor
 
(ISHITA) Call Girls Manchar ( 7001035870 ) HI-Fi Pune Escorts Service
(ISHITA) Call Girls Manchar ( 7001035870 ) HI-Fi Pune Escorts Service(ISHITA) Call Girls Manchar ( 7001035870 ) HI-Fi Pune Escorts Service
(ISHITA) Call Girls Manchar ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
Call Girls in Nashik Ila 7001305949 Independent Escort Service Nashik
Call Girls in Nashik Ila 7001305949 Independent Escort Service NashikCall Girls in Nashik Ila 7001305949 Independent Escort Service Nashik
Call Girls in Nashik Ila 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
Vikas Nagar #Dating Call Girls Lucknow Get 50% Off On VIP Escorts Service 🍇 8...
Vikas Nagar #Dating Call Girls Lucknow Get 50% Off On VIP Escorts Service 🍇 8...Vikas Nagar #Dating Call Girls Lucknow Get 50% Off On VIP Escorts Service 🍇 8...
Vikas Nagar #Dating Call Girls Lucknow Get 50% Off On VIP Escorts Service 🍇 8...akbard9823
 
Week 5 Dessert Accompaniments (Cookery 9)
Week 5 Dessert Accompaniments (Cookery 9)Week 5 Dessert Accompaniments (Cookery 9)
Week 5 Dessert Accompaniments (Cookery 9)MAARLENEVIDENA
 
VIP Russian Call Girls in Noida Deepika 8250192130 Independent Escort Service...
VIP Russian Call Girls in Noida Deepika 8250192130 Independent Escort Service...VIP Russian Call Girls in Noida Deepika 8250192130 Independent Escort Service...
VIP Russian Call Girls in Noida Deepika 8250192130 Independent Escort Service...Suhani Kapoor
 
Top Rated Pune Call Girls Yashwant Nagar ⟟ 6297143586 ⟟ Call Me For Genuine ...
Top Rated  Pune Call Girls Yashwant Nagar ⟟ 6297143586 ⟟ Call Me For Genuine ...Top Rated  Pune Call Girls Yashwant Nagar ⟟ 6297143586 ⟟ Call Me For Genuine ...
Top Rated Pune Call Girls Yashwant Nagar ⟟ 6297143586 ⟟ Call Me For Genuine ...Call Girls in Nagpur High Profile
 
The Most Attractive Pune Call Girls Tingre Nagar 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Tingre Nagar 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Tingre Nagar 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Tingre Nagar 8250192130 Will You Miss Thi...ranjana rawat
 
THE ARTISANAL SALT OF SAN VICENTE, ILOCOS SUR: A CASE STUDY
THE ARTISANAL SALT OF SAN VICENTE, ILOCOS SUR: A CASE STUDYTHE ARTISANAL SALT OF SAN VICENTE, ILOCOS SUR: A CASE STUDY
THE ARTISANAL SALT OF SAN VICENTE, ILOCOS SUR: A CASE STUDYHumphrey A Beña
 
Let Me Relax Dubai Russian Call girls O56338O268 Dubai Call girls AgenCy
Let Me Relax Dubai Russian Call girls O56338O268 Dubai Call girls AgenCyLet Me Relax Dubai Russian Call girls O56338O268 Dubai Call girls AgenCy
Let Me Relax Dubai Russian Call girls O56338O268 Dubai Call girls AgenCystephieert
 
VIP Call Girls Service Shamshabad Hyderabad Call +91-8250192130
VIP Call Girls Service Shamshabad Hyderabad Call +91-8250192130VIP Call Girls Service Shamshabad Hyderabad Call +91-8250192130
VIP Call Girls Service Shamshabad Hyderabad Call +91-8250192130Suhani Kapoor
 

Recently uploaded (20)

(PRIYANKA) Katraj Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune E...
(PRIYANKA) Katraj Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune E...(PRIYANKA) Katraj Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune E...
(PRIYANKA) Katraj Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune E...
 
Dubai Call Girls Drilled O525547819 Call Girls Dubai (Raphie)
Dubai Call Girls Drilled O525547819 Call Girls Dubai (Raphie)Dubai Call Girls Drilled O525547819 Call Girls Dubai (Raphie)
Dubai Call Girls Drilled O525547819 Call Girls Dubai (Raphie)
 
Call Girls Dubai &ubble O525547819 Call Girls In Dubai Blastcum
Call Girls Dubai &ubble O525547819 Call Girls In Dubai BlastcumCall Girls Dubai &ubble O525547819 Call Girls In Dubai Blastcum
Call Girls Dubai &ubble O525547819 Call Girls In Dubai Blastcum
 
Pesticide Calculation Review 2013 post.pptx
Pesticide Calculation Review 2013 post.pptxPesticide Calculation Review 2013 post.pptx
Pesticide Calculation Review 2013 post.pptx
 
Top Rated Pune Call Girls JM road ⟟ 6297143586 ⟟ Call Me For Genuine Sex Ser...
Top Rated  Pune Call Girls JM road ⟟ 6297143586 ⟟ Call Me For Genuine Sex Ser...Top Rated  Pune Call Girls JM road ⟟ 6297143586 ⟟ Call Me For Genuine Sex Ser...
Top Rated Pune Call Girls JM road ⟟ 6297143586 ⟟ Call Me For Genuine Sex Ser...
 
ΦΑΓΗΤΟ ΤΕΛΕΙΟ ΞΞΞΞΞΞΞ ΞΞΞΞΞΞ ΞΞΞΞ ΞΞΞΞ Ξ
ΦΑΓΗΤΟ ΤΕΛΕΙΟ ΞΞΞΞΞΞΞ ΞΞΞΞΞΞ ΞΞΞΞ ΞΞΞΞ ΞΦΑΓΗΤΟ ΤΕΛΕΙΟ ΞΞΞΞΞΞΞ ΞΞΞΞΞΞ ΞΞΞΞ ΞΞΞΞ Ξ
ΦΑΓΗΤΟ ΤΕΛΕΙΟ ΞΞΞΞΞΞΞ ΞΞΞΞΞΞ ΞΞΞΞ ΞΞΞΞ Ξ
 
Food & Nutrition Strategy Baseline (FNS.pdf)
Food & Nutrition Strategy Baseline (FNS.pdf)Food & Nutrition Strategy Baseline (FNS.pdf)
Food & Nutrition Strategy Baseline (FNS.pdf)
 
young Whatsapp Call Girls in Jamuna Vihar 🔝 9953056974 🔝 escort service
young Whatsapp Call Girls in Jamuna Vihar 🔝 9953056974 🔝 escort serviceyoung Whatsapp Call Girls in Jamuna Vihar 🔝 9953056974 🔝 escort service
young Whatsapp Call Girls in Jamuna Vihar 🔝 9953056974 🔝 escort service
 
VIP Russian Call Girls in Cuttack Deepika 8250192130 Independent Escort Servi...
VIP Russian Call Girls in Cuttack Deepika 8250192130 Independent Escort Servi...VIP Russian Call Girls in Cuttack Deepika 8250192130 Independent Escort Servi...
VIP Russian Call Girls in Cuttack Deepika 8250192130 Independent Escort Servi...
 
(ISHITA) Call Girls Manchar ( 7001035870 ) HI-Fi Pune Escorts Service
(ISHITA) Call Girls Manchar ( 7001035870 ) HI-Fi Pune Escorts Service(ISHITA) Call Girls Manchar ( 7001035870 ) HI-Fi Pune Escorts Service
(ISHITA) Call Girls Manchar ( 7001035870 ) HI-Fi Pune Escorts Service
 
Call Girls in Nashik Ila 7001305949 Independent Escort Service Nashik
Call Girls in Nashik Ila 7001305949 Independent Escort Service NashikCall Girls in Nashik Ila 7001305949 Independent Escort Service Nashik
Call Girls in Nashik Ila 7001305949 Independent Escort Service Nashik
 
Vikas Nagar #Dating Call Girls Lucknow Get 50% Off On VIP Escorts Service 🍇 8...
Vikas Nagar #Dating Call Girls Lucknow Get 50% Off On VIP Escorts Service 🍇 8...Vikas Nagar #Dating Call Girls Lucknow Get 50% Off On VIP Escorts Service 🍇 8...
Vikas Nagar #Dating Call Girls Lucknow Get 50% Off On VIP Escorts Service 🍇 8...
 
Week 5 Dessert Accompaniments (Cookery 9)
Week 5 Dessert Accompaniments (Cookery 9)Week 5 Dessert Accompaniments (Cookery 9)
Week 5 Dessert Accompaniments (Cookery 9)
 
VIP Russian Call Girls in Noida Deepika 8250192130 Independent Escort Service...
VIP Russian Call Girls in Noida Deepika 8250192130 Independent Escort Service...VIP Russian Call Girls in Noida Deepika 8250192130 Independent Escort Service...
VIP Russian Call Girls in Noida Deepika 8250192130 Independent Escort Service...
 
Top Rated Pune Call Girls Yashwant Nagar ⟟ 6297143586 ⟟ Call Me For Genuine ...
Top Rated  Pune Call Girls Yashwant Nagar ⟟ 6297143586 ⟟ Call Me For Genuine ...Top Rated  Pune Call Girls Yashwant Nagar ⟟ 6297143586 ⟟ Call Me For Genuine ...
Top Rated Pune Call Girls Yashwant Nagar ⟟ 6297143586 ⟟ Call Me For Genuine ...
 
The Most Attractive Pune Call Girls Tingre Nagar 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Tingre Nagar 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Tingre Nagar 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Tingre Nagar 8250192130 Will You Miss Thi...
 
THE ARTISANAL SALT OF SAN VICENTE, ILOCOS SUR: A CASE STUDY
THE ARTISANAL SALT OF SAN VICENTE, ILOCOS SUR: A CASE STUDYTHE ARTISANAL SALT OF SAN VICENTE, ILOCOS SUR: A CASE STUDY
THE ARTISANAL SALT OF SAN VICENTE, ILOCOS SUR: A CASE STUDY
 
Let Me Relax Dubai Russian Call girls O56338O268 Dubai Call girls AgenCy
Let Me Relax Dubai Russian Call girls O56338O268 Dubai Call girls AgenCyLet Me Relax Dubai Russian Call girls O56338O268 Dubai Call girls AgenCy
Let Me Relax Dubai Russian Call girls O56338O268 Dubai Call girls AgenCy
 
VIP Call Girls Service Shamshabad Hyderabad Call +91-8250192130
VIP Call Girls Service Shamshabad Hyderabad Call +91-8250192130VIP Call Girls Service Shamshabad Hyderabad Call +91-8250192130
VIP Call Girls Service Shamshabad Hyderabad Call +91-8250192130
 
Call Girls In Tilak Nagar꧁❤ 🔝 9953056974🔝❤꧂ Escort ServiCe
Call Girls In  Tilak Nagar꧁❤ 🔝 9953056974🔝❤꧂ Escort ServiCeCall Girls In  Tilak Nagar꧁❤ 🔝 9953056974🔝❤꧂ Escort ServiCe
Call Girls In Tilak Nagar꧁❤ 🔝 9953056974🔝❤꧂ Escort ServiCe
 

Thai food recommendation

  • 1. THAI FOOD RECOMMENDATION Based on your preference!! 1. Russamee Nakaphun 2. Yada Limsuwan 3. Vanathip Gijruenthong 4. Chanokporn Youngpakool 5. Korrapin Pimapansri Business Analytics and Data Science ,NIDA
  • 2. Member 2 1. น.ส. รัศมี นาคะพันธุ์ 6210422053​ 2. น.ส. ญาดา ลิ้มสุวรรณ 6210422056 3. น.ส. วนาทิพย์ กิจเรือนทอง 6210422059 4. น.ส. ชนกพร ยังพะกูล 6210422065 5. น.ส. กรพินธุ์ พิมาพันธุ์ศรี 6220422056
  • 3. WHAT? 3 “Thai Food Recommendation for foreigners based on their preference.”
  • 4. WHY? 4 • Thai food are variety. • Foreigners knew only popular Thai food. • Increase Thai food fans. • More favorite Thai food.
  • 5. What we do? Step 1 Step 2 Step 3 Step 4 Step 5 Data Collection - Recipes (Yummly) - Ingredients - Food Categories Data Preparation Data cleaning Modeling - Feature Selection - Similarity model Exploratory Analysis - Cuisines - Ingredients - Community Detection Evaluation - Testing 5
  • 6. Data Collection (Recipes) 6 - From 60+ recipe sites/blogs - 27,638 Recipes (JSON Files) Features: Ingredients, Cuisine, Recipe Title, Flavor, Ratings, Nutrition etc.
  • 7. Data Collection (Ingredients) 7 BBC Food - 26 Webpages (A-Z) of Ingredient Names - 1000+ Individual Food Ingredients
  • 8. Data Collection (Ingredients) 8 Kaggle - 2 JSON files with id and ingredients FooDB - Provides dataset that contains information about compounds, proteins, contents, nutrients , etc. - We use only Food.csv Features: Name, Food group, Food subgroup, etc.
  • 9. Data Preparation 9 28K JSON Files Remove recipes - No flavor information - Duplicated by ID Remove specific words from ingredients Scraped Ingredient list Import Ingredient list Combine, add plural words and remove specific words such as low fat, fat free, non fat, etc. Clean ingredients Import Ingredient Category Add ingredient category to recipes
  • 10. Data Preparation 10 Data Cleaning (Ingredients) Clean ingredients Create Nested Dictionary {Recipe:{Ingr:w}} - Unweighted : 1 - Weighted : x gram per 1 serving Convert Dictionary to Dataframe. (Dataframe is matrix between recipes and ingredients)
  • 12. Exploratory Analysis 12 Most commonly used ingredients.Top country cuisines
  • 13. 13 Exploratory Analysis Most commonly used ingredients by cuisines.
  • 14. 14 Exploratory Analysis Most commonly used ingredients by cuisines.
  • 15. Exploratory Analysis 15 Relation of ingredient between cuisines
  • 16. Modeling 16 Feature Selection Ingredients Flavor [0,1] - Sweet - Sour - Bitter - Piquant - Salty - MeatyProportion of Ingredients ( gram per serving) Number of servings Ingredient Category
  • 17. Modeling 17 Ingredient (No weight) Many Thai Coconut Curry Soup with Chicken !
  • 18. Modeling 18 Ingredient (No weight) FlavorIngredient (Weight) Category SimJaccard (Ingri , Ingrj) SimCosine (Ingri , Ingrj) SimCosine (Flavori, Flavorj) SimJaccard (Categoryi, Categoryj) Recipe
  • 19. Modeling 19 SimJaccard (Ingri , Ingrj) SimCosine (Ingri , Ingrj) SimCosine (Flavori, Flavorj) SimJaccard (Catagoriesi, Catagoriesj) A x B x C x D x + All approach are combined together. *A, B, C, D can be adjustable. Similarity
  • 21. Modeling 21 Problem of Limited memory 0 10 20 30 40 50 60 70 80 90 ComputationTime(S) Computation Time (S) normal array/dataframe Computation Time (S) dask (chunk) Model Computation Time (S) Normal Chunk case1 = ((jac_sim_ingredient)+(cos_sim_weighted_flavor)+(jac_sim_categories))/3 14.6 0.4 case2 = ((cos_sim_weighted_ingredient)+(cos_sim_weighted_flavor)+(jac_sim_categories))/3 78 4.69 case3 = (0.2*jac_sim_ingredient)+(0.5*cos_sim_weighted_flavor)+(0.3*jac_sim_categories) 15.4 0 case4 = (0.3*cos_sim_weighted_ingredient)+(0.5*cos_sim_weighted_flavor)+(0.2*jac_sim_categories) 15.9 0 case5 = (0.3*cos_sim_weighted_ingredient)+(0.2*cos_sim_weighted_flavor)+(0.5*jac_sim_categories) 15.7 0 case6 = (0.5*cos_sim_weighted_ingredient)+(0.2*cos_sim_weighted_flavor)+(0.3*jac_sim_categories) 15.8 1.56 case7 = (0.2*cos_sim_weighted_ingredient)+(0.3*cos_sim_weighted_flavor)+(0.5*jac_sim_categories) 16.1 1.56 case8 = (0.5*cos_sim_weighted_ingredient)+(0.3*cos_sim_weighted_flavor)+(0.2*jac_sim_categories) 15.7 0 case9 = (cos_sim_weighted_flavor+cos_sim_weighted_ingredient+jac_sim_categories+jac_sim_ingredient)/4 12.9 0.263  Compute in “Chunk” very faster than normal array!  Fixed “Memory Error” problem
  • 22. Evaluation 22 Case Test Correct Accuracy (%) 1 100 41 41.00 2 97 40 41.24 3 96 41 42.71 4 112 44 39.29 5 111 46 41.44 6 111 46 41.44 Final Similarity = (0.2*jaccard(Ingredients))(0.5*cosine(flavors))+(0.3*jaccard(categories)) Process : Result (sample size = 628 times) :
  • 23. Conclusion ● Community Detection ○ Thai food are in the clusters of Morocco, Mexican, Cuba, South West and India ○ Important common ingredients can be found in various countries for example Thai foods usually found fish sauce, coconut milk, lemon juice, coriander, garlic ● Similarity Computation ○ Main problem is “Memory Error”, especially Jaccard Similarity ○ Necessary to apply “Parallel Computation” to solve this problem. This project used “Dask library” which the library from “Chunk” concept. Moreover, it very fast running. ● Combination Models ○ This project selected 6 combination models from similarity matrix of Ingredients, favor, food categories ○ This 6 models differentiate from combination and weighting, as a result, every models have accuracy closely 23
  • 24. Future Works ● Should more Thai foods data with a variety ● More analysis with ○ Key Ingredients ○ Customer data for example rating ○ Methods for example puff, boil, fried, grill ● Test the system with more people, especially foreigners ● Develop the interface with image searching then recommend with text, image and restaurant location 24