Development of a Machine Learning Model for Classifying Cooking Recipes According to Dietary Styles
Abstract
:1. Introduction
2. Materials and Methods
2.1. Database
2.2. Statistical Analysis
3. Results
4. Discussion
5. Conclusions
Supplementary Materials
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- Gabriel, A.S.; Ninomiya, K.; Uneyama, H. The role of the Japanese traditional diet in healthy and sustainable dietary patterns around the world. Nutrients 2018, 10, 173. [Google Scholar] [CrossRef] [PubMed]
- Cang, V. Japan’s washoku as intangible heritage: The role of national food traditions in UNESCO’s cultural heritage scheme. Int. J. Cult. Prop. 2018, 25, 491–513. [Google Scholar] [CrossRef]
- Watanabe, Z. The transition of the Japanese-Style diet. Will Japan’s food culture become the World’s new macrobiotic diet and general health food? In The 2006 Kikkoman Food Culture Seminar; Kikkoman Corporation: Tokyo, Japan, 2006; pp. 1–5. Available online: https://www.kikkoman.com/jp/kiifc/foodculture/pdf_13/e_002_006.pdf (accessed on 10 January 2024).
- Murakami, K.; Livingstone, M.B.E.; Sasaki, S. Thirteen-year trends in dietary patterns among Japanese adults in the national health and nutrition survey 2003–2015: Continuous westernization of the Japanese diet. Nutrients 2018, 10, 994. [Google Scholar] [CrossRef] [PubMed]
- Suzuki, N.; Goto, Y.; Ota, H.; Kito, K.; Mano, F.; Joo, E.; Ikeda, K.; Inagaki, N.; Nakayama, T. Characteristics of the Japanese diet described in epidemiologic publications: A qualitative systematic review. J. Nutr. Sci. Vitaminol. 2018, 64, 129–137. [Google Scholar] [CrossRef]
- Stanton, W.R.; Owens, J.D. Fermented Foods: Fermentations of the far east. In Encyclopedia of Food Science and Nutrition, 2nd ed.; Caballero, B.F.P., Toldra, F., Eds.; Academic Press: Cambridge, MA, USA, 2003; pp. 2344–2351. [Google Scholar]
- Hajeb, P.; Jinap, S. Umami taste components and their sources in Asian foods. Crit. Rev. Food Sci. Nutr. 2015, 55, 778–791. [Google Scholar] [CrossRef] [PubMed]
- Ikeda, N.; Saito, E.; Kondo, N.; Inoue, M.; Ikeda, S.; Satoh, T.; Wada, K.; Stickley, A.; Katanoda, K.; Mizoue, T.; et al. What has made the population of Japan healthy? Lancet 2011, 378, 1094–1105. [Google Scholar] [CrossRef] [PubMed]
- Matsushita, M.; Fujita, K.; Nonomura, N. Influence of diet and nutrition on prostate cancer. Int. J. Mol. Sci. 2020, 21, 1447. [Google Scholar] [CrossRef] [PubMed]
- Shirota, M.; Watanabe, N.; Suzuki, M.; Kobori, M. Japanese-style diet and cardiovascular disease mortality: A systematic review and meta-analysis of prospective cohort studies. Nutrients 2022, 14, 2008. [Google Scholar] [CrossRef]
- Matsuyama, S.; Shimazu, T.; Tomata, Y.; Zhang, S.; Abe, S.; Lu, Y.; Tsuji, I. Japanese diet and mortality, disability, and dementia: Evidence from the Ohsaki cohort Study. Nutrients 2022, 14, 2034. [Google Scholar] [CrossRef]
- Zhao, J.; Li, Z.; Gao, Q.; Zhao, H.; Chen, S.; Huang, L.; Wang, W.; Wang, T. A review of statistical methods for dietary pattern analysis. Nutr. J. 2021, 20, 37. [Google Scholar] [CrossRef]
- Murakami, K.; Shinozaki, N.; Fujiwara, A.; Yuan, X.; Hashimoto, A.; Fujihashi, H.; Wang, H.C.; Livingstone, M.B.E.; Sasaki, S. A systematic review of principal component analysis-derived dietary patterns in Japanese adults: Are Major dietary patterns reproducible within a country? Adv. Nutr. 2019, 10, 237–249. [Google Scholar] [CrossRef]
- Morgenstern, J.D.; Rosella, L.C.; Costa, A.P.; de Souza, R.J.; Anderson, L.N. Perspective: Big data and machine learning could help advance nutritional epidemiology. Adv. Nutr. 2021, 12, 621–631. [Google Scholar] [CrossRef] [PubMed]
- Oliveira Chaves, L.; Gomes Domingos, A.L.; Louzada Fernandes, D.; Ribeiro Cerqueira, F.; Siqueira-Batista, R.; Bressan, J. Applicability of machine learning techniques in food intake assessment: A systematic review. Crit. Rev. Food Sci. Nutr. 2023, 63, 902–919. [Google Scholar] [CrossRef]
- Hearty, A.P.; Gibney, M.J. Analysis of meal patterns with the use of supervised data mining techniques--Artificial neural networks and decision trees. Am. J. Clin. Nutr. 2008, 88, 1632–1642. [Google Scholar] [CrossRef] [PubMed]
- Easton, J.F.; Román Sicilia, H.; Stephens, C.R. Classification of diagnostic subcategories for obesity and diabetes based on eating patterns. Nutr. Diet. 2019, 76, 104–109. [Google Scholar] [CrossRef]
- Yu, E.Y.W.; Wesselius, A.; Sinhart, C.; Wolk, A.; Stern, M.C.; Jiang, X.; Tang, L.; Marshall, J.; Kellen, E.; van den Brandt, P.; et al. A data mining approach to investigate food groups related to incidence of bladder cancer in the BLadder cancer Epidemiology and Nutritional Determinants International Study. Br. J. Nutr. 2020, 124, 611–619. [Google Scholar] [CrossRef] [PubMed]
- Sasaki, S. For Working Group 1 of the Healthy Diet Research Committee of International Life Sciences Institute, Japan. What is the scientific definition of the Japanese diet from the viewpoint of nutrition and health? Nutr. Rev. 2020, 78 (Suppl. S2), 18–26. [Google Scholar] [CrossRef]
- Oishi Kenko Inc. Oishi Kenko. Available online: https://oishi-kenko.com/ (accessed on 10 January 2024).
- Ministry of Education, Culture, Sports, Science, and Technology. Standard Tables of Food Composition in Japan, 7th Revised ed. 2015. Available online: https://www.mext.go.jp/en/policy/science_technology/policy/title01/detail01/sdetail01/sdetail01/1385122.htm (accessed on 10 January 2024).
- Lundberg, S.M.; Lee, S.-I. A unified approach to interpreting model predictions. In Proceedings of the 31st Conference on Neural Information Processing Systems; NIPS; Long Beach, CA, USA, 2017. [Google Scholar]
- Breiman, L. Random forests. Mach. Learn. 2001, 45, 5–32. [Google Scholar] [CrossRef]
- Cortes, C.; Vapnik, V. Support-vector networks. Mach. Learn. 1995, 20, 273–297. [Google Scholar] [CrossRef]
- Chen, T.Q.; Guestrin, C. XGBoost: A scalable tree boosting system. In Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, San Fransisco, CA, USA, 13–17 August 2016; pp. 785–794. [Google Scholar] [CrossRef]
- Ke, G.; Meng, Q.; Finley, T.; Wang, T.; Chen, W.; Ma, W.; Ye, Q.; Liu, T.Y. LightGBM: A highly efficient gradient boosting decision tree. In Proceedings of the 31st International Conference on Neural Information Processing Systems, Long Beach, CA, USA, 4–9 December 2017; pp. 3149–3157. [Google Scholar]
- LeCun, Y.; Bengio, Y.; Hinton, G. Deep learning. Nature 2015, 521, 436–444. [Google Scholar] [CrossRef]
- Baratloo, A.; Hosseini, M.; Negida, A.; El Ashal, G. Part 1: Simple definition and calculation of accuracy, sensitivity and specificity. Emergency 2015, 3, 48–49. [Google Scholar] [PubMed]
- Nahm, F.S. Receiver operating characteristic curve: Overview and practical use for clinicians. Korean J. Anesthesiol. 2022, 75, 25–36. [Google Scholar] [CrossRef] [PubMed]
- Guilford, J.P. The minimal phi coefficient and the maximal phi. Educ. Psychol. Meas. 1965, 25, 3–8. [Google Scholar] [CrossRef]
- Matthews, B.W. Comparison of the predicted and observed secondary structure of T4 phage lysozyme. Biochim. Biophys. Acta (BBA) Protein Struct. 1975, 405, 442–451. [Google Scholar] [CrossRef]
- Martin-Morales, A.; Yamamoto, M.; Inoue, M.; Vu, T.; Dawadi, R.; Araki, M. Predicting cardiovascular disease mortality: Leveraging machine learning for comprehensive assessment of health and nutrition variables. Nutrients 2023, 15, 3937. [Google Scholar] [CrossRef] [PubMed]
- Kikuchi, Y.; Takebayashi, T.; Sasaki, S. Iodine concentration in current Japanese foods and beverages. Nihon Eiseigaku Zasshi (Jpn. J. Hyg.) 2008, 63, 724–734. (In Japanese) [Google Scholar] [CrossRef] [PubMed]
- Zhang, N.; Ma, G. Nutritional characteristics and health effects of regional cuisines in China. J. Ethn. Foods 2020, 7, 7. [Google Scholar] [CrossRef]
- Jiang, K.; Zhang, Z.; Fullington, L.A.; Huang, T.T.; Kaliszewski, C.; Wei, J.; Zhao, L.; Huang, S.; Ellithorpe, A.; Wu, S.; et al. Dietary patterns and obesity in Chinese adults: A systematic review and meta-analysis. Nutrients 2022, 14, 4911. [Google Scholar] [CrossRef]
- Davis, C.; Bryan, J.; Hodgson, J.; Murphy, K. Definition of the Mediterranean diet; a literature review. Nutrients 2015, 7, 9139–9153. [Google Scholar] [CrossRef]
- Klosse, P. Umami in wine. Res. Hosp. Manag. 2013, 2, 25–28. [Google Scholar] [CrossRef]
- Sagi, O.; Rokach, L. Ensemble learning: A survey. WIREs Data Min. Knowl. 2018, 8, e1249. [Google Scholar] [CrossRef]
Data | Components | Examples | n |
---|---|---|---|
Annotation data | Cooking type | Staple food, side dish, main dish | 12 |
Cooking genre | Korean food, ethnic food, others | 6 | |
Finishing cooking method | Fry, bake, steam | 9 | |
Main ingredients | Meat, vegetables, milk and dairy products | 26 | |
Arrangement type | Calcium fortification, diets for morning sickness, Dysphagia diet | 16 | |
Main seasoning type | Consommé, sweetener (sugar, mirin, honey), miso, sauce (Worcestershire sauce), other seasoning, dashi | 15 | |
Taste characteristics | Dashi flavor, sesame flavor, soy sauce taste, salty | 14 | |
Texture | No stimulation to oral cavity, easy to swallow, thicken | 15 | |
Temperature | Room temperature, hot, very cold | 5 | |
Suitable time zone | Anytime, for lunch, for breakfast | 5 | |
Estimated cooking time | Within 5 min, within 15 min, within one hour cooking | 7 | |
Season | Throughout a year, spring, summer | 5 | |
Easy point | Only toaster oven, easy cooking, few cooking steps | 25 | |
Nutrition point | Salt-free, “Diet” in the title, “Healthy” in the title | 12 | |
Smell characteristics | No protein smell, easy to detect the smell of the ingredients | 2 | |
Situation | For lunch box, for party, easy one-item lunch | 7 | |
Necessary cooking utensils | Wooden pestle, oven, food processor | 15 | |
Infectious disease countermeasures | Avoid infections, need caution about listeria food poisoning, need caution about the growth of bacteria | 3 | |
Suitable event | New year (Osechi: traditional Japanese diets), Christmas, Valentine’s Day | 6 | |
Material | Include dairy products, include tomato, include garlic, include potato, include green onion | 80 | |
Nutrition value | Include foods with no measurement of potassium, include caffeine, very low fat and/or energy percent | 34 | |
Effects on the digestive system | Good for digestion, adjust the intestinal environment, less likely to generate intestinal gas | 2 | |
Basic or arrangement | Basic, arrangement | 2 | |
Trouble symptoms | Complementary food for nutrition supply, abdominal distension, less force required for arms or hands | 31 | |
Cooking method | Including frying process | 1 | |
Cooking difficulty | Beginner, intermediate, advanced | 4 | |
Allergen-free | Allergen-free of pork, allergen-free of sesame, allergen-free of apple | 7 | |
Nutrients (unit/dish) † | Energy | Energy (kcal) | 1 |
Protein | Protein (g) | 1 | |
Amino acid | Amino acid composition (g) | 1 | |
Fat | Fat (g), triacylglycerol (g) | 2 | |
Fatty acid | Saturated fatty acid (g), monounsaturated fatty acid (g), polyunsaturated fatty acid (mg) | 3 | |
Cholesterol | Cholesterol (g) | 1 | |
Carbohydrate | Carbohydrate (g), available carbohydrate (g) | 2 | |
Fiber | Total fiber (mg), soluble fiber (g), insoluble fiber (g) | 3 | |
Mineral | Iodine (μg), sodium (mg), calcium (mg) | 13 | |
Vitamin | Vitamin C (mg), gamma-tocopherol (mg), pantothenic acid (μg) | 21 | |
Water | Water (g) | 1 | |
Ash | Ash (g) | 1 | |
Ingredients † | Cereals | Brown rice, rice cake (mochi), pasta | 76 |
Potatoes and starches | Sweet potato, potato, starch | 29 | |
Sugars and sweeteners | Superfine sugar, honey, brown sugar | 16 | |
Pulses | Green beans, green beans, soy beans | 42 | |
Nuts and seeds | Walnuts, sesame, peanuts | 25 | |
Vegetables | Purple onion, parsley, cabbage | 186 | |
Fruits | Apple, banana, strawberry | 78 | |
Mushrooms | Shiitake mushroom, enoki mushroom, eryngii mushroom | 20 | |
Algae | Edible brown algae (hijiki), kelp, Wakame seaweed | 30 | |
Fish, mollusks, and crustaceans | Horse mackerel, mackerel, shrimp | 157 | |
Meat | Pork, beef, chicken | 92 | |
Eggs | Chicken eggs, quail eggs, silky eggs | 10 | |
Milk and dairy products | Milk, yogurt, cheese | 28 | |
Fats and oils | Olive oil, sesame oil, rapeseed oil | 14 | |
Confectionaries | Donuts, jelly, cookies | 11 | |
Beverages | Rice wine, whiskey, coffee | 31 | |
Seasonings and spices | Pepper, mirin, doubanjiang, oyster sauce, chicken broth | 100 | |
Prepared foods | Gyoza (frozen), fried squid (for frying, frozen), curry (beef, retort pouch) | 8 | |
Original ingredients | MCT oil, bonito flake, protein powder | 178 |
Dietary Style | Models | Accuracy | AUC | F1-Score | MCC |
---|---|---|---|---|---|
Japanese diet | RFC | 0.86 | 0.93 | 0.86 | 0.71 |
LR | 0.86 | 0.93 | 0.86 | 0.71 | |
SVC | 0.86 | 0.93 | 0.86 | 0.72 | |
XGB | 0.88 | 0.94 | 0.88 | 0.75 | |
LGBM | 0.88 | 0.94 | 0.88 | 0.76 | |
DNN | 0.86 | 0.94 | 0.86 | 0.72 | |
Chinese diet | RFC | 0.95 | 0.95 | 0.84 | 0.68 |
LR | 0.91 | 0.93 | 0.79 | 0.61 | |
SVC | 0.93 | 0.93 | 0.81 | 0.63 | |
XGB | 0.94 | 0.95 | 0.83 | 0.66 | |
LGBM | 0.93 | 0.96 | 0.83 | 0.67 | |
DNN | 0.89 | 0.91 | 0.77 | 0.56 | |
Western diet | RFC | 0.88 | 0.95 | 0.87 | 0.75 |
LR | 0.89 | 0.95 | 0.88 | 0.77 | |
SVC | 0.89 | 0.95 | 0.88 | 0.77 | |
XGB | 0.89 | 0.96 | 0.88 | 0.77 | |
LGBM | 0.89 | 0.96 | 0.88 | 0.76 | |
DNN | 0.90 | 0.95 | 0.89 | 0.78 |
RFC | LR | SVC | XGB | LGBM a | DNN | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Features | +/− b | Features | +/− | Features | +/− | Features | +/− | Features | +/− | Features | +/− |
Include dairy products | − | Soy sauce taste ‡ | + | Anytime | N.A. | Soy sauce taste ‡ | + | Soy sauce taste ‡ | + | Soy sauce taste ‡ | + |
Soy sauce taste ‡ | + | Chicken broth | − | Chicken broth | Olive oil | − | Olive oil | − | Chicken broth | − | |
Olive oil | − | Consommé | − | Consommé | Include dairy products | − | Include dairy products | − | Sweetener (sugar, mirin, honey) | + | |
Iodine ‡ | + | Olive oil | − | Korean food | Miso ‡ | + | Miso ‡ | + | No stimulation to oral cavity | + | |
Mirin ‡ | + | Dashi flavor ‡ | + | Sauce (Worcestershire sauce) | Iodine ‡ | + | Mirin ‡ | + | Other seasoning | − | |
Chicken broth | − | Sweetener (sugar, mirin, honey) | + | Purple onion | Pepper | − | Dashi flavor ‡ | + | Include foods with no measurement of potassium | − | |
Pepper | − | Include foods with no measurement of potassium | − | Oyster sauce | Dashi flavor | + | Dashi ‡ | + | Consommé | − | |
Include tomato | − | Pepper | − | Pepper | Mirin ‡ | + | Pepper | − | Soy sauce ‡ | + | |
Consommé | − | Miso ‡ | + | Ethnic food | Chicken broth | − | Include tomato | − | Miso ‡ | + | |
Dashi ‡ | + | Allergen-free of pork | + | Olive oil | No stimulation to oral cavity | + | Iodine ‡ | + | Room temperature | + |
RFC a | LR | SVC | XGB | LGBM | DNN | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Features | +/− b | Features | +/− | Features | +/− | Features | +/− | Features | +/− | Features | +/− |
Sesame oil ‡ | + | Chicken broth ‡ | + | Chicken broth ‡ | N.A. | Sesame oil ‡ | + | Sesame oil ‡ | + | Chicken broth ‡ | + |
Chicken broth ‡ | + | Oyster sauce ‡ | + | Oyster sauce ‡ | Chicken broth ‡ | + | Chicken broth ‡ | + | Sesame oil ‡ | + | |
Oyster sauce ‡ | + | Sesame oil ‡ | + | Sesame oil ‡ | Oyster sauce ‡ | + | Oyster sauce ‡ | + | Sesame flavor ‡ | + | |
Starch ‡ | + | Allergen-free of sesame | + | Diets for morning sickness | Starch | + | Olive oil | − | Oyster sauce ‡ | + | |
Gamma-tocopherol | + | Sesame flavor | + | For party | Doubanjiang ‡ | + | Mirin | − | Allergen-free of sesame | − | |
Doubanjiang ‡ | + | Include potato | + | Include green onion | Mirin | − | Iodine | − | For lunch | + | |
Allergen-free of sesame | − | Include green onion | + | Doubanjiang ‡ | Allergen-free of sesame | − ‡ | Doubanjiang ‡ | + | Include potato | + | |
Fry | + | Fry | + | Sesame flavor | Include dairy products | − | Starch ‡ | + | Side dish | − | |
Sodium | + | Sauce (Worcestershire sauce) | + | For breakfast | Olive oil | − | Pantothenic acid | + | Other seasoning | + | |
Mirin | − | Throughout a year | + | Sauce (Worcestershire sauce) | Iodine | − | Easy cooking | + | Very low fat and/or energy percent | − |
RFC | LR | SVC | XGB | LGBM | DNN a | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Features | +/− b | Features | +/− | Features | +/− | Features | +/− | Features | +/− | Features | +/− |
Include dairy products ‡ | + | Olive oil ‡ | + | Ethnic food | N.A. | Include dairy products ‡ | + | Olive oil ‡ | + | Olive oil ‡ | + |
Olive oil ‡ | + | Include dairy products ‡ | + | Olive oil ‡ | Olive oil ‡ | + | Include dairy products ‡ | + | Include dairy products ‡ | + | |
Soy sauce taste | − | Include tomato ‡ | + | Consommé ‡ | Soy sauce taste | − | Vitamin C | + | Include tomato ‡ | + | |
Sesame oil | − | Consommé ‡ | + | Within one hour cooking | Sesame oil | − | Soy sauce taste | − | Soy sauce taste | − | |
Milk and dairy products ‡ | + | Soy sauce taste | − | Thicken | Vitamin C | + | Sesame oil | − | Polyunsaturated fatty acids | − | |
Consommé ‡ | + | Low fat energy percent | − | Include garlic ‡ | Consommé ‡ | + | Consommé ‡ | + | Allergen-free of apple | − | |
Soy sauce | − | Milk and dairy products ‡ | + | Include tomato ‡ | Include tomato ‡ | + | Include tomato ‡ | + | Salty | + | |
Gamma tocopherol | − | Ethnic food | − | Wooden pestle | Rice wine | − | Rice wine | − | Very low fat and/or energy percent | − | |
Rice wine | − | Include garlic ‡ | + | Pasta | Parsley | + | Parsley | + | Include garlic ‡ | + | |
Sesame flavor | − | No stimulation to oral cavity | − | Calcium fortification | Miso | − | Miso | − | Caution about germ growth | + |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2024 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Yamaguchi, M.; Araki, M.; Hamada, K.; Nojiri, T.; Nishi, N. Development of a Machine Learning Model for Classifying Cooking Recipes According to Dietary Styles. Foods 2024, 13, 667. https://doi.org/10.3390/foods13050667
Yamaguchi M, Araki M, Hamada K, Nojiri T, Nishi N. Development of a Machine Learning Model for Classifying Cooking Recipes According to Dietary Styles. Foods. 2024; 13(5):667. https://doi.org/10.3390/foods13050667
Chicago/Turabian StyleYamaguchi, Miwa, Michihiro Araki, Kazuki Hamada, Tetsuya Nojiri, and Nobuo Nishi. 2024. "Development of a Machine Learning Model for Classifying Cooking Recipes According to Dietary Styles" Foods 13, no. 5: 667. https://doi.org/10.3390/foods13050667
APA StyleYamaguchi, M., Araki, M., Hamada, K., Nojiri, T., & Nishi, N. (2024). Development of a Machine Learning Model for Classifying Cooking Recipes According to Dietary Styles. Foods, 13(5), 667. https://doi.org/10.3390/foods13050667