Related Experiment Video
Updated: Jan 24, 2026

Constructing and Visualizing Models using Mime-based Machine-learning Framework
Published on: July 22, 2025
Machine learning-based prediction model for bronchoalveolar lavage efficacy in severe pneumonia
Ning Zhang1, Lin Cui2, Xiaojun Zhang1
1Department of Emergency, Qilu Hospital (Qingdao), Cheeloo College of Medicine, Shandong University, Qingdao, China.
Objective:
The objective of the study was to construct and validate a predictive model for the clinical efficacy of bronchoalveolar lavage (BAL) with fiberoptic bronchoscopy in patients with community-acquired severe pneumonia based on inflammatory response indicators and blood gas analysis results.
Methods:
A total of 206 patients with severe pneumonia who underwent BAL treatment in our hospital from November 2020 to November 2024 were enrolled and randomly divided into a training set (n = 144) and a validation set (n = 62) in a 7:3 ratio. In the training set, efficacy-related indicators were screened using univariate analysis. After variable selection via a least absolute shrinkage and selection operator (LASSO) regression analysis, independent factors influencing poor efficacy were determined using multivariate logistic regression analysis. Random forest (RF), K-nearest neighbor algorithm (KNN), and gradient boosting (GB) models were constructed using Python. The performance of the models was evaluated by the area under (AUC) the receiver operating characteristic curve (ROC), and the optimal model was selected.
Results:
There were 32 cases (22.22%) and 13 cases (20.97%) with poor clinical efficacy in the training set and the validation set, respectively. In the training set, the multivariate logistic regression analysis showed that age ≥ 60 years, comorbid chronic obstructive pulmonary disease (COPD), procalcitonin (PCT) ≥ 2 ng/mL, C-reactive protein (CRP) ≥ 100 mg/L, partial pressure of arterial oxygen (PaO₂) < 60 mmHg, and partial pressure of arterial carbon dioxide (PaCO₂) ≥ 50 mmHg were independent risk factors for poor efficacy (all p < 0.05). The AUC values of the RF model (0.799 in the training set and 0.778 in the validation set) were significantly higher than those of the KNN (0.759, 0.721) and the GB (0.766, 0.738) models, making it the optimal predictive model.
Conclusion:
An RF-based predictive model was successfully developed and validated to predict the efficacy of BAL treatment in patients with severe pneumonia. This model effectively identifies and quantifies key factors influencing BAL treatment outcomes in severe pneumonia, providing basic data support for subsequent hypothesis testing and clinical efficacy prediction research. However, as this is a single-center, hypothesis-generating study, the application of the model in individualized treatment planning still requires multicenter external validation and further analysis including a non-BAL control group.
More Related Videos
09:17A Robust Pneumonia Model in Immunocompetent Rodents to Evaluate Antibacterial Efficacy against S. pneumoniae, H. influenzae, K. pneumoniae, P. aeruginosa or A. baumannii
Published on: January 2, 2017
07:13Comparison of Predictive Performance of Three Lymph Node Staging Systems in Colorectal Signet Ring Cell Carcinoma Based on Machine Learning Model
Published on: April 18, 2025
Related Concept Videos
Simplified Synchronous Machine Model
In this model, each generator is connected to a...
Wind Turbine Machine Models
Induction machines interact through the rotating magnetic field generated by the stator and the rotor. The key parameter is slip, which is the difference between synchronous speed and rotor speed relative to synchronous speed. Slip is...
Pneumonia I: Introduction
Risk Factors
Various factors influence the likelihood of developing pneumonia. Age plays a crucial role, with infants, children under two, and individuals over 65 at increased risk due to their...
Pneumonia II: Pathophysiology
Predicting Molecular Geometry
Self-Efficacy