Copyright: ©Author(s) 2026.
World J Gastroenterol. Jan 21, 2027; 33(3): 123339
Published online Jan 21, 2027. doi: 10.3748/wjg.123339
Published online Jan 21, 2027. doi: 10.3748/wjg.123339
Table 1 Baseline patient characteristics at admission and clinical outcomes during hospitalization in the derivation cohort
| Non-HA bacterial infection (n = 385) | HA bacterial infection (n = 259) | P value | |
| Age (years) | 52 (43, 61) | 53 (45, 62) | 0.230 |
| Male | 296 (76.9) | 206 (79.5) | 0.426 |
| Diabetes | 33 (8.6) | 62 (23.9) | < 0.001 |
| Cause of cirrhosis | |||
| HBV | 268 (69.6) | 204 (78.8) | |
| HBV plus alcoholic | 9 (2.3) | 11 (4.2) | |
| Alcoholic | 20 (5.2) | 10 (3.9) | |
| Other | 88 (22.9) | 34 (13.1) | |
| Admission laboratory data | |||
| WBC (109/L) | 5.8 (4.5, 7.2) | 7.6 (5.9, 9.4) | < 0.001 |
| Neutrophils (109/L) | 4.0 (3.0, 5.4) | 4.6 (3.5, 6.3) | < 0.001 |
| CRP (mg/L) | 7.5 (4.8, 11.3) | 12.0 (8.6, 18.6) | < 0.001 |
| Total bilirubin (μmol/L) | 302.7 (249.2, 394.2) | 350.8 (271.6, 438.0) | 0.003 |
| ALT (U/L) | 286.0 (106.0, 674.0) | 321.5 (91.5, 736.8) | 0.992 |
| AST (U/L) | 228.0 (107.0, 524.0) | 244.5 (107.0, 579.2) | 0.716 |
| INR | 1.7 (1.4, 2.3) | 2.2 (1.8, 2.7) | < 0.001 |
| Creatinine (μmol/L) | 62.0 (52.0, 74.0) | 82.0 (63.5, 110.5) | < 0.001 |
| Albumin (g/L) | 33.0 (30.4, 35.5) | 30.0 (27.9, 32.0) | < 0.001 |
| Globulin (g/L) | 26.5 (22.2, 31.1) | 27.0 (22.4, 32.5) | 0.425 |
| Platelet (109/L) | 116.0 (77.0, 163.0) | 107.0 (80.0, 148.8) | 0.313 |
| K (mmol/L) | 3.9 (3.5, 4.3) | 4.2 (3.7, 4.7) | < 0.001 |
| Na (mmol/L) | 139.0 (136.0, 141.0) | 136.0 (133.5, 139.0) | < 0.001 |
| Total cholesterol (mmol/L) | 2.4 (1.9, 3.1) | 2.4 (1.8, 2.9) | 0.181 |
| HDL-C (mmol/L) | 0.2 (0.1, 0.3) | 0.2 (0.1, 0.3) | 0.980 |
| LDL-C (mmol/L) | 0.9 (0.4, 1.6) | 0.9 (0.5, 1.5) | 0.613 |
| Urea (mmol/L) | 4.0 (3.0, 5.9) | 4.8 (3.3, 8.1) | 0.001 |
| Complications at admission | |||
| Ascites | 241 (62.6) | 185 (71.4) | 0.020 |
| Hepatic encephalopathy | 216 (56.1) | 176 (68.0) | 0.003 |
| Gastrointestinal hemorrhage | 40 (10.4) | 53 (20.5) | < 0.001 |
| Organ failures | |||
| Liver | 359 (93.2) | 233 (90.0) | 0.134 |
| Kidney | 18 (4.7) | 42 (16.2) | < 0.001 |
| Cerebral | 12 (3.1) | 47 (18.1) | < 0.001 |
| Coagulation | 96 (24.9) | 102 (39.4) | < 0.001 |
| Circulatory | 39 (10.1) | 47 (18.1) | 0.003 |
| Respiratory | 20 (5.2) | 41 (15.8) | < 0.001 |
| Hospital course | |||
| 28-day mortality | 74 (19.2) | 78 (30.1) | 0.001 |
Table 2 Model evaluation metrics
| Model | OOF accuracy | OOF precision | OOF recall | OOF F1 score | OOF AUC | OOF AUC (95%CI) |
| XGBoost | 0.863 | 0.905 | 0.737 | 0.813 | 0.900 | 0.878-0.924 |
| RF | 0.862 | 0.905 | 0.734 | 0.810 | 0.899 | 0.878-0.925 |
| LightGBM | 0.868 | 0.878 | 0.78 | 0.826 | 0.906 | 0.885-0.925 |
| GBDT | 0.865 | 0.868 | 0.784 | 0.824 | 0.904 | 0.886-0.930 |
| Decision tree | 0.811 | 0.807 | 0.695 | 0.747 | 0.850 | 0.820-0.882 |
| LR | 0.803 | 0.797 | 0.683 | 0.736 | 0.868 | 0.841-0.895 |
- Citation: Chen JY, Chen XY, Xie YW, Chen YW, Shi XW, Lin N, Huang CJ, Luo R, Lu XQ, Chen XX, Wu J, Huang HJ, Zhu Q, Li LJ, Yu J, Cao HC. Development and validation of a machine learning model for hospital-acquired bacterial infection prediction in acute-on-chronic liver failure. World J Gastroenterol 2027; 33(3): 123339
- URL: https://www.wjgnet.com/1007-9327/full/v33/i3/123339.htm
- DOI: https://dx.doi.org/10.3748/wjg.123339