Related Experiment Video
Updated: Jul 4, 2025

A Model to Simulate Clinically Relevant Hypoxia in Humans
Published on: December 22, 2016
Machine learning-based risk prediction of hypoxemia for outpatients undergoing sedation colonoscopy: a practical
Wei Lu1,2, Yulan Tong1,2, Xiuxiu Zhao3
1School of Basic Medicine and Clinical Pharmacy, China Pharmaceutical University, Nanjing, China.
Objectives:
Hypoxemia as a common complication in colonoscopy under sedation and may result in serious consequences. Unfortunately, a hypoxemia prediction model for outpatient colonoscopy has not been developed. Consequently, the objective of our study was to develop a practical and accurate model to predict the risk of hypoxemia in outpatient colonoscopy under sedation.
Methods:
In this study, we included patients who received colonoscopy with anesthesia in Nanjing First Hospital from July to September 2021. Risk factors were selected through the least absolute shrinkage and selection operator (LASSO). Prediction models based on logistic regression (LR), random forest classifier (RFC), extreme gradient boosting (XGBoost), support vector machine (SVM), and stacking classifier (SCLF) model were implemented and assessed by standard metrics such as the area under the receiver operating characteristic curve (AUROC), sensitivity and specificity. Then choose the best model to develop an online tool for clinical use.
Results:
We ultimately included 839 patients. After LASSO, body mass index (BMI) (coefficient = 0.36), obstructive sleep apnea-hypopnea syndrome (OSAHS) (coefficient = 1.32), basal oxygen saturation (coefficient = -0.14), and remifentanil dosage (coefficient = 0.04) were independent risk factors for hypoxemia. The XGBoost model with an AUROC of 0.913 showed the best performance among the five models.
Conclusion:
Our study selected the XGBoost as the first model especially for colonoscopy, with over 95% accuracy and excellent specificity. The XGBoost includes four variables that can be quickly obtained. Moreover, an online prediction practical tool has been provided, which helps screen high-risk outpatients with hypoxemia swiftly and conveniently.
More Related Videos
Related Concept Videos
Respiratory Assessment: Purpose and Indications
Objectives and Importance:
The primary goal of respiratory assessment is to evaluate patients at early risk of clinical deterioration. Since respiratory distress often precedes other signs of declining health, breathing patterns and sounds become a...
Pulse Oximetry
Purpose
Average SpO2 values are greater than 95%. If the readings fall below 90%, it indicates that...
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...
Special considerations while measuring oxygen saturation
Ensuring accuracy in vital sign recordings while prioritizing patient comfort and minimizing anxiety is...
Hypoxia
Types of Hypoxia
There are four primary types of hypoxia, each resulting from a different cause:
1. Anemic hypoxia: This type occurs due to insufficient oxygen delivery caused by a lack of red blood cells (RBCs) or RBCs with abnormal or...

