Full text

Turn on search term navigation

© The Author(s) 2025. This work is published under http://creativecommons.org/licenses/by/4.0/ (the “License”). Notwithstanding the ProQuest Terms and Conditions, you may use this content in accordance with the terms of the License.

Abstract

Gastrointestinal bleeding (GIB) occurs more frequently in cardiovascular patients than in the general population, significantly affecting morbidity and mortality. However, existing predictive models often lack sufficient accuracy and interpretability. We developed an interpretable and practical machine learning model to predict the risk of GIB in cardiology inpatients. This retrospective study analyzed electronic health records of 10,706 patients admitted to the Department of Cardiology at the Second Hospital of Lanzhou University from October 8, 2019, to October 30, 2024. Variables with > 30% missing data were excluded, leaving 35 potential predictors. The dataset was randomly split into a training cohort (80%, n = 9,356) and a test cohort (20%, n = 2,340). GIB occurred in 110 patients (1.03%). Ten variables were identified as the strongest predictors: hemoglobin (importance score: 0.16), creatinine (0.12), D-dimer (0.10), NT-proBNP (0.06), glucose (0.06), white blood cell count (0.06), body weight (0.06), serum albumin (0.04), urea (0.04), and age (0.04). Among seven machine learning classifiers, XGBoost performed best, with an AUC of 0.995 in the validation cohort. In the validation set, the model achieved an accuracy of 0.975, sensitivity of 0.769, and specificity of 0.996. SHapley Additive exPlanations (SHAP) analysis confirmed hemoglobin, creatinine, and D-dimer as the top contributors to GIB risk. The model demonstrated excellent calibration (Brier score = 0.016), and decision curve analysis supported its clinical utility across various risk thresholds. The XGBoost model offers high accuracy and interpretability in predicting GIB risk among cardiology inpatients. It holds promise for clinical decision support by enabling early risk identification and personalized prevention strategies.

Details

Title
Prediction of gastrointestinal hemorrhage in cardiology inpatients using an interpretable XGBoost model
Author
Li, Yahui 1 ; Wang, Xujie 2 ; Liu, Xuhui 3 

 Huazhong University of Science and Technology, Division of Cardiology, Department of Internal Medicine, Tongji Hospital, Tongji Medical College, Hubei Key Laboratory of Genetics and Molecular Mechanisms of Cardiological Disorders, Wuhan, China (GRID:grid.33199.31) (ISNI:0000 0004 0368 7223) 
 The Affiliated Hospital of Qinghai University, Department of Emergency ICU, Xining, China (GRID:grid.459333.b) 
 The Second Hospital of Lanzhou University, Department of Neurology, Lanzhou, China (GRID:grid.32566.34) (ISNI:0000 0000 8571 0482); The Second Hospital of Lanzhou University, Department of Neurology, Lanzhou, China (GRID:grid.32566.34) (ISNI:0000 0000 8571 0482) 
Pages
25240
Publication year
2025
Publication date
2025
Publisher
Nature Publishing Group
e-ISSN
20452322
Source type
Scholarly Journal
Language of publication
English
ProQuest document ID
3229527191
Copyright
© The Author(s) 2025. This work is published under http://creativecommons.org/licenses/by/4.0/ (the “License”). Notwithstanding the ProQuest Terms and Conditions, you may use this content in accordance with the terms of the License.