Related Experiment Video
Updated: Jun 26, 2025

An Experimental Paradigm for the Prediction of Post-Operative Pain PPOP
Published on: January 27, 2010
Machine learning-based prediction models affecting the recovery of postoperative bowel function for patients
Shuguang Yang1, Huiying Zhao1, Youzhong An1
1Department of Critical Care Medicine, Peking University People's Hospital, 11 Xizhimen South Street, Beijing, 100044, P.R. China.
Purpose:
The debate surrounding factors influencing postoperative flatus and defecation in patients undergoing colorectal resection prompted this study. Our objective was to identify independent risk factors and develop prediction models for postoperative bowel function in patients undergoing colorectal surgeries.
Methods:
A retrospective analysis of medical records was conducted for patients who undergoing colorectal surgeries at Peking University People's Hospital from January 2015 to October 2021. Machine learning algorithms were employed to identify risk factors and construct prediction models for the time of the first postoperative flatus and defecation. The prediction models were evaluated using sensitivity, specificity, the Youden index, and the area under the receiver operating characteristic curve (AUC) through logistic regression, random forest, Naïve Bayes, and extreme gradient boosting algorithms.
Results:
The study included 1358 patients for postoperative flatus timing analysis and 1430 patients for postoperative defecation timing analysis between January 2015 and December 2020 as part of the training phase. Additionally, a validation set comprised 200 patients who undergoing colorectal surgeries from January to October 2021. The logistic regression prediction model exhibited the highest AUC (0.78) for predicting the timing of the first postoperative flatus. Identified independent risk factors influencing the time of first postoperative flatus were Age (p < 0.01), oral laxatives for bowel preparation (p = 0.01), probiotics (p = 0.02), oral antibiotics for bowel preparation (p = 0.02), duration of operation (p = 0.02), postoperative fortified antibiotics (p = 0.02), and time of first postoperative feeding (p < 0.01). Furthermore, logistic regression achieved an AUC of 0.72 for predicting the time of first postoperative defecation, with age (p < 0.01), oral antibiotics for bowel preparation (p = 0.01), probiotics (p = 0.01), and time of first postoperative feeding (p < 0.01) identified as independent risk factors.
Conclusions:
The study suggests that he use of probiotics and early recovery of diet may enhance the recovery of bowel function in patients undergoing colorectal surgeries. Among the various analytical methods used, logistic regression emerged as the most effective approach for predicting the timing of the first postoperative flatus and defecation in this patient population.
Related Concept Videos
Endoscopic Procedures IV: Sigmoidoscopy and Laproscopy
Sigmoidoscopy
Sigmoidoscopy is a diagnostic procedure that uses a flexible sigmoidoscope equipped with a light source and camera to examine the rectum and sigmoid colon. The procedure involves inserting the tube through the anus...
Appendicitis-II: Diagnostic Studies and Management
Diagnosing Appendicitis
It requires a multifaceted approach, starting with a detailed physical examination to pinpoint the location and nature of the pain and identify any associated symptoms. Laboratory tests play a crucial role. A complete Blood Count (CBC) typically reveals leukocytosis (an increased number of...
Inflammatory Bowel Disease V: Surgical Management
Here are some common surgical interventions for IBD:

