Work

Development and Validation of a Machine Learning Diagnostic Model Using Routine Clinical Data to Differentiate Malignant from Benign Pericardial Effusion

Year: 2026
Type: article
Study design: Observational Study
Abstract: Objectives: This study aimed to develop and validate a machine learning model based on routine clinical data to provide real-time, accurate decision support for distinguishing malignant pericardial effusion (MPE) from benign pericardial effusion (BPE). Methods: In total, 296 patients were retrospectively enrolled, comprising 168 with BPE and 128 with MPE. The dataset was randomly divided into training and test sets in a 7:3 ratio. Six machine learning algorithms were trained to construct predictive models, with their predictive accuracy assessed using the Area Under the Curve (AUC) and Decision Curve Analysis (DCA). Furthermore, SHapley Additive exPlanations (SHAP) analysis was utilized to interpret model outputs and identify key predictive variables. Results: All six machine learning models achieved favorable diagnostic performance. Among them, the LightGBM (LGB) model demonstrated the highest predictive accuracy; the LGB test set under the receiver operating characteristic curve (AUC) was 0.930 (95% CI 0.871–0.979), with a sensitivity of 86.8%, a specificity of 94.0%, and an accuracy of 90.9%. XGBoost (XGB) had a lower score than LGB (0.111 versus 0.142). LGB calibration intercept and slope were 0.246 and 3.328. The combined serum D-dimer/carbohydrate antigen 125 (CA125) model had AUC 0.876; its difference from LGB was uncertain (ΔAUC 0.054, 95% CI −0.011 to 0.125; Holm-adjusted p = 0.382). Mean LGB out-of-fold AUC was 0.888 (SD 0.008). Fluid lactate dehydrogenase had the highest SHAP importance. Conclusions: This study developed and validated an interpretable machine learning model incorporating five readily available clinical indicators that enables accurate and rapid differentiation between MPE and BPE, enhancing diagnostic decision-making for pericardial effusion.
Language: English
Field: Medicine
Open Access status: gold
Estimated APC paid: $3,137
OpenAlex ID: W4416016517
FWCI:
Cites: 39
Cited by:
Related to: 10