Exploration and Analysis of Risk Factors for Coronary Artery Disease with Type 2 Diabetes Based on SHAP Explainable Machine Learning Algorithm
Preprint
- 21 May 2025
- preprint
- Published by Springer Nature in Research Square
Abstract
Background: Type 2 diabetes (T2DM) significantly elevates coronary heart disease (CHD) risk. This study leverages interpretable machine learning (ML) to identify risk factors for CHD with T2DM, enhancing clinical decision-making. Methods: Clinical data from 5,681 cardiovascular patients (4,396 CHD; 1,285 CHD+T2DM) hospitalized between 2001-2018 were analyzed. The SMOTENC algorithm addressed dataset imbalance. Predictive variables were selected via univariate analysis and Lasso regression. Five ML models (logistic regression, Lasso regression, KNN, SVM, XGBoost) were developed and validated using accuracy, sensitivity, specificity, ROC, and decision curve analysis. SHAP values interpreted model outputs. Results: Data were split into training (n=3,977) and validation (n=1,704) sets. Lasso regression identified 25 predictive variables. XGBoost achieved superior performance (highest accuracy: 0.89; AUC: 0.93) and net benefit in decision curves. SHAP analysis revealed diabetes duration, blood glucose (BG), prothrombin time (PT), and glycated hemoglobin (HbA1c) as primary risk factors. Positive urine glucose and elevated low-density lipoprotein also contributed significantly. Conclusion: Diabetes history, BG, HbA1c, and PT are critical risk factors for CHD-T2DM comorbidity. Prioritizing monitoring of these parameters and implementing targeted interventions may mitigate risk. The XGBoost-SHAP framework provides an interpretable tool for clinical risk stratification.Keywords
All Related Versions
- Version 1, 2025-05-21, Research Square
- Published version: Scientific Reports, 15 (1), 1.
This publication has 37 references indexed in Scilit:
- Fundamental Pathobiology of Coronary Atherosclerosis and Clinical Implications for Chronic Ischemic Heart Disease Management—The Plaque HypothesisJAMA Cardiology, 2023
- Machine learning-based marker for coronary artery disease: derivation and validation in two longitudinal cohortsThe Lancet, 2022
- Development of an interpretable machine learning model associated with heavy metals’ exposure to identify coronary heart disease among US adults via SHAP: Findings of the US NHANES from 2003 to 2018Chemosphere, 2022
- Environmental chemical exposure dynamics and machine learning-based prediction of diabetes mellitusScience of The Total Environment, 2022
- A guide to machine learning for biologistsNature Reviews Molecular Cell Biology, 2021
- A multilayer multimodal detection and prediction model based on explainable artificial intelligence for Alzheimer’s diseaseScientific Reports, 2021
- Data imbalance in classification: Experimental evaluationInformation Sciences, 2020
- Machine learning-based coronary artery disease diagnosis: A comprehensive reviewComputers in Biology and Medicine, 2019
- Diabetes and lifetime risk of coronary heart diseasePrimary Care Diabetes, 2017
- Intensive Diabetes Treatment and Cardiovascular Disease in Patients with Type 1 DiabetesNew England Journal of Medicine, 2005