Predicting short-term major postoperative complications in intestinal resection for Crohn's disease: A machine learning-based study

World J Gastrointest Surg. 2024 Mar 27;16(3):717-730. doi: 10.4240/wjgs.v16.i3.717.

Abstract

Background: Due to the complexity and numerous comorbidities associated with Crohn's disease (CD), the incidence of postoperative complications is high, significantly impacting the recovery and prognosis of patients. Consequently, additional studies are required to precisely predict short-term major complications following intestinal resection (IR), aiding surgical decision-making and optimizing patient care.

Aim: To construct novel models based on machine learning (ML) to predict short-term major postoperative complications in patients with CD following IR.

Methods: A retrospective analysis was performed on clinical data derived from a patient cohort that underwent IR for CD from January 2017 to December 2022. The study participants were randomly allocated to either a training cohort or a validation cohort. The logistic regression and random forest (RF) were applied to construct models in the training cohort, with model discrimination evaluated using the area under the curves (AUC). The validation cohort assessed the performance of the constructed models.

Results: Out of the 259 patients encompassed in the study, 5.0% encountered major postoperative complications (Clavien-Dindo ≥ III) within 30 d following IR for CD. The AUC for the logistic model was 0.916, significantly lower than the AUC of 0.965 for the RF model. The logistic model incorporated a preoperative CD activity index (CDAI) of ≥ 220, a diminished preoperative serum albumin level, conversion to laparotomy surgery, and an extended operation time. A nomogram for the logistic model was plotted. Except for the surgical approach, the other three variables ranked among the top four important variables in the novel ML model.

Conclusion: Both the nomogram and RF exhibited good performance in predicting short-term major postoperative complications in patients with CD, with the RF model showing more superiority. A preoperative CDAI of ≥ 220, a diminished preoperative serum albumin level, and an extended operation time might be the most crucial variables. The findings of this study can assist clinicians in identifying patients at a higher risk for complications and offering personalized perioperative management to enhance patient outcomes.

Keywords: Crohn’s disease; Intestinal resection; Nomogram; Postoperative complications; Random forest.