Study on the Prediction of Diabetes-Cancer Comorbidity Based on Dietary Factors Explained by Seven Machine Learning Algorithms and SHapley Additive exPlanations.
Youcheng Yang, Bin Fang
Department of Bone and Soft Tissue Oncology The First Affiliated Hospital of Guangzhou University of Chinese Medicine Guangzhou China.
Key points
From the paper's conclusion- Among these, carbohydrates and calcium exerted the dominant negative contribution to comorbidity prediction, indicating that higher intake was associated with a lower predicted probability of diabetes–cancer comorbidity by the model.
Abstract
Background: The bidirectional link between diabetes and cancer is well established, but the role of dietary factors in predicting their comorbidity remains unclear. This study aims to develop a machine learning model to integrate dietary components and to identify key predictors using SHAP analysis. Methods: Data were derived from the NHANES 2009-2012 and 2015-2018 cycles, including 20,307 participants (682 with diabetes-cancer comorbidity). After eliminating collinearity and standardizing, 41 dietary features were retained. Seven algorithms-Naive Bayes, support vector machine with radial basis kernel and class weights (SVM-RW), random forest (RF), weighted k-nearest neighbors (weighted k-NN), AdaBoost, LogitBoost, and cancerclass-were trained and evaluated by benchmark tests using AUC-ROC and AUC-PR. The best-performing model was interpreted with SHAP values. Results: AdaBoost achieved the highest discrimination, with AUC-ROC of 0.898 and AUC-PR of 0.851. SHAP analysis revealed that vitamins (D, K, A, C, thiamin, total folate, niacin, and β-carotene), minerals (calcium, iron, sodium, and copper), and carbohydrates/dietary fiber were the most influential features. Among these, carbohydrates and calcium exerted the dominant negative contribution to comorbidity prediction, indicating that higher intake was associated with a lower predicted probability of diabetes-cancer comorbidity by the model. Conclusions: The AdaBoost model exhibited the best performance for predicting diabetes-cancer comorbidity. Dietary components played an important role in disease prediction, among which carbohydrates and calcium served as core negative predictive factors. The identified associations provide clues and evidence for further research on dietary interventions for high-risk populations.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Predicting comorbidity of metabolic syndrome and daytime sleepiness by machine learning and SHAP value interpretation combined with dietary antioxidantsNutrition & Metabolism · 2026
- Construction of risk prediction models for psoriasis based on 45 dietary nutrients using machine learning and SHAP analysis.Asia Pacific journal of clinical nutrition · 2026
- Interpretable machine learning with SHAP analysis identifies redox-modulating dietary antioxidants for predicting accelerated biological agingExperimental Gerontology · 2026
- Multidimensional dietary patterns and cardiometabolic comorbidity in adults with anxiety disorders: evidence from NHANES and linked dietary databases using interpretable machine learning.BMC public health · 2026
- From Nutritional Epidemiology to Clinical Prediction: Interpretable Machine Learning Reveals Subtle Associations Between Dietary Antioxidant Profiles and Non-Melanoma Skin Cancer in Older Adults.Food science & nutrition · 2026
- Dietary amino acid composition and elevated fasting glucose in children and adolescents from four Chinese provinces: a cross-sectional study combining regression and machine learning.Frontiers in public health · 2026