Machine learning and SHAP value interpretation predict cardiovascular disease risk in diabetic patients through novel predictor insights
With lifestyle changes and an aging population, the prevalence of type 2 diabetes is steadily increasing globally. CVD is the most common chronic complication in patients with T2DM and remains one of the leading causes of morbidity and mortality. However, it is still unknown whether TCM clinical features are associated with cardiovascular risk in diabetic patients. So, we built a machine learning model to determine the screening role of TCM clinical features on cardiovascular risk in diabetic patients. To develop and validate a machine learning model for predicting diabetic cardiovascular disease based on TCM symptom characteristics and to understand the role that TCM indicators play in disease prediction. Data were obtained through laboratory indicators and standardized face-to-face collection. Chest tightness, chest pain, a bitter mouth, a purple tongue, and a thick tongue coating were identified as key characteristics. In addition, demographics, lifestyle, and laboratory indicators, such as lipids and urinalysis, were included to improve model accuracy. We compared the performance of five machine learning models: recursive partitioning and regression trees (RPART), random forest (RF), kernel k-nearest neighbors (K-KNN), naive bayes (NB) and light gradient boosting machine (LightGBM). SHapley Additive exPlanation (SHAP) values were calculated to determine the predictive effect for each feature with the best predictive performance in the model. The analysis included 2895 participants, 1179 of whom had diabetic cardiovascular disease and 1716 had diabetic non-cardiovascular disease. After excluding 13 variables that showed no difference between groups, the machine learning model retained 31 features. RF had the highest prediction accuracy of 95% (95% CI 0.929–0.965) and a classification error rate of 5%, as well as the largest area under the receiver operating characteristic curve (0.988, 95%CI 0.978–0.998) and precision-recall curve (0.978, 95%CI 0.961–0.995). LightGBM also demonstrated high sensitivity and specificity, both exceeding 93%. According to SHAP analysis, the most significant contributors were chest tightness, HbA1c, chest pain, ESR, urine glucose, age, FBG, and thick tongue coating. RFs are the most effective at predicting diabetic cardiovascular disease. SHAP values emphasize the importance of glycemic control, with HbA1c serving as the primary factor in this model; however, it is worth noting that certain TCM clinical features also provide valuable insights.
Authors
- Yanning Dou
- Yi Quan (ORCID: https://orcid.org/0000-0002-1759-8518)
- Xiaofei Liu
- Zhikui Tian
- Dongjun Wang
- Hongwu Wang
- Xiaoying Zhang
- Xuan Sun
Institutions
- Tianjin University of Traditional Chinese Medicine (CN)
- North China University of Science and Technology (CN)
- Hubei Zhongshan Hospital (CN)
- Qilu Medical University (CN)
Publication Details
- Journal
- BMC Endocrine Disorders
- Published
- 2026-11-27
- DOI
- https://doi.org/10.1186/s12902-026-02774-1
- Primary Topic
- Artificial Intelligence in Healthcare
- Type
- article
- Field-Weighted Citation Impact
- 0.00