Related Experiment Video
Updated: Jul 29, 2025

Ex Vivo Porcine Experimental Model for Studying and Teaching Lung Mechanics
Published on: April 19, 2024
Developing a machine-learning model for real-time prediction of successful extubation in mechanically ventilated
Kuo-Yang Huang1,2,3,4, Ying-Lin Hsu5, Huang-Chi Chen6
1Division of Chest Medicine, Department of Internal Medicine, Changhua Christian Hospital, Changhua, Taiwan.
Background:
Successful weaning from mechanical ventilation is important for patients admitted to intensive care units. However, models for predicting real-time weaning outcomes remain inadequate. Therefore, this study aimed to develop a machine-learning model for predicting successful extubation only using time-series ventilator-derived parameters with good accuracy.
Methods:
Patients with mechanical ventilation admitted to the Yuanlin Christian Hospital in Taiwan between August 2015 and November 2020 were retrospectively included. A dataset with ventilator-derived parameters was obtained before extubation. Recursive feature elimination was applied to select the most important features. Machine-learning models of logistic regression, random forest (RF), and support vector machine were adopted to predict extubation outcomes. In addition, the synthetic minority oversampling technique (SMOTE) was employed to address the data imbalance problem. The area under the receiver operating characteristic (AUC), F1 score, and accuracy, along with the 10-fold cross-validation, were used to evaluate prediction performance.
Results:
In this study, 233 patients were included, of whom 28 (12.0%) failed extubation. The six ventilatory variables per 180 s dataset had optimal feature importance. RF exhibited better performance than the others, with an AUC value of 0.976 (95% confidence interval [CI], 0.975-0.976), accuracy of 94.0% (95% CI, 93.8-94.3%), and an F1 score of 95.8% (95% CI, 95.7-96.0%). The difference in performance between the RF and the original and SMOTE datasets was small.
Conclusion:
The RF model demonstrated a good performance in predicting successful extubation in mechanically ventilated patients. This algorithm made a precise real-time extubation outcome prediction for patients at different time points.
More Related Videos
05:56Monitoring Lung Function with Electrical Impedance Tomography in the Intensive Care Unit
Published on: September 6, 2024
06:22Surfactant Depletion Combined with Injurious Ventilation Results in a Reproducible Model of the Acute Respiratory Distress Syndrome ARDS
Published on: April 7, 2021
Related Concept Videos
Mechanical Ventilation I: Indication and Settings
Mechanical Ventilation II: Invasive Ventilation
Negative-Pressure Ventilators
Negative-pressure ventilators create a vacuum around the chest or body to draw air into the lungs, simulating breathing. This method does not require an...
Mechanical Ventilation III: Noninvasive Ventilation
Noninvasive Positive-Pressure Ventilation...
Endotracheal Tube Extubation
Procedure
Extubation removes the endotracheal tube (ETT) from the patient on mechanical ventilation. It requires a well-coordinated, multidisciplinary approach involving physicians, nurses, respiratory therapists, and other healthcare professionals....
Ventilatory Modes
There are three ventilatory modes: full support, partial support, and spontaneous. These are described below.
Full Support Modes
Full support modes include controlled mechanical ventilation, continuous mandatory...
Factors Affecting Pulmonary Ventilation
Alveolar Surface Tension
The alveolar fluid lines the luminal surface of the alveoli and exerts a force called surface tension. This force is caused by the polar water molecules in the liquid being more strongly attracted to each...