Related Experiment Video
Updated: Aug 17, 2025

Video Imaging and Spatiotemporal Maps to Analyze Gastrointestinal Motility in Mice
Published on: February 3, 2016
Artificial Intelligence and Anorectal Manometry: Automatic Detection and Differentiation of Anorectal Motility
Miguel Mascarenhas Saraiva1,2,3, Maria Vila Pouca4,5, Tiago Ribeiro1,2
1Department of Gastroenterology, São João University Hospital, Porto, Portugal.
Introduction:
Anorectal manometry (ARM) is the gold standard for the evaluation of anorectal functional disorders, prevalent in the population. Nevertheless, the accessibility to this examination is limited, and the complexity of data analysis and report is a significant drawback. This pilot study aimed to develop and validate an artificial intelligence model to automatically differentiate motility patterns of fecal incontinence (FI) from obstructed defecation (OD) using ARM data.
Methods:
We developed and tested multiple machine learning algorithms for the automatic interpretation of ARM data. Four models were tested: k-nearest neighbors, support vector machines, random forests, and gradient boosting (xGB). These models were trained using a stratified 5-fold strategy. Their performance was assessed after fine-tuning of each model's hyperparameters, using 90% of data for training and 10% of data for testing.
Results:
A total of 827 ARM examinations were used in this study. After fine-tuning, the xGB model presented an overall accuracy (84.6% ± 2.9%), similar to that of random forests (82.7% ± 4.8%) and support vector machines (81.0% ± 8.0%) and higher that of k-nearest neighbors (74.4% ± 3.8%). The xGB models showed the highest discriminating performance between OD and FI, with an area under the curve of 0.939.
Discussion:
The tested machine learning algorithms, particularly the xGB model, accurately differentiated between FI and OD manometric patterns. Subsequent development of these tools may optimize the access to ARM studies, which may have a significant impact on the management of patients with anorectal functional diseases.
More Related Videos
06:51Development of an Algorithm to Perform a Comprehensive Study of Autonomic Dysreflexia in Animals with High Spinal Cord Injury Using a Telemetry Device
Published on: July 29, 2016
07:41Quantification of Levator Ani Hiatus Enlargement by Magnetic Resonance Imaging in Males and Females with Pelvic Organ Prolapse
Published on: April 17, 2019
Related Concept Videos
Assessment of the Rectum and Anus
Rectal Inspection
Begin by inspecting the perianal and anal areas for color, texture, rashes,...
Imaging Studies III: Gastrointestinal Motility Studies and Virtual Colonoscopy
Radionuclide Testing
Radionuclide testing is a sophisticated medical technique for assessing gastrointestinal motility. It focuses on gastric emptying and colonic transit time. Radioactive markers track the movement of food through the digestive system, providing insights into gastrointestinal disorders.
In gastric emptying studies, a meal's liquid and...