Frontiers in Medicine (May 2023)

Developing a machine-learning model for real-time prediction of successful extubation in mechanically ventilated patients using time-series ventilator-derived parameters

  • Kuo-Yang Huang,
  • Kuo-Yang Huang,
  • Kuo-Yang Huang,
  • Kuo-Yang Huang,
  • Ying-Lin Hsu,
  • Huang-Chi Chen,
  • Ming-Hwarng Horng,
  • Che-Liang Chung,
  • Ching-Hsiung Lin,
  • Ching-Hsiung Lin,
  • Ching-Hsiung Lin,
  • Jia-Lang Xu,
  • Ming-Hon Hou,
  • Ming-Hon Hou,
  • Ming-Hon Hou,
  • Ming-Hon Hou,
  • Ming-Hon Hou

DOI
https://doi.org/10.3389/fmed.2023.1167445
Journal volume & issue
Vol. 10

Abstract

Read online

BackgroundSuccessful 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.MethodsPatients 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.ResultsIn 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.ConclusionThe 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.

Keywords