Related Experiment Video
Updated: Feb 13, 2026

Constructing and Visualizing Models using Mime-based Machine-learning Framework
Published on: July 22, 2025
Explainable machine learning model based on clinical and radiological features for predicting hematoma expansion or
Yingying Ding1, Liang Yao1, Yue Wang2
1Department of Neurosurgery, The Affiliated Yixing Hospital of Jiangsu University, Yixing, Jiangsu Province, China.
Background:
Hematoma expansion or rebleeding after decompressive craniectomy (DC) is a critical determinant of poor prognosis in traumatic brain injury (TBI). However, reliable and interpretable tools for early risk prediction remain limited.
Methods:
We retrospectively analyzed a bicentric cohort (training/internal validation, n = 880; external validation, n = 302). Preoperative clinical and computed tomography variables were collected. Missing data were addressed by multiple imputation with chained equations, and features were selected through LASSO and collinearity screening. Five machine-learning algorithms (logistic regression, elastic net, support vector machine, random forest, XGBoost) were optimized using Bayesian tuning and compared. Rubin's rules integrated performance estimates across imputations. Shapley Additive Explanations (SHAP) was employed for model interpretability, and the best-performing model was implemented as an online predictive tool.
Results:
The XGBoost model achieved the best discrimination and calibration [pooled area under the receiver operating characteristic curve (AUC) 0.868, 95% confidence interval (CI) 0.794-0.943; area under the receiver operating characteristic curve precision-recall curves (AUPRC) 0.769] and outperformed other methods in decision-curve analysis. External validation confirmed robust generalizability (AUC 0.847, 95% CI 0.793-0.900; AUPRC 0.758). At the predefined threshold, accuracy reached 83.4%, sensitivity 75.6%, and specificity 86.6%. Eleven preoperative predictors were retained, with age, admission Glasgow Coma Scale, anticoagulant/antiplatelet use, hypertension, and basal cistern status as the most influential factors. SHAP visualizations enhanced transparency at both the population and individual levels.
Conclusion:
We developed and externally validated an interpretable XGBoost-based model for the early prediction of hematoma expansion or rebleeding after DC in patients with TBI. This tool offers practical clinical value for perioperative decision-making and targeted monitoring.
Related Concept Videos
Toxidromes: Clinical Features
COPD: Pathogenesis and Clinical Features
The primary cause for the onset of COPD is cigarette smoking and exposure to air pollution. These hazardous factors initiate a chain reaction within the lungs, resulting in chronic inflammation, damage to the airways, and a...
Esophageal Strictures-II: Clinical Features and Management
Healthcare providers should gather a comprehensive medical history and conduct a physical examination for diagnosis. If esophageal stricture is...
Endocarditis II: Clinical Features of Infective Endocarditis
Pericarditis II: Clinical Features and Diagnostic Tests
Myocarditis II: Clinical Features and Diagnostic Tests

