Your new experience awaits. Try the new design now and help us make it even better

ORIGINAL RESEARCH article

Front. Cardiovasc. Med.

Sec. Heart Failure and Transplantation

Machine Learning-Based Prediction Model for 30-Day Readmission Risk in Elderly Patients with Type 2 Diabetes Mellitus and Heart Failure: A Retrospective Cohort Study with SHAP Interpretability Analysis

Provisionally accepted
Lei  WangLei Wang1Chao  WeiChao Wei1Yue  ChenYue Chen1Sheng-Da  LuSheng-Da Lu1Xiang-Hong  ZhangXiang-Hong Zhang1Mo  YangMo Yang2*
  • 1The Second Affiliated Hospital of Wannan Medical College, Wuhu, China
  • 2Department of Pharmacy, The Second Affiliated Hospital of Wannan Medical College, Wuhu, China

The final, formatted version of the article will be published soon.

Objective: Among elderly populations with concurrent type 2 diabetes mellitus (T2DM) and heart failure (HF), 30-day hospital readmission rates range 10-25%. Conventional risk evaluation instruments show restricted predictive performance (AUC<0.70) in this multimorbid group. This research aimed to construct and verify an artificial intelligence-based algorithm for assessing 30-day readmission probability in elderly T2DM-HF patients. Methods: This retrospective cohort study included 870 participants ≥65 years with T2DM and HF (January 2020-December 2023), randomly divided into training (n=609, 70%) and validation (n=261, 30%) cohorts. Variable selection utilized Least Absolute Shrinkage and Selection Operator with ten-fold cross-validation. Eight machine learning algorithms were evaluated: logistic regression, random forest, gradient boosting machines, support vector machines, neural networks, convolutional neural networks, AdaBoost, and stacking ensemble. Model interpretability was enhanced using SHapley Additive exPlanations analysis. Results: Overall 30-day readmission rate was 12.4% (108/870 patients). The Stacking Ensemble model achieved superior performance with AUC 0.867 (95% CI: 0.830-0.904), accuracy 79.4%, sensitivity 74.9%, and specificity 84.0%. Fourteen key predictors were identified, with C-reactive protein, estimated glomerular filtration rate, and B-type natriuretic peptide as most influential factors. Conclusion: This study developed a high-performing, interpretable machine learning model for predicting 30-day readmission risk, providing a valuable clinical decision-making tool.

Keywords: type 2 diabetes mellitus, Heart Failure, 30-day readmission, machine learning, risk prediction

Received: 25 Jul 2025; Accepted: 20 Nov 2025.

Copyright: © 2025 Wang, Wei, Chen, Lu, Zhang and Yang. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) or licensor are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.

* Correspondence: Mo Yang, poiljn321@163.com

Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.