Explanatory AI Predicts the Diet Adopted Based on Nutritional and Lifestyle Habits in the Spanish Population
Open Access
- 24 January 2025
- journal article
- research article
- Published by MDPI AG in European Journal of Investigation in Health, Psychology and Education
- Vol. 15 (2) , 11
Abstract
This study used Explainable Artificial Intelligence (XAI) with SHapley Additive exPlanations (SHAP) to examine dietary and lifestyle habits in the Spanish population and identify key diet predictors. A cross-sectional design was used, employing the validated NutSo-HH scale to gather data on nutrition, lifestyle, and socio-demographic factors. The CatBoost method combined with SHAP was applied. The sample included 22,181 Spanish adults: 17,573 followed the Mediterranean diet, 1425 were vegetarians, 365 were vegans, and 1018 practiced intermittent fasting. Fish consumption was the strongest dietary indicator, with vegans abstaining and some vegetarians consuming it occasionally. Age influenced diet: younger individuals preferred vegan/vegetarian diets, while older adults adhered to the Mediterranean diet. Vegans and vegetarians consumed less junk food, and intermittent fasters were more physically active. The model effectively predicts the Mediterranean diet but struggles with others due to sample imbalance, highlighting the need for larger studies on plant-based and intermittent fasting diets.Keywords
This publication has 75 references indexed in Scilit:
- Mediterranean diet in the management and prevention of obesityExperimental Gerontology, 2023
- Plant-based and vegetarian diets: an overview and definition of these dietary patternsEuropean Journal of Nutrition, 2023
- Vegetarian diets in Spain: Temporal evolution through national health surveys and their association with healthy lifestylesEndocrinología, Diabetes y Nutrición, 2022
- A qualitative examination of the motivations behind vegan, vegetarian, and omnivore diets in an Australian population.Appetite, 2021
- Interpretation of machine learning models using shapley values: application to compound potency and multi-target activity predictionsJournal of Computer-Aided Molecular Design, 2020
- Artificial Intelligence, Machine Learning, Deep Learning, and Cognitive Computing: What Do These Terms Mean and How Will They Impact Health Care?The Journal of Arthroplasty, 2018
- Social determinants and health behaviors: conceptual frames and empirical advancesCurrent Opinion in Psychology, 2015
- Vegetarian Diets and Blood PressureJAMA Internal Medicine, 2014
- World Medical Association Declaration of HelsinkiJAMA, 2013
- A Shapley Value Representation of Potential GamesGames and Economic Behavior, 2000