Next Article in Journal
Fatigue in Hemodialysis Patients: A Comparative Analysis with Healthy Controls
Previous Article in Journal
Analysis of Maternity Rights Perception: Impact of Maternal Care in Diverse Socio-Health Contexts
Previous Article in Special Issue
Unlocking Patient Resistance to AI in Healthcare: A Psychological Exploration
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Explanatory AI Predicts the Diet Adopted Based on Nutritional and Lifestyle Habits in the Spanish Population

by
Elena Sandri
1,2,
Germán Cerdá Olmedo
1,
Michela Piredda
3,*,
Lisa Ursula Werner
4 and
Vincenzo Dentamaro
5
1
Faculty of Medicine and Health Sciences, Catholic University of Valencia San Vicente Mártir, c/Quevedo, 2, 46001 Valencia, Spain
2
Doctoral School, Catholic University of Valencia San Vicente Mártir, c/Quevedo 2, 46001 Valencia, Spain
3
Department of Medicine and Surgery, Research Unit Nursing Science, Università Campus Bio-Medico di Roma, Via Alvaro del Portillo, 21-00128 Rome, Italy
4
Faculty of Teaching and Science of Education, Catholic University of Valencia San Vicente Mártir, c/Quevedo, 2, 46001 Valencia, Spain
5
Department of Computer Science, University of Bari Aldo Moro, Via E. Orabona, 4, 70125 Bari, Italy
*
Author to whom correspondence should be addressed.
Eur. J. Investig. Health Psychol. Educ. 2025, 15(2), 11; https://doi.org/10.3390/ejihpe15020011
Submission received: 22 November 2024 / Revised: 13 January 2025 / Accepted: 17 January 2025 / Published: 24 January 2025

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.

1. Introduction

The type of diet people adopt and their lifestyle habits have a significant impact on health (Kandel, 2019; Cena & Calder, 2020). A balanced and healthy diet provides the essential nutrients the body needs to function optimally (Cena & Calder, 2020), and helps to maintain a healthy weight (Lim, 2018) and to prevent the onset of disease (Diab et al., 2023; Neuhouser, 2019; Gropper, 2023). Healthy sleep habits improve cognitive function (Khan & Al-Jahdali, 2023), strengthen physical and mental health (Tyagi et al., 2023), and regulate metabolism and weight (Cooper et al., 2018). In addition, adequate rest contributes to a longer life and reduces stress (Mazzotti et al., 2014). Regular physical activity strengthens muscles and bones (Hillsdon & Foster, 2018), improves cardiovascular health (Pinckard et al., 2019), helps maintain a healthy weight (Goldberg & King, 2007), promotes mental well-being, and improves mood (Mahindru et al., 2023), reducing the risk of chronic diseases (Usmani et al., 2023). Finally, exercise increases energy (Puetz, 2006), contributing to a better overall quality of life (Marquez et al., 2020). Therefore, the combination of a healthy diet and good lifestyle habits can have positive synergistic effects.
In Spain, the dietary pattern traditionally recognised as Mediterranean, characterised by high consumption of fruit and vegetables, use of olive oil as the main source of fat, reduced consumption of meat and dairy products, and moderate consumption of red wine, has stood out for its numerous health benefits (Guasch-Ferré & Willett, 2021; Shen et al., 2015; Dominguez et al., 2023). However, in recent years, its prevalence has declined while other dietary patterns, such as plant-based diets (PBDs), have gained ground in the population (Abellán Alemán et al., 2016; Herrera-Ramos et al., 2023).
PBDs are characterised by a reduced consumption of foods of animal origin (Acevedo Cantero et al., 2023; Euromonitor International, 2024). The most widely followed PBDs are the vegetarian diet (VD), which excludes some animal-based foods from the dietary plan, and the vegan diet (VG), which eliminates the consumption of all animal products. Another noteworthy dietetic behaviour is intermittent calorie restriction (ICR) or intermittent fasting (IF), which involves alternating periods of significant energy restriction with regular energy intake (Rynders et al., 2019).
Recent studies have investigated the health impact of these new dietary patterns (Yokoyama et al., 2014; Tantamango-Bartley et al., 2015; Ivanova et al., 2021; Welton et al., 2020; Yuan et al., 2022; Sandri et al., 2023a), and significant attention has also been devoted to understanding the motivations behind the adoption of vegetarian and vegan lifestyles (North et al., 2021; Miki et al., 2020), as well as intermittent fasting practices (Ganesan et al., 2018). However, studies quantifying the associations between a population’s dietary preferences and its social and lifestyle behaviours, as well as their connections with socio-demographic determinants are still lacking.
The field of health and social and lifestyle habits is broad and multifaceted, which often makes it difficult to understand in depth which variables most influence health, which factors determine one dietary choice over another, or which conditioning factors affect social and lifestyle habits and to what extent (Short & Mollborn, 2015). To address this complexity, a novel and increasingly popular solution is to use Artificial Intelligence (AI) (Bini, 2018).
Contemporary AI tools can achieve remarkable accuracy and help enormously in the context of medicine and healthcare in general, yet they can be complex to understand (Prokhorenkova et al., 2017; Dentamaro et al., 2024; Shen et al., 2017). This is particularly true for models known as “black-box”, whose internal workings are opaque or hidden even to experienced scientists. To address this, a new branch of Artificial Intelligence has been developed: Explainable Artificial Intelligence (XAI) (Gunning et al., 2019). XAI encompasses a set of tools and frameworks designed to help users comprehend and interpret the predictions made by machine learning (ML) models (Palar et al., 2023).
The central hypothesis underpinning this research is that there is a direct relationship between the dietary patterns adopted by individuals and their nutritional habits, social behaviours, and lifestyle choices. This relationship suggests that dietary practices do not exist in isolation but are deeply interconnected with broader social and cultural norms, as well as individual routines and health-related behaviours. Understanding these dynamics can provide valuable insights into how social and lifestyle factors influence dietary decisions, shaping public health outcomes and nutritional well-being.
This analysis aimed to apply XAI (specifically, an explainability method called SHAP (SHapley Additive exPlanations) to a dataset on eating and lifestyle habits of the Spanish population to identify the strongest predictors for certain diets.

2. Materials and Methods

2.1. Type of Study and Sampling

A cross-sectional study was conducted to describe the population residing in Spain aged 18 and older.

2.2. Inclusion and Exclusion Criteria

  • Inclusion criteria:
    • Individuals aged 18 years or older.
    • Spanish citizens.
    • Residents of Spain.
  • Exclusion criteria:
    • Individuals with chronic conditions could influence their dietary habits.
    • Participants experiencing temporary circumstances during the survey period that disrupted their usual diet, such as hospitalization, incarceration, or similar situations.

2.3. Ethical Approval

The research adhered to the ethical principles outlined in the Declaration of Helsinki (World Medical Association, 2013) and received approval from the Research Ethics Committee of the Catholic University of Valencia (approval code UCV/2019-2020/152, on 18 June 2020). Informed consent was obtained from all participants prior to their involvement in the study.

2.4. Instrument

The data collection instrument utilized in this study was the Nutritional and Social Healthy Habits Scale (NutSo-HH) (Sandri et al., 2024c). The instrument’s development and psychometric testing adhered to stringent methodological standards. An expert panel (N = 7), including a nutritionist, two family doctors, two psychologists, a social educator, and a communication expert, evaluated the content validity. Face validity was assessed through a pilot study involving 53 individuals with characteristics akin to the study population.
The scale comprises 23 items designed to evaluate various nutritional and lifestyle aspects, such as the frequency of consumption of specific foods and beverages, alcohol use, tobacco habits, and rest patterns, among other factors. Additionally, a section of the questionnaire was dedicated to investigating potential symptoms of eating disorders. The questionnaire also gathered information on self-perceived health status, diet-related illnesses, eating disorder symptoms, nutritional habits, food consumption frequency, sedentary behaviours, physical activity duration, and health-related social habits such as sleep patterns, smoking, and alcohol consumption. Moreover, the questionnaire explores socio-demographic variables including sex, age, municipality (the variable distinguishes the size of the municipality of residence in three categories: small (≤2000 inhabitants); medium (2000 < inhabitants ≤ 10,000); large (>10,000 inhabitants)), type of residence, home (variable discriminates whether a respondent lives in the family home or outside), alone (the variable discriminates whether a respondent lives alone or with other people), education level, and income. It also covers anthropometric variables such as weight and height, type of diet, and other relevant health variables to provide a comprehensive assessment of the participants’ nutritional and lifestyle habits. Most variables are qualitative, allowing multiple-choice and frequency range selections. Continuous quantitative variables include age, weight, height, and weekly minutes of sports. Discrete quantitative variables, such as self-reported health levels, follow a Likert scale format. Table A1 in Appendix A shows in detail the list of variables analysed and their typology.

2.5. Data Collection

The survey was hosted online and distributed via non-probabilistic snowball sampling, mainly through social media platforms like Instagram, LinkedIn, Twitter, WhatsApp, and Facebook. An Instagram account, @elretonutricional, was created to engage professionals and influencers.
To reach segments of the population less familiar with social networks, a physical dissemination of the questionnaire was also conducted. For this purpose, associations and establishments across Spain, selected for their diverse audiences, were contacted via email. After providing a detailed explanation of the project, those willing to collaborate in the dissemination were sent a poster featuring a QR code. They were asked to display the poster in their establishments or share it with their members. The poster presented the project in a concise and engaging manner, enabling participants to easily and quickly complete the online survey by scanning the QR code.
Data collection spanned from August 2020 to November 2021, ensuring a broad and diverse sample.
Before starting the data analysis with the machine learning methods, the obtained data were downloaded into a Microsoft Excel file in order to prepare it. Surveys that did not meet the inclusion criteria and those with incomplete or erroneous data (e.g., responses with a 14 kg/m2 < body mass index (BMI) < 40 kg/m2) were removed. Finally, the variables were categorised.

2.6. Grouping and Categorisation of Variables

Some of the food frequency variables (fruit, vegetables, meat, dairy, cereals, pulses and soft drinks) were utilized to calculate the Healthy Eating Index for the Spanish population (IASE) (Índice de Alimentación Saludable de la población Española), based on a validated condensed version by (Norte Navarro & Ortiz Moncada, 2011). Based on the IASE score, nutritional habits were classified into three categories: “Healthy” (58.4 < IASE ≤ 73), “Needs changes” (36.5 ≤ IASE ≤ 58.4), and “Unhealthy” (IASE < 36.5). A detailed description of how the scale has been adapted can be found in a previous article (Sandri et al., 2023b, 2024b). Figure 1 shows the distribution of the population with respect to the IASE score obtained.
Nutritional variables not addressed by the IASE and lifestyle variables were categorized on a Likert scale ranging from 1 to 4 points, except for signs of eating disorders, which used a Likert scale of 1 to 6 following the same criteria as in the previous article (Sandri et al., 2024a, 2024d). Finally, body mass index (BMI) and minutes of sports were used as a numerical variable.
The variable to be predicted was Special Diet, containing the following classes: Mediterranean diet, vegan, intermittent fasting, ovolactovegetarian, flexitarian diet, lactovegetarian, ovovegetarian. The last 4 categories, which are variants of the vegetarian category, were all grouped within this category.

2.7. Comparison and Selection of Machine Learning Algorithms

Machine learning algorithms are not universally applicable; multidimensional experimental studies involving multiple classification algorithms and model testing methods are necessary to select the most suitable approach. Initially four classification models were considered, specifically: Random Forest, an ensemble model that combines the output of multiple decision trees to reach a single result (Breiman, 2001). Histogram-based Gradient Boosting (Nhat-Duc & Van-Duc, 2023), an ensemble model based on the Gradient Boosting technique, which is a model that operates sequentially by combining the predictions of, typically, decision trees. XGBoost (Chen & Guestrin, 2016), a short for eXtreme Gradient Boosting, is one of the most used ensemble models due to its speed. CatBoost, short for Categorical Boosting (Dorogush et al., 2018; Hancock & Khoshgoftaar, 2020), is a gradient boosting implementation optimized to deal with categorical features. All these models were run and the results were compared to select the best one that finally was CatBoost.
Developed by Yandex (2017), CatBoost stands out in several key areas as delivers high-quality results without parameter tuning, supports categorical features, implements GPU acceleration or provides fast predictions. CatBoost addresses a common limitation of other decision tree-based methods, which typically require categorical string variables to be converted into numerical values through pre-processing. It can directly handle a mix of categorical and non-categorical explanatory variables without needing such pre-processing. CatBoost’s encoding method, called Ordered Encoding, uses target statistics from all preceding rows to determine a value for replacing the categorical feature (Hancock & Khoshgoftaar, 2020). This unique capability was the main reason for choosing this model over others.

2.8. SHapley Additive exPlanations (SHAP) Approach

For the interpretation of the results obtained with the CatBoost’s method, the SHAP approach was used. SHAP is based on the so-called SHAP values that are used to explain the output of a ML model (Lundberg & Lee, 2017). SHAP values are based on the Shapley values from game theory and assign an importance value to each feature in a model (Ui, 2000). Positive SHAP values positively impact the prediction, while negative ones have a negative impact (Rodríguez-Pérez & Bajorath, 2020).
While model-agnostic, SHAP is especially good for tree ensemble methods (Lundberg et al., 2020) (like CatBoost). The most important properties of SHAP Values are:
(1)
Additivity SHAP values are additive, meaning that the contribution of each feature to the final prediction can be computed independently and then summed up.
(2)
Local accuracy SHAP values sum up to the difference between the expected model output and the actual output for a given input.
(3)
Missingness SHAP values are zero for features that are missing or irrelevant to a prediction.
(4)
Consistency SHAP values only change when the model is modified if the contribution of a feature changes.
SHAP offers several explainers optimized for certain models and has a powerful API to create plots that can guide the analysis of the results (Palar et al., 2023).
The most used SHAP plots are:
(1)
Dependency plot: A scatter plot that shows the effect a single feature has on the predictions made by the model.
(2)
Force plot: Shows how features contribute to the model’s prediction for a specific observation.
(3)
Waterfall plot: Used to gain insights into how features contribute to a single prediction. Starting from a base value, each row shows how the positive (red) or negative (blue) contribution of each feature moves the value from the expected model output (E[f(x)]) to the model output for that prediction (f(x)).
(4)
Decision plot: Provides insights into how each feature contributes to the model’s prediction for a specific instance and how a model arrives at its predictions. It is similar to a force plot, but it is more useful when there are a large number of significant features involved due to the direction in which the plot goes.
(5)
Summary plot: Provides insights into how each feature contributes to the output of the model from a global point of view. Its components are:
  • feature importance: represented on the Y-axis with the most important features at the top and the least important at the bottom;
  • SHAP values: represented on the X-axis, they can be positive (to the right) or negative (to the left);
  • feature value: represented by the colour scale that can be seen on the right of the plot.
Moreover, the densest portions are “taller” than the others.
The summary plot was used to obtain the results of this study as it provided the most useful information for our purposes.

2.9. Approach for Interpretable Machine Learning

The experiment was conducted using a systematic and rigorous approach, ensuring the validity and reliability of the results. The following steps were meticulously executed:
  • Data Preparation:
    Data Loading and Cleaning: The dataset was first read into the analysis environment. The target feature, which indicates the dietary pattern, and the sex variable were removed since the dataset only included female participants. This step was crucial to prevent any potential bias in the model that could arise from gender-specific dietary habits.
    Unification of Classes: The various vegetarian dietary patterns (ovolactovegetarian, flexitarian, lactovegetarian, ovovegetarian) were unified into a single ’Vegetarian’ class. This decision was based on the rationale that these diets share significant similarities and consolidating them would enhance the model’s ability to generalize across different vegetarian diets.
    Handling Missing Data: Any rows with missing values (NaNs) were removed to ensure that the dataset was complete. This step was critical to avoid introducing biases or inaccuracies in the model due to incomplete data.
In order to mitigate the inherent class imbalance observed within the dataset, a thorough investigation into various resampling methodologies was undertaken. The initial class distribution of the IASE Classification, as depicted in Figure 1, reveals a notable disparity; specifically, 1407 samples (constituting 6.3%) were categorized as “Unhealthy”, 12,252 samples (representing 55.2%) were classified as “Needs changes”, and 8522 samples (accounting for 38.4%) were designated as “Healthy”. Three distinct strategies were evaluated to address this imbalance: the application of weighted classes, the implementation of targeted sampling, and the utilization of SMOTENC (Synthetic Minority Over-sampling Technique for Nominal and Continuous features). The weighted classes approach incorporated empirically derived weights of 5.255, 0.603, and 0.868 for the unhealthy, needs changes, and healthy classes, respectively; these weights were calculated based on the inverse class frequencies. While both the weighted classes and targeted sampling techniques demonstrated improvements in the prediction of the minority class, SMOTENC exhibited superior performance, particularly in the preservation of the complex relationships between nominal and continuous features present within the dietary data. This advantage was particularly evident in maintaining the intricate correlations between nutritional components while generating synthetic samples for the underrepresented unhealthy class. The selection of SMOTENC was further substantiated by its capacity to maintain enhanced F1-scores across all classes when compared to alternative methodologies. The employment of SMOTENC, therefore, was deemed the most appropriate course of action given its demonstrated efficacy in addressing the class imbalance while preserving the integrity of the dataset’s inherent structure and relationships. This approach ensures a more robust and reliable analysis of the dietary data, mitigating the potential biases introduced by the initial class imbalance. The careful consideration of these factors led to the selection of SMOTENC as the preferred method for data preprocessing.

2.10. Model Selection and Optimization

For the task concerning dietary pattern classification, the fitting machine learning model’s selection necessitated a judicious assessment of the attributes inherent within our dataset, encompassing a mixture of categorical and numerical features, alongside the presence of class imbalance. A thorough assessment of differing methodologies was undertaken, with the eventual selection of CatBoost as our principal model. CatBoost, owing to its implementation of ordered boosting and the efficient processing it affords for categorical features, rendered it particularly apt for our nutritional data analysis endeavours.
Whilst CatBoost is well-regarded for the inherent robustness of its default parameter configurations, we did perform a grid search optimization, with focus placed upon pivotal hyperparameters that bear upon model complexity and the capacity for generalization. The ranges subjected to testing encompassed learning_rate ∈ {0.01, 0.05, 0.1, 0.3}, depth ∈ {4, 6, 8, 10}, and l2_leaf_reg ∈ {1, 3, 5, 7}. It is noteworthy that the default configuration (learning_rate = 0.1, depth = 6, l2_leaf_reg = 3) attained peak performance, manifesting a macro F1-score of 0.82, a balanced accuracy of 0.79, and a ROC-AUC of 0.85 when evaluated across all classes.
For the purpose of corroborating our selection of a model, the implementation of Google TabNet, (Arik & Pfister, 2021), a deep neural network architecture purpose-built for tabular data through the utilization of attention mechanisms, was undertaken. Notwithstanding its intricate design, TabNet achieved suboptimal outcomes (macro F1-score: 0.76, balanced accuracy: 0.73, ROC-AUC: 0.81), thereby reinforcing the recognized pre-eminence of tree-based ensembles for the classification of structured tabular data. This discrepancy in performance was especially conspicuous in the management of the complex interactions existing between dietary components and categorical variables representative of eating behaviours.
The ultimate CatBoost model demonstrated commendable performance when evaluated against all metrics, exhibiting class-specific F1-scores of 0.79 (unhealthy), 0.83 (needs changes), and 0.84 (healthy), adeptly navigating the intrinsic imbalance in class representation whilst upholding high predictive accuracy.
  • Dataset Splitting:
    The dataset was split into training and test sets using an 80-20 split ratio. This stratified split ensured that the test set was representative of the overall dataset, allowing for robust evaluation of the model’s performance. The rationale behind this split is to maintain enough data for training while preserving a portion for unbiased testing.
  • Feature Standardization:
    Z-score normalization (Z-points scaler) was applied to standardize the features.
This technique, which involves scaling the data to have a mean of zero and a standard deviation of one, was chosen to ensure that all features contributed equally to the model training, thereby preventing features with larger scales from dominating the learning process.
  • Model Training:
    Several machine learning models have been tested including Random Forest, Decision Trees, Feed Forward Neural Networks, and CatBoost. The best performing model was the CatBoost classifier due to its superior handling of categorical features and its ability to provide high-quality predictions without extensive parameter tuning. Additionally, its implementation of Ordered Encoding for categorical features significantly reduced the risk of overfitting.
  • Model Testing:
    The trained CatBoost model was then tested on the test set. Performance metrics, including precision, recall, and F1-score, were calculated and the confusion matrix was generated. These metrics provided a comprehensive evaluation of the model’s classification capabilities across different dietary classes.
  • Interpretability with SHAP:
    To interpret the model’s predictions, the TreeExplainer model from the SHAP package was utilized. SHAP values, which are grounded in game theory, were calculated to assign an importance value to each feature. This approach ensures transparency in the model’s decision-making process, allowing for a detailed understanding of how each feature influences the predictions.
    SHAP Plots Generation:
    Several SHAP plots were generated to visualize the feature contributions:
    • Summary plot: This plot provided a global view of feature importance, highlighting which features had the most significant impact on the model’s predictions.
    • Dependency plot: This plot illustrated the relationship between individual features and the predicted output.
    • Force plot and waterfall plot: These plots provided insights into the contributions of each feature to individual predictions, demonstrating how the model arrived at specific decisions.
  • Oversampling with SMOTENC:
    The Synthetic Minority Over-sampling Technique for Nominal and Continuous (SMOTENC) was applied to address class imbalance in the training set. SMOTENC generates synthetic samples for minority classes, balancing the dataset. This technique was particularly effective in improving the classification performance for underrepresented dietary patterns. Importantly, oversampling was only applied to the training set to ensure that the test set remained a valid benchmark for evaluating model performance.
The application of these detailed and methodologically sound steps ensured the robustness and interpretability of the machine learning model, providing reliable insights into the dietary patterns of the study population (Table 1 and Figure 2).
Table 1 and Figure 2 reveal the performance of the CatBoost model in predicting different dietary patterns. For the Mediterranean diet, the model shows high precision (0.91), recall (0.96), and F1-score (0.93), indicating that it effectively identifies individuals following this diet with minimal false positives and negatives. This high performance is supported by a large sample size (3248), which ensures robust training data.
In contrast, the model performs poorly for intermittent fasting, with low precision (0.26), recall (0.09), and F1-score (0.13), suggesting that it struggles to accurately predict this diet, likely due to a small sample size (166) and resulting in high false positive and negative rates despite the use of SMOTENC. The performance for the vegan diet is moderate, with precision (0.47), recall (0.46), and F1-score (0.46), reflecting the high nonlinearity of the dataset in correctly identifying vegans due to a very small sample size (70). Similarly, for the vegetarian diet, the model shows moderate performance with precision (0.47), recall (0.36), and F1-score (0.40), indicating difficulties in prediction accuracy due to a limited sample size (253).
Overall, the model achieves an accuracy of 87%, which is acceptable and reflects the strong representation of the Mediterranean diet class. The macro-average precision (0.53), recall (0.47), and F1-score (0.48) indicate a moderate overall performance across all classes. These results, although not optimal, provide valuable insights and highlight the potential need for additional or more nuanced features to better capture the non-linearities and nuances necessary for accurately discerning specific dietary patterns, thereby enhancing our understanding and prediction of dietary habits.

3. Results

3.1. Socio-Demographic Characteristics of the Sample

Most respondents are women (80.8%), on average 34.9 years old (SD 11.7; range 18–89), with higher education (68.3%), and living in a city (79.3%). The income level is quite homogeneous, with a similar percentage of people with low income (43.8%) compared to people with medium–high income (47.7%). More details of the socio-demographic characteristics of the sample are provided in Table 2.

3.2. Summary Plots

Figure 3a–d show the summary plot for the different diet categories. From the first summary plot (Figure 3a), key features influencing the Mediterranean diet include:
-
Fish: A strong divide exists between non-consumers (negative influence) and consumers (positive influence).
-
IASE: Higher values generally correlate with a greater likelihood of following the diet.
-
Income: Though influential, values cluster between 0.2 and 0.5.
-
Sport: Those practicing more sport tend to not follow this diet.
-
Age: Older individuals are more likely to follow the Mediterranean diet.
-
Junk Food: Non-consumers of junk food tend not to follow this diet.
Analysis of dependence plots reveals:
-
Age: Confirms the tendency for older individuals to follow the diet, with a specific age where adherence increases. Younger people consume less fish.
-
Body Image: Better self-image correlates with more controlled eating habits, though with low impact.
-
BMI: A low BMI predicts adherence, especially in physically active individuals. Neutral BMI has minimal influence, but higher BMI positively impacts predictions.
-
Sport: Less sport correlates with higher adherence.
-
Eating Disorders: Anorexia nervosa positively impacts predictions, while binge eating has the opposite effect.
-
Illness: Illnesses like diabetes and fructose intolerance increase adherence.
-
CCAA (Autonomous Regions, Comunidades Autónomas): Catalans tend not to follow this diet.
Figure 3b provides the summary plot for the intermittent fasting diet category.
Figure 4 show the top 10 feature importance for classifying IASE score.
Figure 3. (a) Summary plot for Mediterranean diet class. (b) Summary plot for intermittent fasting diet class. (c) Summary plot for vegan diet class. (d) Summary plot for vegetarian diet class.
Figure 3. (a) Summary plot for Mediterranean diet class. (b) Summary plot for intermittent fasting diet class. (c) Summary plot for vegan diet class. (d) Summary plot for vegetarian diet class.
Ejihpe 15 00011 g003aEjihpe 15 00011 g003b
From the summary plot (Figure 3b), the most influential features for the intermittent fasting diet include:
-
Fish: Non-consumers tend not to follow this diet.
-
Age: Younger people are less likely to follow the diet, while older individuals are more likely to adhere.
-
Sport: Those who practice sport are more likely to follow this diet, though the group is small.
-
BMI: Lower BMI negatively impacts predictions, while higher BMI positively influences adherence.
-
Income: Similar influence as in the Mediterranean diet category.
-
Home: Unclear impact, similar to the Mediterranean diet.
-
Junk Food: Consumers are less likely to follow this diet, though the overall impact is minimal.
-
Sleep Quality: Lower sleep quality correlates with a reduced likelihood of adherence.
Dependence plot analysis provides additional insights:
-
Body Image: Minimal impact overall, but extreme values show a strong positive (high body image) or negative (low body image) influence.
-
BMI: Neutral BMI has little effect. Two trends emerge: lower BMI decreases adherence probability, while higher BMI increases it.
-
Sport: In general, less sport correlates with lower adherence, but exceptions exist.
-
Fried Food: Lower fried food consumption predicts adherence. Among younger individuals, fried food strongly reduces adherence, but this effect diminishes with age.
-
Sleep: Longer sleeping hours slightly decrease adherence, but better sleep quality significantly increases it.
-
CCAA: Galicians are less likely to follow this diet.
These findings underscore lifestyle and demographic factors influencing adherence to the intermittent fasting diet.
From the summary plot (Figure 3c), the most influential features for following a vegan diet are:
-
Fish: People who do not eat fish are more likely to follow a vegan diet.
-
Sleep Quality: Poor sleep quality is associated with higher adherence.
-
Age: Younger individuals are more likely to be vegan, while older people are less likely.
-
No Control: Those with less control over their eating habits tend to follow the vegan diet.
-
Sport: Non-athletic individuals are less likely to follow this diet.
-
BMI: Higher BMI correlates with lower adherence.
-
Sleeping Hours: People who sleep less are more likely to follow the diet.
-
Ultra-Processed Food: Higher consumption of ultra-processed food decreases the likelihood of adherence.
-
Obesophobia: Fear of obesity is a factor; those unconcerned about obesity tend not to follow the diet.
The dependence plots add the following insights:
-
Age: Strong confirmation that younger individuals follow the vegan diet.
-
BMI: As BMI increases, adherence decreases.
-
Fried Food: Avoidance of fried food is linked to veganism; interestingly, some sport participants eat fried food and are vegan.
-
Ultra-Processed Food: Minimal consumption strongly predicts adherence, while high consumption has a stronger negative impact.
-
Sleeping Patterns: Less sleep correlates with adherence, and worse sleep quality strengthens this connection.
-
Eating Disorders: Most vegans do not report eating disorders.
-
Illness: Lactose intolerance significantly reduces the likelihood of following a vegan diet.
-
CCAA: Catalonia and Galicia show the highest concentrations of vegans.
These findings highlight demographic, lifestyle, and health factors influencing vegan diet adherence.
From the summary plot (Figure 3d), the key factors influencing adherence to a vegetarian diet are:
-
Fish: People who do not consume fish are more likely to follow a vegetarian diet.
-
Age: Younger individuals are more likely to follow the diet, while older individuals are less likely.
-
BMI: Higher BMI correlates with lower adherence, whereas those with a low BMI are more likely to follow the diet.
-
Sport: Those who engage in sports are less likely to follow the diet.
-
Sleeping Hours: Individuals who sleep less are more likely to follow the diet.
-
Junk Food: Higher consumption of junk food is associated with lower adherence.
-
Body Image: People with a lower body image and poorer self-perceived health tend to follow the diet.
From the dependence plots, additional insights include:
-
Age: Younger people consistently show higher adherence.
-
Body Image: Those with very negative self-perception are more likely to follow the diet, while those with a highly positive image are less likely.
-
BMI: As BMI increases, adherence decreases.
-
Junk Food: Individuals consuming more junk food tend not to follow the diet.
-
Fish: Avoidance of fish strongly predicts vegetarianism.
-
Eating Disorders: Most vegetarians do not report any diagnosed eating disorders.
-
CCAA: Similar to veganism, Galicia and Catalonia have the highest concentrations of vegetarians.
These findings underscore the influence of dietary preferences, lifestyle choices, and self-perception on vegetarian diet adherence.
Figure 5a–e show the ICE plots for different variables (Figure 5a: Soft Drinks; Figure 5b: Special Diet; Figure 5c: Fish; Figure 5d: BMI; Figure 5e: Age).

3.3. Analysis of the Decision Plots

3.3.1. Discovering How the Model Decides the Class

To understand how the model predicts diet classes, the decision plot is analysed. Given the multi-class classification problem, SHAP’s multioutput_decision_plot is utilized to evaluate individual predictions.
Observation Analysis:
Observation 845 (Figure 6a): The model incorrectly predicts a vegan diet instead of the correct Mediterranean diet.
-
The error arises primarily from the fried food feature, with subsequent features worsening the prediction.
-
This is consistent with the confusion matrix (Figure 2), which shows poor accuracy for classes 2 (Mediterranean), 3 (vegan), and 4 (vegetarian).
Observation 702 (Figure 6b): The model correctly predicts a Mediterranean diet.
-
Initially unsure, the model gains confidence as important features (e.g., fish) are analyzed.
-
Fish is a key feature, splitting positive predictions for classes 1 and 2 and negative predictions for classes 3 and 4.
Observation 546 (Figure 6c): The model exhibits uncertainty when predicting intermittent fasting diet.
-
The initial prediction seems correct, but uncertainty arises with the fish feature.
-
This individual likely has a confusing diet (e.g., doesn’t eat fish but consumes junk food), making classification challenging.
Observation 837 (Figure 6d): The model predicts a vegetarian diet but shows difficulty distinguishing between Mediterranean and vegetarian diets.
-
Certain features (e.g., fish) exponentially increase the probability of a Mediterranean diet, suggesting overlapping characteristics between classes 1 (Mediterranean) and 4 (vegetarian).
-
The model struggles with nuanced differences, despite being confident about the prediction.
Key findings:
-
The model performs well for simpler cases (e.g., Observation 702) but struggles with overlapping or contradictory dietary patterns.
-
Fish, fried food, and class-specific features strongly influence predictions, often determining class distinctions.
-
Misclassifications reveal areas where the model could be improved, particularly for better differentiation among classes 2, 3, and 4.
Figure 6. (a) Decision plot for instance 845. (b) Decision plot for instance 702. (c) Decision plot for instance 546. (d) Decision plot for instance 837.
Figure 6. (a) Decision plot for instance 845. (b) Decision plot for instance 702. (c) Decision plot for instance 546. (d) Decision plot for instance 837.
Ejihpe 15 00011 g006aEjihpe 15 00011 g006b

3.3.2. Individual Conditional Expectation Plots

To scrutinize the connection existing amongst salient features and the predictions for different classes, Individual Conditional Expectation (ICE) plots were produced. Each of these plots served to illustrate individual predictive outcomes (depicted via blue lines) alongside the average influence (a red line, also known as the PDP) across the three distinct classes under consideration. The subsequent analysis brought to light discernible trends unique to each feature examined.
Concerning the intake of soft drinks in Figure 5a, a pronounced differentiation between the classes was evident. Class 1, for instance, displayed a positive correlation as the level of consumption went up, whereas Classes 0 and 2 presented relationships that were, conversely, negative. This observation rather strongly implies that the consumption of soft drinks acts as a noteworthy factor in distinguishing between these classes.
The categories pertaining to special diets in Figure 5b revealed transitions that were quite abrupt, most notably within Class 1. This class exhibited a conspicuous surge in probability around the 0.6 threshold mark. Classes 0 and 2, in contrast, showed inverse relationships, thereby suggesting that restrictions in one’s diet exert a considerable influence on how class assignments are made.
Patterns in fish consumption in Figure 5c displayed a noticeable degree of variation across the different classes. Class 1, for example, showed a tendency to decline as consumption increased, whilst Class 2 initially showed an increase before its probabilities became more stable. Class 0, on the other hand, maintained probabilities that were consistently low, which hints at fish consumption playing a role in helping to tell apart the different dietary patterns.
In comparison to some of the other variables, BMI in Figure 5d exhibited relationships that were more gradual and continuous in their nature. Class 1 managed to maintain the highest probabilities, even though there was a slight decrease observed at the higher end of the BMI values. Class 2 demonstrated a level of stability that was moderate, and Class 0 remained consistently at the lower end of the probability spectrum. This suggests that BMI, whilst subtle, exerts a persistent influence on which class an individual might belong to.
When looking at age patterns in Figure 5e, distinct characteristics for each class became apparent. Class 2, notably, showed an increase in probability within the older age brackets (around the 70th to 80th percentile). Class 1’s probabilities remained fairly stable until they started to decline in the more advanced age groups, whilst Class 0 showed only minimal variation, with perhaps a slight peak occurring during middle age.
Across all of the features that were examined, the considerable degree of variation seen in individual predictions when compared to the average effect does point towards significant interaction effects occurring between the variables. This suggests that the impact any given feature has on predicting class membership is, in fact, modulated by the other variables present within the model. This intricate interplay amongst the features serves to demonstrate the multifaceted character inherent in the classification of dietary patterns.

3.3.3. Discovering the Typical Prediction Paths

Given that the model struggles to accurately predict classes 2, 3, and 4, it is worth examining the typical prediction paths of correct predictions for these classes and the wrong predictions for class 1. Figure 7a shows a typical path for a correct prediction of class 2, while Figure 7b displays one for class 3. Figure 7a,c follow expected patterns, but Figure 7b (vegan diet) is unusual, as the model fails to recognize vegans who eat fish. Correct predictions tend to start with low confidence but become certain once IASE and Fish values are considered, confirming their importance. An outlier is observed in Figure 7d, where the typical pattern is unclear, but it is evident that fish and IASE are crucial, with most incorrect predictions having low fish values.

3.3.4. Summary of Main Results

This experiment identifies fish as the most critical feature, effectively dividing diets into classes 1–2 (Mediterranean and intermittent fasting) and 3–4 (vegan and vegetarian). IASE also emerges as influential but does not interact with other features, suggesting it contributes to predictions independently.
Other features have varying degrees of influence:
-
Age: Positively impacts Mediterranean diet predictions as it increases, and negatively impacting vegan and vegetarian diets as it decreases.
-
Junk food: Positively influences classes 1 and 2 (Mediterranean and intermittent fasting).
-
BMI: Vegetarians tend to have lower BMI, though the causal relationship remains unclear.
-
Sport: Particularly significant for classes 2 (intermittent fasting) and 4 (vegetarian), often correlating with age.
The model performs reliably for predicting the Mediterranean diet but struggles with accuracy for the other three classes, as illustrated in the decision plots (Figure 3).

3.4. Interaction Between the Variables IASE and Fish

A comparative analysis was conducted on two variables with the greatest impact on diet type prediction: the Healthy Nutrition Index (IASE) and fish consumption. The results found were:
Mediterranean diet (Class 0, Figure 8a):
-
A strong correlation exists between IASE and fish consumption.
-
Low IASE values correspond to low fish consumption, but as IASE increases, there is a clear turning point where higher IASE values lead to increased fish consumption.
Intermittent fasting diet (Class 1, Figure 8b):
-
The correlation between IASE and fish is weaker compared to the Mediterranean diet.
-
While similar trends are observed, greater data dispersion indicates less consistency in the relationship.
Vegan diet (Class 2, Figure 8c):
-
As IASE scores increase, fish consumption nearly disappears.
-
This pattern aligns with the vegan diet’s exclusion of all animal proteins, including fish.
Vegetarian diet (Class 3, Figure 8d):
-
A complex relationship emerges.
-
Initially, higher IASE scores correlate with increased fish consumption. However, fish intake then drops drastically, mimicking the vegan diet’s behaviour (Figure 8c).
-
The red dots (indicating correct classifications) highlight this shift, suggesting that as IASE increases, vegetarian diets align more closely with vegan patterns regarding fish consumption.
This analysis highlights distinct relationships between IASE and fish consumption across dietary classes. While the Mediterranean and intermittent fasting diets show positive trends, the vegan and vegetarian diets reveal exclusionary patterns with increased IASE, reflecting their respective dietary restrictions. The vegetarian diet’s unique shift emphasizes its nuanced relationship with fish consumption.
Figure 8. (a) IASE and fish interaction for class 0. (b) IASE and fish interaction for class 1. (c) IASE and fish interaction for class 2. (d) IASE and fish interaction for class 3.
Figure 8. (a) IASE and fish interaction for class 0. (b) IASE and fish interaction for class 1. (c) IASE and fish interaction for class 2. (d) IASE and fish interaction for class 3.
Ejihpe 15 00011 g008aEjihpe 15 00011 g008b

4. Discussion

The data have shown that fish consumption is the most powerful indicator for distinguishing one type of diet from another. This finding is particularly relevant in the Spanish context, where the Mediterranean diet is traditionally prevalent. Fish is a key source of essential nutrients, such as omega-3 fatty acids, high-quality proteins, and various vitamins and minerals (Ali et al., 2022), which significantly contribute to cardiovascular health, brain development, and overall well-being (DiNicolantonio & O’Keefe, 2020). Although its consumption has been decreasing in recent years (Abellán Alemán et al., 2016), fish occupies a central place in the Mediterranean diet due to Spain’s geography as a peninsula surrounded by the Mediterranean Sea and the Atlantic Ocean, facilitating access to a wide variety of fresh fish and seafood. This availability has influenced the regular inclusion of fish in daily meals, making it a cornerstone of the region’s diet (Moreiras & Cuadrado, 2001).
Conversely, in vegan diets and many variants of vegetarian diets, fish is absent. These diets are characterized by the total exclusion of animal products (in the case of vegan diets) or the exclusion of meat and fish, with possible inclusions of dairy products and eggs (in some vegetarian variants) (Hargreaves et al., 2023). The absence of fish in these diets necessitates finding nutritional alternatives that can provide the same benefits that fish offers in the Mediterranean diet (Bali & Naik, 2023).
This contrast underscores the importance of fish consumption not only as a distinguishing element among different dietary patterns but also as a crucial component for ensuring balanced and healthy nutrition (DiNicolantonio & O’Keefe, 2020). Additionally, this analysis highlights the need to consider the nutritional and health implications when choosing and promoting different types of diets, especially in specific geographical and cultural contexts.
Another significant finding from the data is that younger individuals tend to adopt vegan or vegetarian dietary patterns more frequently, while older individuals are more likely to follow a classic Mediterranean diet. This generational difference in dietary preferences can be attributed to several interrelated factors. Firstly, the influence of celebrities, influencers, and activists promoting vegan and vegetarian lifestyles plays a significant role in the adoption of these diets (Pilař et al., 2021). Younger people are more exposed to and influenced by these information agents (Goodyear et al., 2018). Additionally, greater access to technology and social media among the youth facilitates their awareness of the benefits of plant-based diets, thereby motivating them to follow these diets. Conversely, older individuals have grown up in a culture where the Mediterranean diet has been the norm. This dietary pattern, deeply rooted in the traditions and culinary practices of the region, has demonstrated numerous health benefits (Guasch-Ferré & Willett, 2021; Shen et al., 2015; Dominguez et al., 2023). Adherence to this diet among older people may stem from a sense of cultural continuity and confidence in its proven benefits. Differences in the availability and cost of food also influence dietary choices. Fresh and local products that are part of the Mediterranean diet are easily accessible and affordable in many regions of Spain, particularly for older generations who may have more time to prepare home-cooked meals (Tsofliou et al., 2022).
Lastly, a significant factor impacting dietary choices is environmental and animal welfare concerns (Hopwood et al., 2020). Studies have shown that the production of meat and animal products is less sustainable and often does not prioritize animal welfare (Font-I-Furnols, 2023). In response to these environmental concerns, many young people adopt vegan and vegetarian diets, which are considered more sustainable (Mathur et al., 2020; Sabaté & Soret, 2014).
The results also show that people who follow a vegan and vegetarian diet tend to eat less “junk food” compared to those who follow a traditional dietary pattern. To explain this trend, one could point first to a practical fact: many fast food and junk food options contain animal products (Fuhrman, 2018), which limits the available choices for vegans and vegetarians, prompting them to seek healthier and less processed alternatives.
Additionally, this trend can be linked to the values and motivations that often accompany vegan and vegetarian dietary choices (Mathur et al., 2020; Sabaté & Soret, 2014). Sustainability and environmental concerns frequently extend beyond diet alone and translate into a more holistic approach to a healthy and sustainable lifestyle. Avoiding junk food, which typically has a high environmental impact due to its production methods, aligns with these values.
As regards to the tendency found on the practice of physical activity, significant differences are shown in the time devoted to physical activity per week between people who practice intermittent fasting and those following other diets, particularly the Mediterranean one. This is not surprising, as individuals who practice intermittent fasting are often more focused on weight control, and exercise can help achieve this goal (Welton et al., 2020). People who follow diets other than the Mediterranean one tend to be more concerned about their health and fitness.
Another noteworthy result obtained from the data analysis is that Catalonia and Galicia show higher adoption of plant-based diets compared to other parts of Spain, while the region of Murcia has a higher adherence to the practice of intermittent fasting. The prevalence of different diets in Spain varies due to regional, cultural, economic, and environmental factors influencing food preferences (Gherasim et al., 2020). Catalonia and Galicia show higher adoption of PBDs, possibly due to long-standing culinary traditions featuring plant-based dishes and seafood (Arija et al., 2019; Trabazo et al., 2019). Environmental awareness and access to fresh produce further support PBD adoption in these regions (Dixon et al., 2023; Nelson et al., 2016). The higher incidence of intermittent fasting in Murcia may stem from its culinary culture emphasizing fresh and healthy foods, potentially influencing perceptions of a balanced diet (Jiménez Monreal et al., 2019). Sampling bias, such as influencer promotion, could also impact reported diet trends in specific regions.
A consideration should also be made regarding the trend reflecting the healthy nutrition index with respect to the type of diet adopted. The IASE score reveals lower values for plant-based diets compared to the Mediterranean diet. This disparity can be attributed to the index’s calculation, which emphasizes a diverse diet including animal proteins like meat and dairy (Norte Navarro & Ortiz Moncada, 2011). Since vegan and raw vegan diets exclude these food categories, their IASE scores are significantly lower in these cases. Therefore, for this study, the IASE score may not accurately reflect the health benefits associated with these specific diets.
Concerning the presence of diagnosed eating disorders and the type of diet practiced, the slight inclination toward experiencing some form of eating disorder among individuals following diets other than the traditional Mediterranean diet, as indicated by the results, underscores dieting as one of the contributing factors to these disorders (Hetherington, 2000).
Finally, the CatBoost model achieved an acceptable overall accuracy of 87%, primarily due to the strong representation of the Mediterranean diet class. However, the macro-average precision (0.53), recall (0.47), and F1-score (0.48) indicate moderate performance across all classes, suggesting that the current features do not sufficiently capture the non-linearities and nuances necessary for accurately distinguishing specific dietary patterns. This moderate performance is particularly evident in the poor results for intermittent fasting, vegan, and vegetarian classes, where the model struggles due to insufficient training data.

Strengths and Limitations

This study has several strengths, notably its large sample size (N = 22,181), which provides a comprehensive overview of health behaviours among young Spaniards. Geographical inclusivity is another strength, with data collected from all regions of Spain, including urban, rural, and island areas. The study’s breadth of variables allows for an in-depth exploration of how various nutritional, physical activity, social, and lifestyle factors interact with socio-demographic determinants, offering valuable insights into the health status of the Spanish population.
However, the study is not without limitations. Data collection through online surveys may introduce response bias, although efforts were made to mitigate this by using a closed and anonymous questionnaire format. Additionally, physical dissemination methods were employed to reach those not active on social networks. Self-report bias in nutritional surveys is a concern, as participants may provide inaccurate or biased information about their dietary habits. Despite these challenges, the study’s findings align with previous research, enhancing confidence in its conclusions. Finally, there was a gender bias observed, with 80.8% of respondents being female, reflecting a broader trend of male underrepresentation in surveys. Despite efforts to recruit male participants, achieving gender parity remained challenging, though a substantial sample of 4251 males was included in the study.

5. Conclusions

This study has shown that the strongest indicator for diet choice is fish consumption, with vegans abstaining entirely and some vegetarians consuming it occasionally, as it is normal for these dietary patterns. Other strong indicators include age, with younger individuals leaning towards vegan and vegetarian diets, and older people adhering to a traditional Mediterranean diet. Vegans and vegetarians consume less junk food and those who engage in regular sports often follow an intermittent fasting diet. Potential areas for further exploration include the impact of sleep quality and duration on diet choice, and regional dietary tendencies, such as why Catalans prefer vegan/vegetarian diets.
The model excels in predicting adherence to the Mediterranean diet but is less accurate for other diet types. This discrepancy stems from the unbalanced distribution of individuals across dietary classes, with a high number of Mediterranean diet followers and fewer adherents to other patterns. A more extensive study including a larger population of individuals following plant-based diets or intermittent fasting would be valuable for a detailed examination of the determinants of these diets.
Although it requires a very large sample of individuals, Explainable Artificial Intelligence, particularly the CatBoost method combined with the SHAP approach, can be extremely useful for detailed population behaviour analysis. This technique helps identify the most determinant variables and is likely to see increased application in the field of health sciences.

Author Contributions

E.S.: Conceptualization, data curation, investigation, methodology, validation, writing—original draft, writing—review and editing. G.C.O.: Conceptualization, investigation, methodology, writing—review and editing. M.P.: Conceptualization, methodology, validation, writing—review and editing. L.U.W.: Writing—review and editing. V.D.: Data curation, formal analysis, writing—review and editing. All authors have read and agreed to the published version of the manuscript.

Funding

This research work has not been externally funded.

Institutional Review Board Statement

The research strictly followed ethical principles outlined in the Declaration of Helsinki and received approval from the Ethics Research Committee of the Catholic University of Valencia (approval code UCV/2019-2020/152).

Informed Consent Statement

Prior to participating, explicit informed consent was obtained from all individuals, ensuring they were fully informed about the study’s objectives, procedures, and potential risks, and emphasizing the voluntary nature of their participation.

Data Availability Statement

The data presented in this study are available upon reasonable request to the corresponding author.

Acknowledgments

The authors sincerely appreciate the collaboration of all individuals who contributed to this research. Special thanks to those who played a role in sharing the questionnaire and to those who devoted their time to participate in and provide responses to the survey.

Conflicts of Interest

The authors declare no conflicts of interest.

Appendix A

Table A1. List of variables analysed and their typology.
Table A1. List of variables analysed and their typology.
VariablesTypology
SexCategoricalDemographical features
AgeNumerical
MunicipalityCategorical
RegionCategorical
CCAA (Autonomous Communities)Categorical
ResidenceCategorical
StudiesCategorical
IncomeCategorical
HomeCategorical
AloneCategorical
ObesophobiaCategoricalEating habits
No controlCategorical
Body imageCategorical
Fried FoodCategorical
Fast FoodCategorical
Ultra Processed FoodCategorical
FishCategorical
WaterCategorical
Soft drinksCategorical
JuiceCategorical
CoffeeCategorical
Drink mealCategorical
Fermented beveragesCategorical
Distilled beveragesCategorical
Fortified beveragesCategorical
Liquors and creamsCategorical
IASENumerical
Sedentary lifestyleCategoricalLifestyle
SportCategorical
Reasons No SportCategorical
Sleeping hoursCategorical
Getting up restedCategorical
Sleep qualityNumerical
SmokingCategorical
Night outingsCategorical
AlcoholCategorical
Getting drunkCategorical
BMINumericalHealth
Self-perceived healthNumerical
Diagnosed Eating DisordersCategorical
IllnessCategorical

References

  1. Abellán Alemán, J., Zafrilla Rentero, M. P., Montoro-García, S., Mulero, J., Pérez Garrido, A., Leal, M., Guerrero, L., Ramos, E., & Ruilope, L. M. (2016). Adherence to the Mediterranean diet in Spain and its relationship with cardiovascular risk (DIMERICA study). Nutrients, 8(11), 680. [Google Scholar] [CrossRef] [PubMed] [PubMed Central]
  2. Acevedo Cantero, P., Ortega Santos, C. P., & López-Ejeda, N. (2023). Vegetarian diets in Spain: Temporal evolution through national health surveys and their association with healthy lifestyles. Endocrinología, Diabetes y Nutrición, 70(Suppl. 2), 1–8. [Google Scholar] [CrossRef]
  3. Ali, A., Wei, S., Ali, A., Khan, I., Sun, Q., Xia, Q., Wang, Z., Han, Z., Liu, Y., & Liu, S. (2022). Research progress on nutritional value, preservation and processing of fish: A review. Foods, 11(22), 3669. [Google Scholar] [CrossRef] [PubMed] [PubMed Central]
  4. Arija, V., Pérez, C., Serra-Majem, L., & Aranceta, J. (2019). Gastronomy and nutrition in Catalonia. Nutricion Hospitalaria, 36, 78–85. [Google Scholar] [CrossRef] [PubMed]
  5. Arik, S. Ö., & Pfister, T. (2021, February 2–9). TabNet: Attentive interpretable tabular learning [Conference session]. AAAI Conference on Artificial Intelligence (Vol. 35 No. 8. , pp. 6679–6687), Virtual Event. [Google Scholar]
  6. Bali, A., & Naik, R. (2023). The impact of a vegan diet on many aspects of health: The overlooked side of veganism. Cureus, 15(2), e35148. [Google Scholar] [CrossRef] [PubMed] [PubMed Central]
  7. Bini, S. A. (2018). 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, 33(8), 2358–2361. [Google Scholar] [CrossRef] [PubMed]
  8. Breiman, L. (2001). Random forests. Machine Learning, 45, 5–32. [Google Scholar] [CrossRef]
  9. Cena, H., & Calder, P. C. (2020). Defining a healthy diet: Evidence for the role of contemporary dietary patterns in health and disease. Nutrients, 12(2), 334. [Google Scholar] [CrossRef] [PubMed]
  10. Chen, T., & Guestrin, C. (2016). XGBoost: A scalable tree boosting system. In KDD ’16: Proceedings of the 22nd ACM SIGKDD international conference on knowledge discovery and data mining, ACM 2016. Association for Computing Machinery. [Google Scholar] [CrossRef]
  11. Cooper, C. B., Neufeld, E. V., Dolezal, B. A., & Martin, J. L. (2018). Sleep deprivation and obesity in adults: A brief narrative review. BMJ Open Sport & Exercise Medicine, 4(1), e000392. [Google Scholar] [CrossRef]
  12. Dentamaro, V., Giglio, P., Impedovo, D., Pirlo, G., & Di Ciano, M. (2024). An interpretable adaptive multiscale attention deep neural network for tabular data. IEEE Transactions on Neural Networks and Learning Systems, 15, 1–15. [Google Scholar] [CrossRef]
  13. Diab, A., Dastmalchi, L. N., Gulati, M., & Michos, E. D. (2023). A heart-healthy diet for cardiovascular disease prevention: Where are we now? Vascular Health and Risk Management, 19, 237–253. [Google Scholar] [CrossRef] [PubMed]
  14. DiNicolantonio, J. J., & O’Keefe, J. H. (2020). The importance of marine omega-3s for brain development and the prevention and treatment of behavior, mood, and other brain disorders. Nutrients, 12(8), 2333. [Google Scholar] [CrossRef] [PubMed] [PubMed Central]
  15. Dixon, K. A., Michelsen, M. K., & Carpenter, C. L. (2023). Modern diets and the health of our planet: An investigation into the environmental impacts of food choices. Nutrients, 15, 692. [Google Scholar] [CrossRef]
  16. Dominguez, L. J., Veronese, N., Di Bella, G., Cusumano, C., Parisi, A., Tagliaferri, F., Ciriminna, S., & Barbagallo, M. (2023). Mediterranean diet in the management and prevention of obesity. Experimental Gerontology, 174, 112121. [Google Scholar] [CrossRef] [PubMed]
  17. Dorogush, A. V., Ershov, V., & Gulin, A. (2018). CatBoost: Gradient boosting with categorical features support. arXiv. [Google Scholar] [CrossRef]
  18. Euromonitor International. (2024). Going plant-based: The rise of vegan and vegetarian food. Euromonitor. Available online: https://go.euromonitor.com/sb-packaged-food-210330-rise-vegan-vegetarian-food.html (accessed on 15 January 2023).
  19. Font-I-Furnols, M. (2023). Meat consumption, sustainability and alternatives: An overview of motives and barriers. Foods, 12(11), 2144. [Google Scholar] [CrossRef] [PubMed] [PubMed Central]
  20. Fuhrman, J. (2018). The hidden dangers of fast and processed food. American Journal of Lifestyle Medicine, 12(5), 375–381. [Google Scholar] [CrossRef] [PubMed] [PubMed Central]
  21. Ganesan, K., Habboush, Y., & Sultan, S. (2018). Intermittent fasting: The choice for a healthier lifestyle. Cureus, 10(7), e2947. [Google Scholar] [CrossRef] [PubMed] [PubMed Central]
  22. Gherasim, A., Arhire, L. I., Nițǎ, O., Popa, A. D., Graur, M., & Mihalache, L. (2020). The relationship between lifestyle components and dietary patterns. Proceedings of the Nutrition Society, 79, 311–323. [Google Scholar] [CrossRef]
  23. Goldberg, J. H., & King, A. C. (2007). Physical activity and weight management across the lifespan. Annual Review of Public Health, 28, 145–170. [Google Scholar] [CrossRef]
  24. Goodyear, V. A., Armour, K. M., & Wood, H. (2018). Young people and their engagement with health-related social media: New perspectives. Sport, Education and Society, 24, 673–688. [Google Scholar] [CrossRef] [PubMed] [PubMed Central]
  25. Gropper, S. S. (2023). The role of nutrition in chronic disease. Nutrients, 15(3), 664. [Google Scholar] [CrossRef]
  26. Guasch-Ferré, M., & Willett, W. C. (2021). The Mediterranean diet and health: A comprehensive overview. Journal of Internal Medicine, 290(3), 549–566. [Google Scholar] [CrossRef]
  27. Gunning, D., Stefik, M., Choi, J., Miller, T., Stumpf, S., & Yang, G. Z. (2019). Explainable artificial intelligence. Science Robotics, 4(37), eaay7120. [Google Scholar] [CrossRef] [PubMed]
  28. Hancock, J. T., & Khoshgoftaar, T. M. (2020). CatBoost for big data: An interdisciplinary review. Journal of Big Data, 7, 94. [Google Scholar] [CrossRef]
  29. Hargreaves, S. M., Rosenfeld, D. L., Moreira, A. V. B., & Zandonadi, R. P. (2023). Plant-based and vegetarian diets: An overview and definition of these dietary patterns. European Journal of Nutrition, 62(3), 1109–1121. [Google Scholar] [CrossRef] [PubMed]
  30. Herrera-Ramos, E., Tomaino, L., Sánchez-Villegas, A., Ribas-Barba, L., Gómez, S. F., Wärnberg, J., Osés, M., González-Gross, M., Gusi, N., Aznar, S., Marín-Cascales, E., González-Valeiro, M. Á., Terrados, N., Tur, J. A., Segú, M., Fitó, M., Homs, C., Benavente-Marín, J. C., Labayen, I., . . . Serra-Majem, L. (2023). Trends in adherence to the Mediterranean diet in Spanish children and adolescents across two decades. Nutrients, 15, 2348. [Google Scholar] [CrossRef] [PubMed]
  31. Hetherington, M. M. (2000). Eating disorders: Diagnosis, etiology, and prevention. Nutrition, 16, 547–551. [Google Scholar] [CrossRef] [PubMed]
  32. Hillsdon, M., & Foster, C. (2018). What are the health benefits of muscle and bone strengthening and balance activities across life stages and specific health outcomes? Journal of Frailty, Sarcopenia and Falls, 3(2), 66–73. [Google Scholar] [CrossRef] [PubMed]
  33. Hopwood, C. J., Bleidorn, W., Schwaba, T., & Chen, S. (2020). Health, environmental, and animal rights motives for vegetarian eating. PLoS ONE, 15(4), e0230609. [Google Scholar] [CrossRef] [PubMed] [PubMed Central]
  34. Ivanova, S., Delattre, C., Karcheva-Bahchevanska, D., Benbasat, N., Nalbantova, V., & Ivanov, K. (2021). Plant-based diet as a strategy for weight control. Foods, 10, 3052. [Google Scholar] [CrossRef] [PubMed]
  35. Jiménez Monreal, A. M., Antonia Murcia Tomás, M., & Martínez Tomé, M. (2019). Nutrition and gastronomy in the community of Murcia Region. Nutricion Hospitalaria, 36, 92–97. [Google Scholar] [CrossRef]
  36. Kandel, S. (2019). An evidence-based look at the effects of diet on health. Cureus, 11(5), e4715. [Google Scholar] [CrossRef]
  37. Khan, M. A., & Al-Jahdali, H. (2023). The consequences of sleep deprivation on cognitive performance. Neurosciences, 28(2), 91–99. [Google Scholar] [CrossRef]
  38. Lim, S. (2018). Eating a balanced diet: A healthy life through a balanced diet in the age of longevity. Journal of Obesity & Metabolic Syndrome, 27(1), 39–45. [Google Scholar] [CrossRef]
  39. Lundberg, S. M., Erion, G., Chen, H., DeGrave, A., Prutkin, J. M., Nair, B., Katz, R., Himmelfarb, J., Bansal, N., & Lee, S. I. (2020). From local explanations to global understanding with explainable AI for trees. Nature Machine Intelligence, 2(1), 2522–5839. [Google Scholar] [CrossRef]
  40. Lundberg, S. M., & Lee, S. I. (2017). A unified approach to interpreting model predictions. In I. Guyon, U. Von Luxburg, S. Bengio, H. Wallach, R. Fergus, S. Vishwanathan, & R. Garnett (Eds.), Advances in neural information processing systems 30 (pp. 4765–4774). Curran Associates, Inc. Available online: http://papers.nips.cc/paper/7062-a-unified-approach-to-interpreting-model-predictions.pdf (accessed on 15 January 2023).
  41. Mahindru, A., Patil, P., & Agrawal, V. (2023). Role of physical activity on mental health and well-being: A review. Cureus, 15(1), e33475. [Google Scholar] [CrossRef]
  42. Marquez, D. X., Aguiñaga, S., Vásquez, P. M., Conroy, D. E., Erickson, K. I., Hillman, C., Stillman, C. M., Ballard, R. M., Sheppard, B. B., Petruzzello, S. J., King, A. C., & Powell, K. E. (2020). A systematic review of physical activity and quality of life and well-being. Translational Behavioral Medicine, 10(5), 1098–1109. [Google Scholar] [CrossRef]
  43. Mathur, M. B., Robinson, T. N., Reichling, D. B., Gardner, C. D., Nadler, J., Bain, P. A., & Peacock, J. (2020). Reducing meat consumption by appealing to animal welfare: Protocol for a meta-analysis and theoretical review. Systematic Reviews, 9, 3. [Google Scholar] [CrossRef]
  44. Mazzotti, D. R., Guindalini, C., Moraes, W. A., Andersen, M. L., Cendoroglo, M. S., Ramos, L. R., & Tufik, S. (2014). Human longevity is associated with regular sleep patterns, maintenance of slow wave sleep, and favorable lipid profile. Frontiers in Aging Neuroscience, 6, 134. [Google Scholar] [CrossRef]
  45. Miki, A. J., Livingston, K. A., Karlsen, M. C., Folta, S. C., & McKeown, N. M. (2020). Using evidence mapping to examine motivations for following plant-based diets. Current Developments in Nutrition, 4(3), nzaa013. [Google Scholar] [CrossRef] [PubMed] [PubMed Central]
  46. Moreiras, O., & Cuadrado, C. (2001). Mediterranean diet and lifestyle: Special aspects of Spain. International Journal for Vitamin and Nutrition Research, 71(3), 154–158. [Google Scholar] [CrossRef] [PubMed]
  47. Nelson, M. E., Hamm, M. W., Hu, F. B., Abrams, S. A., & Griffin, T. S. (2016). Alignment of healthy dietary patterns and environmental sustainability: A systematic review. Advances in Nutrition, 7, 1005. [Google Scholar] [CrossRef]
  48. Neuhouser, M. L. (2019). The importance of healthy dietary patterns in chronic disease prevention. Nutrition Research, 70, 3–6. [Google Scholar] [CrossRef]
  49. Nhat-Duc, H., & Van-Duc, T. (2023). Comparison of histogram-based gradient boosting classification machine, random forest, and deep convolutional neural network for pavement raveling severity classification; Automation in Construction. Available online: https://www.nstl.gov.cn/paper_detail.html?id=4d53926ab8e76e705f898065f8a78833 (accessed on 19 April 2024).
  50. Norte Navarro, A. I., & Ortiz Moncada, R. (2011). Spanish diet quality according to the healthy eating index. Nutricion Hospitalaria, 26(2), 330–336. [Google Scholar]
  51. North, M., Klas, A., Ling, M., & Kothe, E. (2021). A qualitative examination of the motivations behind vegan, vegetarian, and omnivore diets in an Australian population. Appetite, 167, 105614. [Google Scholar] [CrossRef] [PubMed]
  52. Palar, P. S., Zuhal, L. R., & Shimoyama, K. (2023). Enhancing the explainability of regression-based polynomial chaos expansion by Shapley additive explanations. Reliability Engineering & System Safety, 232, 109045. [Google Scholar]
  53. Pilař, L., Kvasničková Stanislavská, L., & Kvasnička, R. (2021). Healthy food on the Twitter social network: Vegan, homemade, and organic food. International Journal of Environmental Research and Public Health, 18, 3815. [Google Scholar] [CrossRef]
  54. Pinckard, K., Baskin, K. K., & Stanford, K. I. (2019). Effects of exercise to improve cardiovascular health. Frontiers in Cardiovascular Medicine, 6, 69. [Google Scholar] [CrossRef]
  55. Prokhorenkova, L., Gusev, G., Vorobev, A., Dorogush, A. V., & Gulin, A. (2017). CatBoost: Unbiased boosting with categorical features. arXiv, arXiv:1706.09516. [Google Scholar]
  56. Puetz, T. W. (2006). Physical activity and feelings of energy and fatigue: Epidemiological evidence. Sports Medicine, 36(9), 767–780. [Google Scholar] [CrossRef]
  57. Rodríguez-Pérez, R., & Bajorath, J. (2020). Interpretation of machine learning models using Shapley values: Application to compound potency and multi-target activity predictions. Journal of Computer-Aided Molecular Design, 34(10), 1013–1026. [Google Scholar] [CrossRef] [PubMed] [PubMed Central]
  58. Rynders, C. A., Thomas, E. A., Zaman, A., Pan, Z., Catenacci, V. A., & Melanson, E. L. (2019). Effectiveness of intermittent fasting and time-restricted feeding compared to continuous energy restriction for weight loss. Nutrients, 11(10), 2442. [Google Scholar] [CrossRef]
  59. Sabaté, J., & Soret, S. (2014). Sustainability of plant-based diets: Back to the future. The American Journal of Clinical Nutrition, 100(Suppl. 1), 476S–482S. [Google Scholar] [CrossRef] [PubMed]
  60. Sandri, E., Borghesi, D., Cantín Larumbe, E., Cerdá Olmedo, G., Vega-Bello, M. J., & Bernalte Martí, V. (2024a). Intermittent fasting: Socio-economic profile of Spanish citizens who practice it and the influence of this dietary pattern on the health and lifestyle habits of the population. Nutrients, 16, 2028. [Google Scholar] [CrossRef]
  61. Sandri, E., Cantín Larumbe, E., Capoferri, M., Cerdá Olmedo, G., Werner, L. U., & Vega-Bello, M. J. (2024b). Socio-Demographic Determinants of Dietary Choices and Their Impact on Health in Spanish Adults. Frontiers in Public Health, 12, 1417925. [Google Scholar] [CrossRef]
  62. Sandri, E., Cantín Larumbe, E., Part-Ferrer, R., Ferrer-Torregrosa, J., & Fernández-Ehrling, N. (2023a). Diet and lifestyle in the Spanish population and their relationship with sociodemographic variables: A descriptive study. Foods, 12, 3409. [Google Scholar] [CrossRef] [PubMed]
  63. Sandri, E., Modesto i Alapont, V., Cantín Larumbe, E., & Cerdá Olmedo, G. (2023b). Analysis of the Influence of Socio-Demographic Variables and Some Nutrition and Lifestyle Habits on Beverage Consumption in the Spanish Population. Foods, 12, 4310. [Google Scholar] [CrossRef]
  64. Sandri, E., Piredda, M., De Maria, M., Mancin, S., Sguanci, M., Cabo, A., & Cerdá Olmedo, G. (2024c). Development and psychometric testing of the nutritional and social health habits scale (NutSo-HH): A methodological review of existing tools. MethodsX, 12, 102768. [Google Scholar] [CrossRef] [PubMed]
  65. Sandri, E., Sguanci, M., Cantín Larumbe, E., Cerdá Olmedo, G., Werner, L. U., Piredda, M., & Mancin, S. (2024d). Plant-based diets versus the Mediterranean dietary pattern and their socio-demographic determinants in the Spanish population: Influence on health and lifestyle habits. Nutrients, 16, 1278. [Google Scholar] [CrossRef]
  66. Shen, D., Wu, G., & Suk, H. I. (2017). Deep learning in medical image analysis. Annual Review of Biomedical Engineering, 19, 221–248. [Google Scholar] [CrossRef]
  67. Shen, J., Wilmot, K. A., Ghasemzadeh, N., Molloy, D. L., Burkman, G., Mekonnen, G., Gongora, M. C., Quyyumi, A. A., & Sperling, L. S. (2015). Mediterranean dietary patterns and cardiovascular health. Annual Review of Nutrition, 35, 425–449. [Google Scholar] [CrossRef] [PubMed]
  68. Short, S. E., & Mollborn, S. (2015). Social determinants and health behaviors: Conceptual frames and empirical advances. Current Opinion in Psychology, 5, 78–84. [Google Scholar] [CrossRef] [PubMed] [PubMed Central]
  69. Tantamango-Bartley, Y., Jaceldo-Siegl, K., Fan, J., & Fraser, G. (2015). Vegetarian diets and the incidence of cancer in a low-risk population. Cancer Epidemiology, Biomarkers & Prevention, 22, 286–294. [Google Scholar] [CrossRef]
  70. Trabazo, R. L., Pérez C de L, Castro Pérez, X., & Solla, P. (2019). Atlantic diet. Nutrition and gastronomy in Galicia. Nutricion Hospitalaria, 36, 7–13. [Google Scholar] [CrossRef]
  71. Tsofliou, F., Vlachos, D., Hughes, C., & Appleton, K. M. (2022). Barriers and facilitators associated with the adoption of and adherence to a Mediterranean style diet in adults: A systematic review of published observational and qualitative studies. Nutrients, 14(20), 4314. [Google Scholar] [CrossRef] [PubMed] [PubMed Central]
  72. Tyagi, M., Shah, U., Patel, G., Toshniwal, V., Bhongade, R., & Sharma, P. (2023). The impact of sleep on physical and mental health: Importance of healthy sleep habits. Georgian Medical News, 89–94. [Google Scholar]
  73. Ui, T. (2000). A Shapley value representation of potential games. Games and Economic Behavior, 31, 121–135. [Google Scholar] [CrossRef]
  74. Usmani, D., Ganapathy, K., Patel, D., Saini, A., Gupta, J., & Dixit, S. (2023). The role of exercise in preventing chronic diseases: Current evidence and recommendations. Georgian Medical News, 137–142. [Google Scholar]
  75. Welton, S., Minty, R., O’Driscoll, T., Willms, H., Poirier, D., Madden, S., & Kelly, L. (2020). Intermittent fasting and weight loss: Systematic review. Canadian Family Physician, 66, 117–125. [Google Scholar] [PubMed] [PubMed Central]
  76. World Medical Association. (2013). Declaration of Helsinki: Ethical principles for medical research involving human subjects. JAMA, 310, 2191–2194. [Google Scholar] [CrossRef] [PubMed]
  77. Yandex. (2017). CatBoost. Available online: https://catboost.ai/ (accessed on 15 January 2023).
  78. Yokoyama, Y., Nishimura, K., Barnard, N. D., Takegami, M., Watanabe, M., Sekikawa, A., Okamura, T., & Miyamoto, Y. (2014). Vegetarian diets and blood pressure: A meta-analysis. JAMA Internal Medicine, 174, 577–587. [Google Scholar] [CrossRef] [PubMed]
  79. Yuan, X., Wang, J., Yang, S., Gao, M., Cao, L., Li, X., Hong, D., Tian, S., & Sun, C. (2022). Effect of intermittent fasting diet on glucose and lipid metabolism and insulin resistance in patients with impaired glucose and lipid metabolism: A systematic review and meta-analysis. International Journal of Endocrinology, 2022, 6999907. [Google Scholar] [CrossRef] [PubMed] [PubMed Central]
Figure 1. Classes distribution with respect to IASE classification.
Figure 1. Classes distribution with respect to IASE classification.
Ejihpe 15 00011 g001
Figure 2. SMOTENC confusion matrix.
Figure 2. SMOTENC confusion matrix.
Ejihpe 15 00011 g002
Figure 4. Top 10 feature importance for classifying IASE score.
Figure 4. Top 10 feature importance for classifying IASE score.
Ejihpe 15 00011 g004
Figure 5. (a) ICE plot for soft drinks. (b) ICE plot for special diet. (c) ICE plot for fish. (d) ICE plot for BMI. (e) ICE plot for age.
Figure 5. (a) ICE plot for soft drinks. (b) ICE plot for special diet. (c) ICE plot for fish. (d) ICE plot for BMI. (e) ICE plot for age.
Ejihpe 15 00011 g005aEjihpe 15 00011 g005bEjihpe 15 00011 g005c
Figure 7. (a) Typical prediction path for a correct prediction of class 2. (b) Typical prediction path for a correct prediction of class 3. (c) Typical prediction path for a correct prediction of class 4. (d) Typical prediction path for a wrong prediction of class 1.
Figure 7. (a) Typical prediction path for a correct prediction of class 2. (b) Typical prediction path for a correct prediction of class 3. (c) Typical prediction path for a correct prediction of class 4. (d) Typical prediction path for a wrong prediction of class 1.
Ejihpe 15 00011 g007aEjihpe 15 00011 g007b
Table 1. SMOTENC classification report.
Table 1. SMOTENC classification report.
ClassPrecisionRecallF1-ScoreSupport
1. Mediterranean diet0.910.960.933248
2. Intermittent fasting0.260.090.13166
3. Vegan0.470.460.4670
4. Vegetarian0.470.360.4253
Accuracy 0.873737
Macro average0.530.470.483737
Weighted average0.840.870.853737
Table 2. Socio-demographic characteristics of sample (N = 22,181).
Table 2. Socio-demographic characteristics of sample (N = 22,181).
Mean; SD or N (%)
Male4251 (19.2%)
Female17,930 (80.8%)
Age (years)34.9; 11.7range (18–89)
Male Age36.5; 13.4range (18–84)
Female Age34.5; 11.2range (18–89)
Total
Age N (%)
  Young (18–30)9692 (43.7%)
  Middle Age (31–50)9913 (44.7%)
  Adults (>50)2576 (11.6%)
Level of education
  Basic7027 (31.7%)
  Higher15,154 (68.3%)
Income level
  Low9727 (43.8%)
  Medium–high10,616 (47.7%)
  Do not know/no answer1838 (8.3%)
City size
  <20001014 (4.6%)
  2000–10,0003587 (16.2%)
  >10,00017,580 (79.3%)
Note: SD = standard deviation.
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.

Share and Cite

MDPI and ACS Style

Sandri, E.; Cerdá Olmedo, G.; Piredda, M.; Werner, L.U.; Dentamaro, V. Explanatory AI Predicts the Diet Adopted Based on Nutritional and Lifestyle Habits in the Spanish Population. Eur. J. Investig. Health Psychol. Educ. 2025, 15, 11. https://doi.org/10.3390/ejihpe15020011

AMA Style

Sandri E, Cerdá Olmedo G, Piredda M, Werner LU, Dentamaro V. Explanatory AI Predicts the Diet Adopted Based on Nutritional and Lifestyle Habits in the Spanish Population. European Journal of Investigation in Health, Psychology and Education. 2025; 15(2):11. https://doi.org/10.3390/ejihpe15020011

Chicago/Turabian Style

Sandri, Elena, Germán Cerdá Olmedo, Michela Piredda, Lisa Ursula Werner, and Vincenzo Dentamaro. 2025. "Explanatory AI Predicts the Diet Adopted Based on Nutritional and Lifestyle Habits in the Spanish Population" European Journal of Investigation in Health, Psychology and Education 15, no. 2: 11. https://doi.org/10.3390/ejihpe15020011

APA Style

Sandri, E., Cerdá Olmedo, G., Piredda, M., Werner, L. U., & Dentamaro, V. (2025). Explanatory AI Predicts the Diet Adopted Based on Nutritional and Lifestyle Habits in the Spanish Population. European Journal of Investigation in Health, Psychology and Education, 15(2), 11. https://doi.org/10.3390/ejihpe15020011

Article Metrics

Back to TopTop