Skip to content
Open access

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

Aug 2026 · Journal of Clinical Medicine · Vol 15, pp. 6127 · 0 citations · 45 references
Medicine

TL;DR

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

Abstract

Objective: Reducing the length of hospital stay (LOS) is a core objective in the management of acute exacerbations of chronic obstructive pulmonary disease (AECOPD). This study aimed to develop an interpretable and clinically applicable machine learning tool for predicting prolonged LOS in this population. Methods: This retrospective three-center study enrolled 1342 patients, who were randomly allocated to a training set (70%) and a test set (30%). Candidate predictors were screened using least absolute shrinkage and selection operator (LASSO) regression, and six machine learning models were developed and compared: logistic regression, random forest, gradient boosting machine, CatBoost, support vector machine, and neural network. Model discrimination was evaluated using the area under the receiver operating characteristic curve (AUC), calibration plots, and decision curve analysis. Model interpretability was achieved through SHapley Additive exPlanations (SHAP) and subgroup analyses. Results: Prolonged LOS, defined as >10 days (the median LOS in the training set), occurred in 42.0% of patients. Nine predictors were identified, including daily inhaled medication use, sputum microbiological examination, antibiotic administration, corticosteroid therapy, diuretic use, ICU admission, oxygenation index, platelet count, and neutrophil count. The random forest model demonstrated superior and consistent discriminative performance, achieving an AUC of 0.778 (95% CI: 0.748–0.807) in the training set and 0.721 (95% CI: 0.672–0.771) in the test set. SHAP analysis ranked diuretic use, daily inhaled medication use, corticosteroid therapy, sputum microbiological examination, and antibiotic administration as the five most influential features, revealing treatment-related variables associated with prolonged LOS. Subgroup analyses indicated better predictive performance in lower-risk patients (age ≤ 65 years with eGFR 1–2 stage). Conclusions: Random Forest may enable to promptly identify prolonged LOS high-risk patients, enhancing clinical vigilance and optimizing healthcare resource allocation in AECOPD patients.

Read PDF

Similar papers

Open access Sep 2026

Machine Learning Prediction of Prolonged Length of Stay in Older Patients with Lung Cancer: A Multicenter Study Using XGBoost with SHAP Interpretation

Background Prolonged length of stay (PLOS) is common among older patients with lung cancer and is associated with increased risks of adverse outcomes, greater healthcare resource utilization, and reduced treatment efficiency. However, reliable risk stratification tools specifically designed for this population, particu...

Xiao Li, Shu-Ying Liu, Ya-Ting Gao et al. · 0 citations
Open access Sep 2026

Determinants and Prediction of In-Hospital Mortality in Pneumonia Patients Using Machine Learning Models

Background: Pneumonia remains a major cause of hospitalization and in-hospital mortality, particularly among older adults and patients with chronic comorbidities. Objectives: To estimate in-hospital mortality among pneumonia inpatients, identify associated demographic and clinical factors, and compare predictive models...

Akemat Wongpairin, Ibteesan Che-u-bong, Kulaya Chaibunma et al. · 0 citations
Open access Sep 2026

Development of an interpretable machine learning model for predicting in-hospital mortality in ICU patients with sepsis: a retrospective cohort study

An interpretable RF-based machine learning model for predicting in-hospital mortality in patients with sepsis was developed and internally validated and showed acceptable discrimination, reasonable calibration, and potential clinical net benefit in internal validation.

Tian-Yu Zhao, Ke-Xin Wen, Xu-Min Han et al. · 0 citations
Open access Jan 2026

Development and validation of an explainable machine learning model for risk stratification in patients with clinically suspected acute pulmonary embolism: retrospective study

A machine learning model predicts acute pulmonary embolism risk in suspected patients to reduce unnecessary CTPA overuse and radiation exposure and provides interpretable explanations for individual risk predictions.

Qing-Ming Li, Hui-Jun Qin, Jian Xu · 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

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