Authors
Aihua Wu, Shanshan Wang, Hongying Ma, Songbo Yuan, Yanqing Liu
Published in
Frontiers in oncology. Volume 16. Pages 1880122. Epub Aug 17, 2026.
Abstract
Clinicians face challenges in diagnosing malignant pleural effusion (MPE) and distinguishing it from benign causes. This study aimed to develop and validate machine learning (ML) models for this purpose.
The retrospective study included 1,530 untreated patients with pleural effusion (PE) between January 2016 and December 2025. Clinical variables, including age, sex, smoking status, and laboratory indices were collected for analysis. The patients were randomly divided into the training and test sets at a ratio of 7:3. Six ML algorithms were developed and compared to determine the best diagnostic model for MPE using seven metrics, calibration curve, and decision curve. The SHapley Additive exPlanations (SHAP) values were used to interpret the model. An independent cohort of 244 PE patients was used for external validation.
Based on the feature importance analysis, the XGBoost (extreme gradient boosting) model achieved the best diagnostic performance in the training set, with an AUC of 0.988 (95% CI: 0.982-0.993), the lowest brier score 0.037 (95% CI: 0.029-0.045), and high values for accuracy of 0.951, sensitivity of 0.891, specificity of 0.984, and F1 score of 0.928. Six features were included: fluid carcinoembryonic antigen (CEA), serum CEA, serum cytokeratin 19 fragment (CYFRA 21-1), fluid carbohydrate antigen 724 (CA724), fluid carbohydrate antigen CA199 (CA199), and fluid adenosine deaminase (ADA). SHAP analysis showed that fluid CEA, fluid ADA, and serum CYFRA21-1 were the three most important variables.
We developed and validated an accurate and interpretable XGBoost model for distinguishing MPE from BPE using routine laboratory data, which might be applied in clinical practice and decision-making.
PMID:
42676367
Bibliographic data and abstract were imported from PubMed on 01 Sep 2026.
Read full publication at:
Please sign in
to see all details.
Advertisement
Stats
- Recommendations n/a n/a positive of 0 vote(s)
- Views 2
- Comments 0