SlideShare a Scribd company logo
1 of 17
Content Analysis
on
Healthy Main Dish Recipes
Professor Yilu Zhou
Xiayu Zeng, Hong Zhang, Feifei Chen, Yixi Zhang
Introduction
Background
● Allrecipes.com provides a platform and forum for everyone to search for
recipes, post recipes and make comments. The website is concerned
about attracting more website visits by improving the quantity and quality
of recipes, since people now are more health-conscious and prefer a
healthy balanced diet.
Problem Statement
● The research studies 718 healthy main dish recipes and explores:
1. Which ingredients and/or cooking methods are most popular for a
healthy diet?
2. Which factors contribute most to the popularity of a recipe?
3. What writing style of recipes attracts most reviews?
Methodology
Data
Source
Data
Preprocessing
Analytics
Application
Text Mining
Data Mining
● Weka(Ingredients)
● Stanford Parser (Directions)
● Python
● R
● SPSS Modeler
● Tableau
● Variables Selection
● Data Cleansing
● Website:
allrecipes.com
Top
influence
factors
Variable lists:
● Number of reviews
● Video(Y/N)
● Photo(Y/N)
* Number of reviews is used to
measure the popularity of the
recipe
● Number of Ingredients
● Ingredients(text)
Example of a recipe:
● Prep time
● Cook time
● Ready time
* Ready time does not
necessarily equals to (Prep time +
Cook time)
● Directions(text)
● Length of directions
● Number of steps
● Average length of directions
● Calories
● Cholesterol
● Fiber
● Sodium
● Carbohydrates
● Fat
● Protein
Analysis on Directions
Tool: Stanford Parser, Python
Steps:
● Adopted VB (including VBD,VBG,VBN,VBP,VBZ)
● Neglect useless verbs, eg. cook, use, take
● Combine similar verbs related to cooking methods
● Calculate total count of verbs
Most Popular Cooking Methods
● Top 1: “Bake”
● Healthy Cooking Methods:
eg. “Simmer”(108), “Saute”(93), “Boiling”(56)
● Unhealthy Cooking Methods:
eg. “Grill”(37), “Fry”(25), “Burn”(7)
Top 20 Verbs of Cooking
Top 30 Verbs
Analysis on Ingredients
Tool: Weka
Steps:
● Split a string into an n gram with 1- 4 grams
● Output word count
● Delete meaningless words or phrases
● Calculate total word frequency
● Drill down analysis
● Associations within ingredients
Word Frequency
Top main ingredients:Top seasonings:
seasoning Freq
garlic 425
olive oil 298
black
pepper 214
cheese 195
lemon 147
basil 97
ginger 92
vegetable
oil 92
wine 92
lemon juice 88
parsley 88
vinegar 80
cilantro 71
cumin 68
ingredient Freq
onion 384
chicken 328
bell
pepper 149
pasta 131
mushroom 97
tomato 95
bean 81
carrot 58
rice 58
potato 54
orange 53
flour 50
pork 49
zucchini 44
● 65% of top main
ingredients are
vegetable and
fruit, 21% are
staple food and
14% are meat
● Chicken meat is a healthy kind of protein compared to other kinds of meat (like
beef and pork)
● Chicken breast has 3 times lower in fat and 25% in calories compared to drumsticks
and wings
● Skin and internal organs are the fattest parts, thus 87% of chicken breast are
skinless and boneless
Drill-Down Analysis
Brown sugar:
● more minerals
● vitamin B enricher
● more flavors and textures
Honey isn’t just Sugar!
● energy source
● source of vitamins and
minerals
● weight loss
● Parmesan Cheese has much more
calcium than any other cheese, and it is
also low-lactose
● 67% of Cheddar cheese are reduced-fat
● Benefits of olive oil for heart, skin and
hair
● Canola oil that is not healthy for
cardiovascular system takes only 3%
Cheese Oil
Association - The overall
associations are
categorized into 4
groups: chicken,
garlic, onion and
pasta
- Offer ideas for
users to cook healthy
food by providing a
list of common
ingredients
Data Mining - Data Preprocessing(target variable)
● Number of reviews is a
continuous variable
● The majority of number
of reviews falls into the
range of [0,600]
● Existence of outliers
Solution:
Divide the variable evenly
into three categories
Distribution of Number of reviews
Variables that have strong correlations
within each other:
● Number of ingredients & length of
directions
● Ready time & Cooking time
● Length of direction & Average length of
recipe
● Calories & fat
● Calories & carbohydrate
● Calories & protein
● Protein & Cholesterol
Solution:
● Remove following input variables:
cooking time, length of direction,
calories
Data Mining
- Data Preprocessing (Correlation between Numeric variables)
Average Length vs. Ready Time
Fat vs. Calories
No correlation
strong correlation
Data mining
Neural Networks(3 layers):
Decision tree(C 5.0):
Top 5 important
predictors:
● Recipe photo(Y/N)
● Video(Y/N)
● Sodium/mg
● Ready Time/min
● Carbohydrate/mg
* Results in R is very similar
Recommendations
In order to attract more website traffics, health main dish
recipes are suggested to have:
● video/photos
● sodium: 200 ~ 800 mg
● # of ingredients: 7-12
● <80-minute ready time
● avg.length of direction: 20~40 words

More Related Content

Similar to Content analysis on healthy dish recipes

thesis defence ppt
thesis defence pptthesis defence ppt
thesis defence ppt
Anam Baig
 
Captstone FINAL presentation
Captstone FINAL presentationCaptstone FINAL presentation
Captstone FINAL presentation
Ryan Blair
 
Operations Management A CEO Checklist for High-Value H.docx
Operations Management A CEO Checklist for High-Value H.docxOperations Management A CEO Checklist for High-Value H.docx
Operations Management A CEO Checklist for High-Value H.docx
vannagoforth
 
1 healthcare system and control
1   healthcare system and control1   healthcare system and control
1 healthcare system and control
Tamer Arayes
 

Similar to Content analysis on healthy dish recipes (20)

thesis defence ppt
thesis defence pptthesis defence ppt
thesis defence ppt
 
Leading an improvement project
Leading an improvement projectLeading an improvement project
Leading an improvement project
 
Achieve Healthier Communities CDC Grant results, NDSU Extension Grand Forks C...
Achieve Healthier Communities CDC Grant results, NDSU Extension Grand Forks C...Achieve Healthier Communities CDC Grant results, NDSU Extension Grand Forks C...
Achieve Healthier Communities CDC Grant results, NDSU Extension Grand Forks C...
 
Nutritional Assessment by Dr. Vinod G. Nikam
Nutritional Assessment by Dr. Vinod G. Nikam Nutritional Assessment by Dr. Vinod G. Nikam
Nutritional Assessment by Dr. Vinod G. Nikam
 
Captstone FINAL presentation
Captstone FINAL presentationCaptstone FINAL presentation
Captstone FINAL presentation
 
Example of Marketing Research Analytics Project
Example of Marketing Research Analytics Project Example of Marketing Research Analytics Project
Example of Marketing Research Analytics Project
 
Thai food recommendation
Thai food recommendationThai food recommendation
Thai food recommendation
 
Animal breeding goals
Animal breeding goalsAnimal breeding goals
Animal breeding goals
 
Menu labeling risk mitigation
Menu labeling  risk mitigationMenu labeling  risk mitigation
Menu labeling risk mitigation
 
ICRISAT Global Planning Meeting 2019: Modernising ICRISAT Crop Improvement &...
ICRISAT Global Planning Meeting 2019:  Modernising ICRISAT Crop Improvement &...ICRISAT Global Planning Meeting 2019:  Modernising ICRISAT Crop Improvement &...
ICRISAT Global Planning Meeting 2019: Modernising ICRISAT Crop Improvement &...
 
The Data Maze: Navigating the Complexities of Data Governance
The Data Maze: Navigating the Complexities of Data GovernanceThe Data Maze: Navigating the Complexities of Data Governance
The Data Maze: Navigating the Complexities of Data Governance
 
Diet Counselling required in oral health care
Diet Counselling required in oral health careDiet Counselling required in oral health care
Diet Counselling required in oral health care
 
Nutrials ct m zangara
Nutrials ct m zangaraNutrials ct m zangara
Nutrials ct m zangara
 
WMasters_AffordabilityOfNutritiousDiets_UConnSeminar_28Mar2018.pptx
WMasters_AffordabilityOfNutritiousDiets_UConnSeminar_28Mar2018.pptxWMasters_AffordabilityOfNutritiousDiets_UConnSeminar_28Mar2018.pptx
WMasters_AffordabilityOfNutritiousDiets_UConnSeminar_28Mar2018.pptx
 
NABH Overwiew
NABH OverwiewNABH Overwiew
NABH Overwiew
 
Operations Management A CEO Checklist for High-Value H.docx
Operations Management A CEO Checklist for High-Value H.docxOperations Management A CEO Checklist for High-Value H.docx
Operations Management A CEO Checklist for High-Value H.docx
 
Umap22_MainConference.pdf
Umap22_MainConference.pdfUmap22_MainConference.pdf
Umap22_MainConference.pdf
 
1 healthcare system and control
1   healthcare system and control1   healthcare system and control
1 healthcare system and control
 
Starke2024 Etmaal Natural Language Justifications for a Knowledge-based recip...
Starke2024 Etmaal Natural Language Justifications for a Knowledge-based recip...Starke2024 Etmaal Natural Language Justifications for a Knowledge-based recip...
Starke2024 Etmaal Natural Language Justifications for a Knowledge-based recip...
 
PDF document
PDF documentPDF document
PDF document
 

Recently uploaded

ENG2203 - Introduction to Phonetics and Phonology vi vi.pdf
ENG2203 - Introduction to Phonetics and Phonology  vi vi.pdfENG2203 - Introduction to Phonetics and Phonology  vi vi.pdf
ENG2203 - Introduction to Phonetics and Phonology vi vi.pdf
gardiamail12
 
LESSON 1 PREPARE AND COOKING MEAT GRADE 10
LESSON 1 PREPARE AND COOKING MEAT GRADE 10LESSON 1 PREPARE AND COOKING MEAT GRADE 10
LESSON 1 PREPARE AND COOKING MEAT GRADE 10
manwithoutapfp
 
一比一原版(Cornell毕业证书)康奈尔大学毕业证成绩单学位证靠谱定制
一比一原版(Cornell毕业证书)康奈尔大学毕业证成绩单学位证靠谱定制一比一原版(Cornell毕业证书)康奈尔大学毕业证成绩单学位证靠谱定制
一比一原版(Cornell毕业证书)康奈尔大学毕业证成绩单学位证靠谱定制
hwoudye
 
FSSAI.ppt Food safety standards act in RAFN
FSSAI.ppt Food safety standards act in RAFNFSSAI.ppt Food safety standards act in RAFN
FSSAI.ppt Food safety standards act in RAFN
Lokesh Kothari
 
如何办理新加坡管理大学毕业证成绩单留信学历认证
如何办理新加坡管理大学毕业证成绩单留信学历认证如何办理新加坡管理大学毕业证成绩单留信学历认证
如何办理新加坡管理大学毕业证成绩单留信学历认证
zg99vwgda
 
Medical Foods final.ppt (Regulatory Aspects of Food & Nutraceiticals)
Medical Foods final.ppt (Regulatory Aspects of Food & Nutraceiticals)Medical Foods final.ppt (Regulatory Aspects of Food & Nutraceiticals)
Medical Foods final.ppt (Regulatory Aspects of Food & Nutraceiticals)
Lokesh Kothari
 
一比一原版(uOttawa毕业证书)加拿大渥太华大学毕业证如何办理
一比一原版(uOttawa毕业证书)加拿大渥太华大学毕业证如何办理一比一原版(uOttawa毕业证书)加拿大渥太华大学毕业证如何办理
一比一原版(uOttawa毕业证书)加拿大渥太华大学毕业证如何办理
hwoudye
 
一比一原版查尔斯特大学毕业证如何办理
一比一原版查尔斯特大学毕业证如何办理一比一原版查尔斯特大学毕业证如何办理
一比一原版查尔斯特大学毕业证如何办理
hwoudye
 
一比一原版(LMU毕业证书)英国伦敦都市大学毕业证学位证可查学历认证
一比一原版(LMU毕业证书)英国伦敦都市大学毕业证学位证可查学历认证一比一原版(LMU毕业证书)英国伦敦都市大学毕业证学位证可查学历认证
一比一原版(LMU毕业证书)英国伦敦都市大学毕业证学位证可查学历认证
funaxa
 
一比一原版卡尔顿大学毕业证(carleton毕业证)学历认证靠谱办理
一比一原版卡尔顿大学毕业证(carleton毕业证)学历认证靠谱办理一比一原版卡尔顿大学毕业证(carleton毕业证)学历认证靠谱办理
一比一原版卡尔顿大学毕业证(carleton毕业证)学历认证靠谱办理
hwoudye
 

Recently uploaded (20)

Chaine des Rotisseurs Gala Dinner Menu May 25 2024 Cambodia
Chaine des Rotisseurs Gala Dinner Menu May 25 2024 CambodiaChaine des Rotisseurs Gala Dinner Menu May 25 2024 Cambodia
Chaine des Rotisseurs Gala Dinner Menu May 25 2024 Cambodia
 
The Codex Alimentarius Commission (CAC).
The Codex Alimentarius Commission (CAC).The Codex Alimentarius Commission (CAC).
The Codex Alimentarius Commission (CAC).
 
Exploring the Benefits of Philippines Cuisine
Exploring the Benefits of Philippines CuisineExploring the Benefits of Philippines Cuisine
Exploring the Benefits of Philippines Cuisine
 
原版1:1定制(IC大学毕业证)帝国理工学院大学毕业证国外文凭复刻成绩单#电子版制作#留信入库#多年经营绝对保证质量
原版1:1定制(IC大学毕业证)帝国理工学院大学毕业证国外文凭复刻成绩单#电子版制作#留信入库#多年经营绝对保证质量原版1:1定制(IC大学毕业证)帝国理工学院大学毕业证国外文凭复刻成绩单#电子版制作#留信入库#多年经营绝对保证质量
原版1:1定制(IC大学毕业证)帝国理工学院大学毕业证国外文凭复刻成绩单#电子版制作#留信入库#多年经营绝对保证质量
 
PRESTAIR MANUFACTURER OF DISPLAY COUNTER
PRESTAIR MANUFACTURER OF DISPLAY COUNTERPRESTAIR MANUFACTURER OF DISPLAY COUNTER
PRESTAIR MANUFACTURER OF DISPLAY COUNTER
 
ENG2203 - Introduction to Phonetics and Phonology vi vi.pdf
ENG2203 - Introduction to Phonetics and Phonology  vi vi.pdfENG2203 - Introduction to Phonetics and Phonology  vi vi.pdf
ENG2203 - Introduction to Phonetics and Phonology vi vi.pdf
 
NO1 Pakistan Amil Baba In Bahawalpur, Sargodha, Sialkot, Sheikhupura, Rahim Y...
NO1 Pakistan Amil Baba In Bahawalpur, Sargodha, Sialkot, Sheikhupura, Rahim Y...NO1 Pakistan Amil Baba In Bahawalpur, Sargodha, Sialkot, Sheikhupura, Rahim Y...
NO1 Pakistan Amil Baba In Bahawalpur, Sargodha, Sialkot, Sheikhupura, Rahim Y...
 
LESSON 1 PREPARE AND COOKING MEAT GRADE 10
LESSON 1 PREPARE AND COOKING MEAT GRADE 10LESSON 1 PREPARE AND COOKING MEAT GRADE 10
LESSON 1 PREPARE AND COOKING MEAT GRADE 10
 
Food Preservatives Market by Product Type, Distribution Channel, End User 202...
Food Preservatives Market by Product Type, Distribution Channel, End User 202...Food Preservatives Market by Product Type, Distribution Channel, End User 202...
Food Preservatives Market by Product Type, Distribution Channel, End User 202...
 
一比一原版(Cornell毕业证书)康奈尔大学毕业证成绩单学位证靠谱定制
一比一原版(Cornell毕业证书)康奈尔大学毕业证成绩单学位证靠谱定制一比一原版(Cornell毕业证书)康奈尔大学毕业证成绩单学位证靠谱定制
一比一原版(Cornell毕业证书)康奈尔大学毕业证成绩单学位证靠谱定制
 
Abortion pills in Jeddah +966572737505 <> buy cytotec <> unwanted kit Saudi A...
Abortion pills in Jeddah +966572737505 <> buy cytotec <> unwanted kit Saudi A...Abortion pills in Jeddah +966572737505 <> buy cytotec <> unwanted kit Saudi A...
Abortion pills in Jeddah +966572737505 <> buy cytotec <> unwanted kit Saudi A...
 
NO1 Top Online Amil Baba in Rawalpindi Contact Number Amil in Rawalpindi Kala...
NO1 Top Online Amil Baba in Rawalpindi Contact Number Amil in Rawalpindi Kala...NO1 Top Online Amil Baba in Rawalpindi Contact Number Amil in Rawalpindi Kala...
NO1 Top Online Amil Baba in Rawalpindi Contact Number Amil in Rawalpindi Kala...
 
FSSAI.ppt Food safety standards act in RAFN
FSSAI.ppt Food safety standards act in RAFNFSSAI.ppt Food safety standards act in RAFN
FSSAI.ppt Food safety standards act in RAFN
 
如何办理新加坡管理大学毕业证成绩单留信学历认证
如何办理新加坡管理大学毕业证成绩单留信学历认证如何办理新加坡管理大学毕业证成绩单留信学历认证
如何办理新加坡管理大学毕业证成绩单留信学历认证
 
Medical Foods final.ppt (Regulatory Aspects of Food & Nutraceiticals)
Medical Foods final.ppt (Regulatory Aspects of Food & Nutraceiticals)Medical Foods final.ppt (Regulatory Aspects of Food & Nutraceiticals)
Medical Foods final.ppt (Regulatory Aspects of Food & Nutraceiticals)
 
一比一原版(uOttawa毕业证书)加拿大渥太华大学毕业证如何办理
一比一原版(uOttawa毕业证书)加拿大渥太华大学毕业证如何办理一比一原版(uOttawa毕业证书)加拿大渥太华大学毕业证如何办理
一比一原版(uOttawa毕业证书)加拿大渥太华大学毕业证如何办理
 
一比一原版查尔斯特大学毕业证如何办理
一比一原版查尔斯特大学毕业证如何办理一比一原版查尔斯特大学毕业证如何办理
一比一原版查尔斯特大学毕业证如何办理
 
一比一原版(LMU毕业证书)英国伦敦都市大学毕业证学位证可查学历认证
一比一原版(LMU毕业证书)英国伦敦都市大学毕业证学位证可查学历认证一比一原版(LMU毕业证书)英国伦敦都市大学毕业证学位证可查学历认证
一比一原版(LMU毕业证书)英国伦敦都市大学毕业证学位证可查学历认证
 
Jual Obat Aborsi Sorong, Wa : 0822/2310/9953 Apotik Jual Obat Cytotec Di Sorong
Jual Obat Aborsi Sorong, Wa : 0822/2310/9953 Apotik Jual Obat Cytotec Di SorongJual Obat Aborsi Sorong, Wa : 0822/2310/9953 Apotik Jual Obat Cytotec Di Sorong
Jual Obat Aborsi Sorong, Wa : 0822/2310/9953 Apotik Jual Obat Cytotec Di Sorong
 
一比一原版卡尔顿大学毕业证(carleton毕业证)学历认证靠谱办理
一比一原版卡尔顿大学毕业证(carleton毕业证)学历认证靠谱办理一比一原版卡尔顿大学毕业证(carleton毕业证)学历认证靠谱办理
一比一原版卡尔顿大学毕业证(carleton毕业证)学历认证靠谱办理
 

Content analysis on healthy dish recipes

  • 1. Content Analysis on Healthy Main Dish Recipes Professor Yilu Zhou Xiayu Zeng, Hong Zhang, Feifei Chen, Yixi Zhang
  • 2. Introduction Background ● Allrecipes.com provides a platform and forum for everyone to search for recipes, post recipes and make comments. The website is concerned about attracting more website visits by improving the quantity and quality of recipes, since people now are more health-conscious and prefer a healthy balanced diet. Problem Statement ● The research studies 718 healthy main dish recipes and explores: 1. Which ingredients and/or cooking methods are most popular for a healthy diet? 2. Which factors contribute most to the popularity of a recipe? 3. What writing style of recipes attracts most reviews?
  • 3. Methodology Data Source Data Preprocessing Analytics Application Text Mining Data Mining ● Weka(Ingredients) ● Stanford Parser (Directions) ● Python ● R ● SPSS Modeler ● Tableau ● Variables Selection ● Data Cleansing ● Website: allrecipes.com Top influence factors
  • 4. Variable lists: ● Number of reviews ● Video(Y/N) ● Photo(Y/N) * Number of reviews is used to measure the popularity of the recipe ● Number of Ingredients ● Ingredients(text) Example of a recipe:
  • 5. ● Prep time ● Cook time ● Ready time * Ready time does not necessarily equals to (Prep time + Cook time) ● Directions(text) ● Length of directions ● Number of steps ● Average length of directions ● Calories ● Cholesterol ● Fiber ● Sodium ● Carbohydrates ● Fat ● Protein
  • 6. Analysis on Directions Tool: Stanford Parser, Python Steps: ● Adopted VB (including VBD,VBG,VBN,VBP,VBZ) ● Neglect useless verbs, eg. cook, use, take ● Combine similar verbs related to cooking methods ● Calculate total count of verbs
  • 7. Most Popular Cooking Methods ● Top 1: “Bake” ● Healthy Cooking Methods: eg. “Simmer”(108), “Saute”(93), “Boiling”(56) ● Unhealthy Cooking Methods: eg. “Grill”(37), “Fry”(25), “Burn”(7) Top 20 Verbs of Cooking Top 30 Verbs
  • 8. Analysis on Ingredients Tool: Weka Steps: ● Split a string into an n gram with 1- 4 grams ● Output word count ● Delete meaningless words or phrases ● Calculate total word frequency ● Drill down analysis ● Associations within ingredients
  • 9. Word Frequency Top main ingredients:Top seasonings: seasoning Freq garlic 425 olive oil 298 black pepper 214 cheese 195 lemon 147 basil 97 ginger 92 vegetable oil 92 wine 92 lemon juice 88 parsley 88 vinegar 80 cilantro 71 cumin 68 ingredient Freq onion 384 chicken 328 bell pepper 149 pasta 131 mushroom 97 tomato 95 bean 81 carrot 58 rice 58 potato 54 orange 53 flour 50 pork 49 zucchini 44 ● 65% of top main ingredients are vegetable and fruit, 21% are staple food and 14% are meat
  • 10. ● Chicken meat is a healthy kind of protein compared to other kinds of meat (like beef and pork) ● Chicken breast has 3 times lower in fat and 25% in calories compared to drumsticks and wings ● Skin and internal organs are the fattest parts, thus 87% of chicken breast are skinless and boneless Drill-Down Analysis
  • 11. Brown sugar: ● more minerals ● vitamin B enricher ● more flavors and textures Honey isn’t just Sugar! ● energy source ● source of vitamins and minerals ● weight loss
  • 12. ● Parmesan Cheese has much more calcium than any other cheese, and it is also low-lactose ● 67% of Cheddar cheese are reduced-fat ● Benefits of olive oil for heart, skin and hair ● Canola oil that is not healthy for cardiovascular system takes only 3% Cheese Oil
  • 13. Association - The overall associations are categorized into 4 groups: chicken, garlic, onion and pasta - Offer ideas for users to cook healthy food by providing a list of common ingredients
  • 14. Data Mining - Data Preprocessing(target variable) ● Number of reviews is a continuous variable ● The majority of number of reviews falls into the range of [0,600] ● Existence of outliers Solution: Divide the variable evenly into three categories Distribution of Number of reviews
  • 15. Variables that have strong correlations within each other: ● Number of ingredients & length of directions ● Ready time & Cooking time ● Length of direction & Average length of recipe ● Calories & fat ● Calories & carbohydrate ● Calories & protein ● Protein & Cholesterol Solution: ● Remove following input variables: cooking time, length of direction, calories Data Mining - Data Preprocessing (Correlation between Numeric variables) Average Length vs. Ready Time Fat vs. Calories No correlation strong correlation
  • 16. Data mining Neural Networks(3 layers): Decision tree(C 5.0): Top 5 important predictors: ● Recipe photo(Y/N) ● Video(Y/N) ● Sodium/mg ● Ready Time/min ● Carbohydrate/mg * Results in R is very similar
  • 17. Recommendations In order to attract more website traffics, health main dish recipes are suggested to have: ● video/photos ● sodium: 200 ~ 800 mg ● # of ingredients: 7-12 ● <80-minute ready time ● avg.length of direction: 20~40 words