ResearchAmerican Journal of Gastroenterology · Jan 21, 2026
Machine Learning Model Predicts Recurrent Clostridioides difficile Infection in Patients With Inflammatory Bowel Disease (Recur CDI-IBD)
Tariq R, Sethi A, Arunachalam S, Pardi DS, Faubion WA, Khanna S
Abstract
Introduction
Clostridioides difficile infection (CDI) presents a significant challenge in patients with inflammatory bowel disease (IBD), with high recurrence rates and complications. Predicting recurrent CDI (rCDI) in patients with IBD is crucial for implementing targeted interventions to improve patient outcomes. This study aimed to develop and validate a predictive model (RecurCDI-IBD) using supervised machine learning to identify patients with IBD at high risk of developing rCDI. Methods
Data were collected from adult patients with IBD diagnosed with CDI between 2013 and 2021. Inclusion criteria included adult patients with a confirmed diagnosis of CDI and a history of IBD. The Gradient Boosting Machine learning model (XGBoost) was used to train a binary classification model. Feature engineering included demographic data (age and sex), clinical data (IBD subtype, medication use, and comorbidities), and laboratory data. The primary outcome was the occurrence of rCDI within 60 days of the initial CDI episode. Results
The RecurCDI-IBD model achieved an accuracy of 80.05% and an Area Under the Curve of 0.88 for predicting rCDI. Key predictive features included IBD subtype, sex, specific medications (such as steroids and anti-TNF agents), and comorbidities (such as chronic pulmonary and renal disease). Discussion
The RecurCDI-IBD model demonstrates good discriminatory ability with balanced precision and recall in identifying patients with IBD at higher risk for rCDI. These findings highlight the potential of data-driven approaches to support clinical risk assessment. Further studies incorporating larger and more diverse cohorts and prospective external validation are needed to confirm generalizability and optimize clinical applicability.
Topics
Humans; Female; Inflammatory Bowel Diseases; Predictive Learning Models; Clostridium Infections; Male; Recurrence; Adult; Middle Aged; Boosting Machine Learning Algorithms; Machine Learning; Risk Assessment
DOI: 10.14309/ajg.0000000000003922 · PubMed: 41562450
Spotted a mistake? Suggest a correction
More in Gastroenterology & Hepatology
ResearchJHEP Rep · Nov 21, 2026 · Gastroenterology & Hepatology
Low public awareness of hepatocellular carcinoma risk factors
ResearchJHEP Rep · Nov 21, 2026 · Gastroenterology & Hepatology
Pre-emptive TIPS Reduces Further Decompensation Following Gastric Variceal Hemorrhage: A Real-World Multicenter Analysis
ResearchJHEP Rep · Nov 21, 2026 · Gastroenterology & Hepatology
Comparative risk of hepatocellular carcinoma among people with chronic hepatitis B treated with tenofovir or entecavir: A population-based linkage study
Alcohol abstinence and liver stiffness by vibration-controlled transient elastography: A systematic review and meta-analysis