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

ORIGINAL RESEARCH article

Front. Med.

Sec. Intensive Care Medicine and Anesthesiology

Volume 12 - 2025 | doi: 10.3389/fmed.2025.1624899

This article is part of the Research TopicComputational Model-Based Clinical Decision Support Tools for Hospitalized PatientsView all articles

Random Forest-Driven Mortality Prediction in Critical IBD Care: A Dual-Database Model Integrating Comorbidity Patterns and Real-Time Physiometrics

Provisionally accepted
Zhenze  ZhangZhenze Zhang1Caiqing  ZhaoCaiqing Zhao1Junyi  ZhouJunyi Zhou2Ling  YaoLing Yao3Peng  LiuPeng Liu3Ziling  FangZiling Fang4*Nian  FangNian Fang1,3*
  • 1Nanchang University, Jiangxi Medical College, Clinical Graduate School, Nanchang, China
  • 2Jiangxi University of Traditional Chinese Medicine, Clinical Graduate School, Nanchang, China
  • 3Nanchang University, the 3st affiliated hospital(The First Hospital of Nanchang), Nanchang, China
  • 4Nanchang University, the 1st affiliated hospital, Nanchang, China

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

Background Inflammatory bowel disease (IBD) poses significant mortality risks for critically ill patients requiring intensive care unit (ICU) admission, driven by complications such as malnutrition, thromboembolism, and multi-organ dysfunction. Current prognostic tools for mortality prediction in this population remain limited. Machine learning (ML) offers advantages in handling complex clinical data but has not been systematically applied to this high-risk cohort. This multicenter study aimed to develop and validate ML-based models for mortality risk stratification in critically ill IBD patients using large-scale ICU databases. Methods Data from 551 IBD patients in the MIMIC-IV database (2008–2019) were analyzed, with external validation using the eICU dataset. Nine ML algorithms (XGBoost, logistic regression, LightGBM, random forest, decision tree, elastic net, MLP, KNN, RSVM) were trained to predict 1-year mortality. Predictors included demographics, comorbidities, laboratory parameters, vital signs, and disease severity scores. Missing data (<30%) were imputed using random forest. The cohort was split into training (75%) and internal testing (25%) sets, with hyperparameter optimization via 5-fold cross-validation. Model performance was evaluated using AUC, sensitivity, specificity, and calibration curves. The SHAP framework was integrated with predictive analytics to systematically evaluate key determinants of mortality risk through quantitative feature importance analysis. A nomogram was constructed based on key predictors identified through logistic regression. Results The random forest model achieved superior discrimination in internal validation (AUC >0.8). Seven predictors were identified: malignancy history, Charlson Comorbidity Index (CCI), Red Cell Distribution Width (Rdw), Glasgow Coma Scale (GCS), Sequential Organ Failure Assessment (Sofa), age, heart rate, weight and gender. The nomogram demonstrated robust external validation performance in the eICU cohort (AUC >0.8). Conclusion We developed and validated a machine learning-based nomogram to predict mortality in critically ill IBD patients, integrating interpretable predictors from multicenter ICU data.

Keywords: Machine Learning (ML), Mortality prediction, Critical Care, nomogram, Inflammatory bowel disease (IBD)

Received: 08 May 2025; Accepted: 28 Jul 2025.

Copyright: © 2025 Zhang, Zhao, Zhou, Yao, Liu, Fang and Fang. 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:
Ziling Fang, Nanchang University, the 1st affiliated hospital, Nanchang, China
Nian Fang, Nanchang University, the 3st affiliated hospital(The First Hospital of Nanchang), Nanchang, China

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.