Machine learning and SHAP-based interpretation of dietary antioxidants' impact on comorbid MDD and suicidal ideation.
Clinical Snapshot
PICO Framework
| P — Population | Adults from NHANES 2007-2010 (n=9,306), including 247 with major depressive disorder comorbid with suicidal ideation |
| I — Intervention | Dietary antioxidants (vitamins, minerals, polyphenols) as predictive variables |
| C — Comparator | Participants without MDD and suicidal ideation comorbidity |
| O — Outcomes | Prediction accuracy for comorbid MDD and suicidal ideation using machine learning models |
Bottom Line
This cross-sectional analysis of NHANES data demonstrates that machine learning models can achieve high accuracy (83%) in predicting comorbid major depression and suicidal ideation using dietary antioxidant profiles. The Random Forest model identified vitamin C, kaempferol, and other polyphenols as key predictive features. However, several critical limitations constrain clinical application: the cross-sectional design prevents causal inference, outcome measurement methods are not specified, and no external validation was performed. While the high AUC (0.927) suggests strong discriminative ability, the clinical utility remains uncertain without prospective validation and clearer outcome definitions. The findings support existing evidence linking nutrition and mental health but require substantial further research before clinical implementation. Australian clinicians should interpret these results cautiously, as dietary patterns and population characteristics may differ significantly from the US NHANES cohort.
Key Findings
P Value: Not reported
Effect Size: Random Forest model accuracy 83%
Primary Outcome: Prediction of comorbid MDD and suicidal ideation
Nnt Or Sensitivity: Precision 0.825, Recall 0.838, AUC 0.927
Confidence Interval: Not reported
Clinical Application
Limited clinical feasibility due to complex antioxidant measurement requirements and need for machine learning infrastructure Dietary patterns differ from US population; would require validation in Australian cohorts. Potential integration with existing depression screening in primary care through RACGP guidelines, but significant implementation barriers exist Adults with potential depression and suicidal ideation risk, particularly those with dietary assessment data
Abstract
OBJECTIVE: To develop and validate a machine learning model for predicting major depressive disorder (MDD) with suicidal ideation (SI) by incorporating dietary antioxidants, and to elucidate the specific contribution of these antioxidants in the prediction. METHODS: Data were obtained from NHANES 2007-2010. Dietary antioxidants, including vitamins, minerals, and polyphenols, were the primary predictors. Demographic, lifestyle, and health-related variables were also included. Collinear variables were removed, class imbalance was corrected, and data were normalized prior to modeling. Twelve machine learning algorithms were compared using a systematic benchmarking protocol within the sklearn framework: Random Forest (RF), LightGBM, AdaBoost, XGBoost, Extra Trees, CatBoost, Gradient Boosting Decision Trees, Support Vector Machine, Decision Tree, Gaussian Naïve Bayes, Stochastic Gradient Descent, and K-Nearest Neighbors. SHapley Additive exPlanation (SHAP) values were calculated to interpret feature contributions within the best-performing model. RESULTS: A total of 9306 participants were included, of whom 247 with MDD comorbid with SI. After preprocessing, 31 dietary antioxidants and 9 demographic and health-related variables were retained for modeling. The RF classifier achieved the highest performance with an accuracy of 83%, precision of 0.825, recall of 0.838, area under the ROC curve of 0.927, and F1 score of 0.831. SHAP analysis identified vitamin C, kaempferol, myricetin, peonidin, luteolin, eriodictyol, hesperetin, pelargonidin, and zinc as the most influential predictors. CONCLUSION: The RF model exhibited superior predictive capability for comorbid MDD and SI. SHAP analysis highlighted the critical roles of dietary antioxidants, particularly vitamin C and kaempferol, in predicting these outcomes.
References
- 1.Xu, Z., Wang, J., Chang, T., Li, Y., Jia, H., & Zhang, X. (2026). Machine learning and SHAP-based interpretation of dietary antioxidants' impact on comorbid MDD and suicidal ideation. Journal of Affective Disorders, 121252. https://doi.org/10.1016/j.jad.2026.121252
Related Research
Journal of psychiatric research
Systematic review of machine learning and deep learning models for EEG-based detection of depression.
2 Aug 2026
Sleep medicine reviews
Artificial intelligence in sleep medicine I: Diagnosis, treatment, care, and research
2 Aug 2026
International journal of yoga therapy
Randomized Controlled Trial on the Effect of Yoga on Anxiety Severity, Quality of Life, and Biomarkers in Individuals with Anxiety Disorder
31 July 2026
This content is for educational purposes for healthcare professionals only and does not constitute clinical advice. Clinical decisions should be based on individual patient assessment, current guidelines, and appropriate specialist consultation. Editorial Standards · Privacy Policy · Terms of Service