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

ORIGINAL RESEARCH article

Front. Neurol.

Sec. Stroke

This article is part of the Research TopicAdvancing Gastrointestinal Disease Diagnosis with Interpretable AI and Edge Computing for Enhanced Patient CareView all 12 articles

To develop a machine learning-based model for predicting the risk of gastrointestinal bleeding in patients with spontaneous intracerebral hemorrhage

Provisionally accepted
  • 1Jinjiang Municipal Hospital, Quanzhou, China
  • 2The Second Affiliated Hospital of Fujian Medical University, quanzhou, China

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

Background: Spontaneous intracerebral hemorrhage (sICH) is a critical illness with a poor clinical prognosis, and gastrointestinal bleeding (GIB) is a severe complication that can significantly worsen the patient's adverse outcomes. However, research on the risk factors for GIB in sICH patients is currently limited. Therefore, this study aims to construct and validate a predictive model for GIB risk in sICH patients using machine learning methods, providing decision support for the early identification of high-risk patients in clinical settings. Methods: The present study retrospectively analysed the clinical data of 738 patients with sICH from two centres. In the feature selection process, the Boruta algorithm was initially employed for preliminary screening, and subsequently, the Information-Gain method was utilised to identify significant predictors. Following this, Spearman correlation analysis was implemented to eliminate collinearity between variables. During the model construction stage, the machine learning algorithm was optimised based on the internal test set, and the model performance was finally verified by the internal test set and the external validation set. In order to enhance the interpretability of the model, the SHapley Additive exPlanations (SHAP) method was used to visualise the prediction results. Results: The Glasgow Coma Scale (GCS) score, intraventricular extension of hemorrhage (ICH with IVH), surgeries, albumin, and distance to the midline were identified as significant predictors of GIB in patients with sICH. The patients were randomly divided into training and validation cohorts in an 8:2 ratio for model development and validation. An Extra Trees Classifier algorithm was used to construct the predictive model. Internal validation showed that the area under the receiver operating characteristic (ROC) curve (AUC) was 0.803 (95% CI: 0.659– 0.947), while the AUC for external validation data was 0.757 (95% CI: 0.675–0.839). The calibration curves for both internal and external validation were close to the ideal diagonal line, and decision curve analysis (DCA) demonstrated that the model provided a substantial net benefit. Conclusion: Our prediction model for GIB in sICH patients has reliable predictive power and provides a reliable tool for clinicians to identify early the high-risk group for GIB in sICH patients.

Keywords: Spontaneousintracerebralhemorrhage, gastrointestinalbleeding, machine learning, intraventricular extension of hemorrhage, distance to the midline, GCS score, Albumin level

Received: 27 Aug 2025; Accepted: 04 Dec 2025.

Copyright: © 2025 Cai, Wang, Cai, Qi and Guo. 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: Xieli Guo

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.