Abstract
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.