Skip to content
Open access

Machine learning-based prediction of prolonged length of stay in older patients with type 2 diabetes mellitus and cardiovascular disease

Aug 2026 · Frontiers in Cardiovascular Medicine · Vol 13 · 0 citations · 40 references
Medicine

TL;DR

The XGBoost-based model effectively predicts PLOS risk in older T2DM-CVD patients and shows promise for early identification of high-risk individuals and optimization of medical resource allocation within the institutional setting.

Abstract

Background Older patients with type 2 diabetes mellitus (T2DM) and cardiovascular disease (CVD) frequently experience prolonged length of stay (PLOS). This condition increases healthcare burden and worsens prognosis. However, no predictive model specifically addresses PLOS in this high-risk multimorbid population. Methods This single-center retrospective study included hospitalized older T2DM-CVD patients. PLOS was defined as hospital stay exceeding the 75th percentile of the training set population. Potential predictors were selected via LASSO regression. Eight machine learning (ML) models were developed to predict PLOS risk. Model performance was evaluated using receiver operating characteristic curves, calibration curves, and decision curve analysis. SHAP analysis was employed for model interpretability. Results A total of 27,629 patients were included. The XGBoost model achieved the highest training AUC (0.819) and demonstrated competitive predictive performance in both the internal (AUC = 0.753) and time-based external (AUC = 0.728) validation sets. However, its performance advantage over simpler models such as logistic regression was modest in validation, and XGBoost showed some degree of overfitting (AUC drop of 0.066 from training to validation). Although logistic regression showed comparable validation performance with less overfitting, XGBoost was selected as the final model for its ability to capture complex nonlinear interactions and provide SHAP-based interpretability, with the understanding that further external validation is needed. Key predictors included cerebral infarction, white blood cell count, anemia, pulse rate, the glycated hemoglobin to high-density lipoprotein cholesterol ratio (GHR), and osteoporosis. Most continuous variables showed nonlinear associations with PLOS risk. Conclusions The XGBoost-based model effectively predicts PLOS risk in older T2DM-CVD patients. This tool shows promise for early identification of high-risk individuals and optimization of medical resource allocation within our institutional setting. However, further prospective and multi-center validation studies are required before clinical adoption.

Read PDF

Similar papers

Open access Jul 2026

An interpretable machine learning model for predicting 1-year major adverse cardiovascular events in patients with type 2 diabetes and hypertension

An interpretable logistic regression model based on seven routine clinical variables showed relatively good internal performance for predicting 1-year composite MACE risk in hospitalized patients with coexisting T2DM and HTN.

Juan Lv, Xi-Rui Wang, Zheng-Yi Zhang · 0 citations
Sep 2026

Interpretable Machine Learning for In-Hospital Mortality Prediction in Patients With Diabetes and ARDS: Development and External Validation.

Logistic Regression showed potential as an interpretable early ICU risk-stratification tool and externally validated machine learning models for in-hospital mortality prediction in patients with diabetes and ARDS.

Ya-Lin Dong, Meng-Xue Hou, Qian-Qian Wang et al. · 0 citations
Open access Aug 2026

Prediction of Prolonged Length of Hospital Stay in Patients with Acute Exacerbations of Chronic Obstructive Pulmonary Disease: An Interpretable Machine Learning Tool

Random Forest may enable to promptly identify prolonged LOS high-risk patients, enhancing clinical vigilance and optimizing healthcare resource allocation in AECOPD patients.

Jingjing Xiong, Lian Liu, Zhen-Ni Chen et al. · 0 citations
Aug 2026

Machine learning prediction of 30-day mortality in coronary artery disease: a retrospective multicenter study using electronic health records.

The use of a structured machine learning approach to predict 30-day mortality in patients with acute and chronic CAD demonstrated promising discriminative performance, providing valuable insights that could enhance personalized care and inform clinical decisions.

Septi Melisa, P. Phan, Sheng-Hsuan Chien et al. · 0 citations
Open access Sep 2026

Mortality prediction in the elderly patients with coronary artery disease and atrial fibrillation: a retrospective machine learning approach

Background Elderly patients with coexisting coronary artery disease (CAD) and atrial fibrillation (AF) are at significantly increased risk of mortality. Accurate risk stratification is crucial for improving clinical management, yet a dedicated predictive tool for this specific population is lacking. The widely used CHA...

Yu-Yan Wang, Yang-Xun Wu, Yu-Ting Zou et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.