Skip to content
Open access

Machine learning-based prediction of postoperative venous thromboembolism in orthopedic surgery using the MIMIC-IV database and external validation

Sep 2026 · Frontiers in Surgery · Vol 13 · 0 citations · 27 references
Medicine

TL;DR

The LGBM model constructed based on the MIMIC-IV database has excellent predictive efficacy for VTE after orthopedic surgery and certain external generalization abilities, providing a reference for the early identification of high-risk individuals in clinical settings.

Abstract

Objective A risk prediction model for venous thromboembolism (VTE) after orthopedic surgery was constructed and validated using machine learning algorithms, providing a reference for the early identification of high-risk individuals in clinical settings. Method Patients who underwent orthopedic surgery were retrospectively collected from the Medical Information Mart for Intensive Care (MIMIC-IV) database as the modeling group. The patients were randomly divided into training and internal test sets in a 7:3 ratio. A total of 156 patients who underwent orthopedic surgery in our hospital from January 2022 to July 2025 were selected for the external validation set. Predictive variables were selected using the least absolute shrinkage and selection operator (LASSO) regression. Six machine learning models were constructed: logistic regression (LR), decision tree (DT), random forest (RF), extreme gradient boosting (XGB), light gradient boosting machine (LGBM), and naive Bayes (NBM). The model performance was evaluated by using the area under the receiver operating characteristic curve (AUC), accuracy, sensitivity, specificity, F1 score, and G-mean. The interpretability of the optimal model was analyzed using the calibration curves, decision curve analysis (DCA), and SHAP methods. Results The MIMIC-IV database included 461 patients (VTE incidence rate, 15.8%). LASSO regression identified two predictive variables: fibrinogen and D-dimer levels. The AUC of the LGBM model in the internal test set was 0.893 (95% CI: 0.820–0.966), and in the external validation, the AUC of the LGBM model was 0.788. The predictive performance of this model was superior to that of the other five models tested. The calibration curve indicated that the model was well calibrated, and the decision curve suggested a clinical net benefit within the 0.1–0.6 threshold range. SHAP analysis showed that elevated fibrinogen and D-dimer levels were positively correlated with the risk of VTE. Conclusion The LGBM model constructed based on the MIMIC-IV database has excellent predictive efficacy for VTE after orthopedic surgery and certain external generalization abilities. Fibrinogen and D-dimer levels are key predictive factors. This model can serve as a preliminary reference tool for risk stratification of VTE after orthopedic surgery.

Read PDF

Similar papers

Open access Aug 2026

Construction and internal validation of a machine learning model for predicting 30-day readmission after hip surgery

The XGBoost-based ML model showed potential for predicting 30-day readmission after hip surgery and may provide supportive information for perioperative risk stratification and modifiable management strategies, particularly nutritional optimization and temperature management.

Cui-Cui Dou, Zhang-An Wang, Ke-Ke Dai et al. · 0 citations
Open access Aug 2026

Machine learning–based prediction of in-hospital deep vein thrombosis in patients with acute ischemic stroke: a multicenter study

Machine learning models demonstrated favorable performance for predicting in-hospital DVT after AIS, and SVM showed the most favorable overall performance, whereas XGBoost prioritized sensitivity.

Tie-Shi Zhu, Run-Zhui Lin, Le Zhao et al. · 0 citations
Open access Sep 2026

Construction and clinical validation of a machine learning-based risk prediction model for poor wound healing after anorectal surgery

Logistic regression demonstrated the best overall discriminative ability, calibration, clinical net benefit, and cross-cohort generalizability, and is recommended as the preferred tool for individualized risk assessment.

Li-Ling Pan, Li-Zhi He, Jian-Zhen Zhao et al. · 0 citations
Open access Sep 2026

Interpretable machine learning models to predict venous thromboembolism in sepsis patients with type 2 diabetes mellitus

Sepsis patients with type 2 diabetes mellitus (T2DM) face a substantially elevated risk of venous thromboembolism (VTE), yet prediction tools tailored for this population are lacking. This study aimed to develop and validate interpretable machine learning models for predicting in-hospital VTE in septic patients wit...

Long-Yang Ma, Xiao-Yuan Yu, Qi Xin · 0 citations
Open access Sep 2026

Performance comparison of different machine learning models to predict the risk of postcraniotomy nausea and vomiting: a retrospective study

LightGBM shows the best overall performance for risk stratification of PONV after craniotomy, and SHAP visualization endows the model with favorable clinical interpretability to facilitate individualized risk prediction.

Ling-Yi Wu, Hong-Ying Pan, Yi-Hong Xu et al. · 0 citations
Open access Aug 2026

Predicting in-hospital mortality after cardiac surgery using machine learning: temporal validation in the MIMIC-IV database

Background Machine learning (ML) models have been increasingly applied to surgical risk prediction; however, their comparative performance and temporal generalizability remain inadequately evaluated. Methods A retrospective cohort study of 9,956 adult patients undergoing coronary artery bypass grafting and/or valve sur...

Jian-Hui Zhou, Cheng-Xin Zhang · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.