Key result
KNN model yields modest ~0.61 AUC for predicting 9-year heart disease risk in diabetes.
Why the study?
This study was conducted to identify the most suitable machine-learning model for early heart disease risk screening in diabetic populations.
Cohort (n=819)
Yes
A K-Nearest Neighbors machine-learning model utilizing routine clinical features, especially BMI, systolic blood pressure, and waist circumference, offers modest predictive capability for assessing the long-term risk of heart disease in diabetic patients.
KNN model’s modest accuracy should not change diabetes risk prediction; leaves open development of superior machine-learning tools.
ObjectiveThis study aims to identify the most suitable machine-learning model for early heart disease risk screening in diabetic populations.MethodsThis retrospective cohort study utilized data from the China Health and Retirement Longitudinal Study, with baseline data from 2011 and follow-up data from 2020. Using features selected by Least Absolute Shrinkage and Selection Operator (LASSO) regression, we systematically constructed 16 distinct machine-learning models. Model performance was evaluated using a comprehensive set of metrics, including the area under the receiver operating characteristic curve, F1-score, sensitivity, specificity, precision, accuracy, and balanced accuracy. To interpret the decision-making process of the best-performing model, we conducted Shapley additive explanations (SHAP) analysis.ResultsAfter the 9-year follow-up period concluding in 2020, 157 of the 819 patients with diabetes at baseline (2011) developed heart disease. From the available features, LASSO regression selected 19 core features for model construction. Among the models developed, the K-Nearest Neighbors (KNN) model demonstrated optimal performance across key metrics, achieving the highest F1 score, balanced accuracy, and precision. The SHAP analysis identified body mass index, systolic blood pressure, and waist circumference as the three most important predictive features within the diabetic cohort. The contribution patterns of these features in the KNN model align closely with clinical expertise, achieving a strong balance between predictive power and interpretability.ConclusionThis study developed a machine-learning model to predict heart disease risk in patients with diabetes. Although the model exhibited only modest predictive performance, it provides a valuable empirical foundation and clear direction for constructing more reliable and clinically useful prediction tools in this field.
No takes yet. Share an insight, caveat, or question.
Zhang et al. (2026) conducted a cohort in Diabetes (n=819). K-Nearest Neighbors (KNN) model vs. 15 other machine learning models was evaluated on Prediction of incident heart disease (ROC-AUC) (95% CI 0.505-0.707). The K-Nearest Neighbors (KNN) machine-learning model demonstrated modest predictive performance for 9-year heart disease risk in patients with diabetes, achieving a ROC-AUC of 0.613 and identifying body mass index, systolic blood pressure, and waist circumference as the most important predictive features.
Synapse has enriched 5 closely related papers on similar clinical questions. Consider them for comparative context: