Related Experiment Video
Updated: May 9, 2025

Local Anesthetic Thoracoscopy for Undiagnosed Pleural Effusion
Published on: November 10, 2023
Machine learning-based Diagnostic model for determining the etiology of pleural effusion using Age, ADA and LDH
Qing-Yu Chen1, Shu-Min Yin1, Ming-Ming Shao1,2
1Department of Respiratory and Critical Care Medicine, Beijing Institute of Respiratory Medicine and Beijing Chao-Yang Hospital, Capital Medical University, Beijing, 100020, China.
Background:
Classification of the etiologies of pleural effusion is a critical challenge in clinical practice. Traditional diagnostic methods rely on a simple cut-off method based on the laboratory tests. However, machine learning (ML) offers a novel approach based on artificial intelligence to improving diagnostic accuracy and capture the non-linear relationships.
Method:
A retrospective study was conducted using data from patients diagnosed with pleural effusion. The dataset was divided into training and test set with a ratio of 7:3 with 6 machine learning algorithms implemented to diagnosis pleural effusion. Model performances were assessed by accuracy, precision, recall, F1 scores and area under the receiver operating characteristic curve (AUC). Feature importance and average prediction of age, Adenosine (ADA) and Lactate dehydrogenase (LDH) was analyzed. Decision tree was visualized.
Results:
A total of 742 patients were included (training cohort: 522, test cohort: 220), 397 (53.3%) diagnosed with malignant pleural effusion (MPE) and 253 (34.1%) with tuberculous pleural effusion (TPE) in the cohort. All of the 6 models performed well in the diagnosis of MPE, TPE and transudates. Extreme Gradient Boosting and Random Forest performed better in the diagnosis of the MPE, with F1 scores above 0.890, while K-Nearest Neighbors and Tabular Transformer performed better in the diagnosis of the TPE, with F1 scores above 0.870. ADA was identified as the most important feature. The ROC of machine learning model outperformed those of conventional diagnostic thresholds.
Conclusions:
This study demonstrates that ML models using age, ADA, and LDH can effectively classify the etiologies of pleural effusion, suggesting that ML-based approaches may enhance diagnostic decision-making.
Related Concept Videos
Pleural Effusion I: Introduction
There are two main types of pleural effusion: transudative and exudative. They are differentiated using Light's...
Pleural Effusion II: Symptoms and Management
A pleural effusion is the abnormal collection of fluid between the parietal and visceral pleura layers of tissue that form the lining of the lungs and chest cavity. It can occur independently or due to surrounding parenchymal diseases, such as infection, malignancy, or inflammatory conditions.
Clinical Manifestations:
Pneumonia III: Complications and Assessment
Chronic Obstructive Pulmonary Disease-IV: Assessement and Diagnostic Studies
Medical History

