Skip to content
Open access

Optimizing In-Hospital Mortality Prediction After Cardiac Surgery: A Machine Learning Approach Using Feature Engineering for Imbalanced Data

Aug 2026 · Diagnostics · Vol 16, pp. 2557 · 0 citations · 47 references
Medicine

TL;DR

The streamlined MLP model significantly outperforms traditional scoring systems and may serve as a useful tool for early postoperative risk stratification after open-heart surgery.

Abstract

Background/Objectives: Cardiac surgery involves unique complexities that differ from those of general ICU populations. Traditional scoring systems often underperform due to the significant class imbalance between survival and mortality. This study utilized the MIMIC-IV database, integrating machine learning (ML) and feature engineering to develop an in-hospital mortality prediction model specifically for open-heart surgery patients. Methods: We included 6941 cases (mortality: 76, 1.095%). Sixty-eight variables from the first ICU day were extracted. Following data preprocessing and imputation, four ML models—logistic regression, random forest (RF), XGBoost, and multilayer perceptron (MLP)—were constructed using stratified 10-fold cross-validation. SMOTE was applied to address class imbalance. A streamlined 17-variable model was developed and compared against the Sequential Organ Failure Assessment (SOFA) and the Oxford Acute Severity of Illness Score (OASIS). Results: Among the 68-variable models, RF achieved the highest area under the receiver operating characteristic curve (AUROC) of 0.915 (95% CI, 0.855–0.966). For the 17-variable models, MLP performed best (AUROC: 0.920; 95% CI, 0.865–0.964), significantly outperforming SOFA (0.688) and OASIS (0.690). Regarding the area under the precision-recall curve (AUCPR), the 17-variable MLP also yielded the highest score (0.203; 95% CI, 0.060–0.389) compared with SOFA (0.161) and OASIS (0.046). SHapley Additive exPlanations (SHAP) analysis identified bicarbonate levels, mechanical ventilation, and mean pulmonary arterial pressure as the top predictors, consistent with clinical expectations. Conclusions: The streamlined MLP model significantly outperforms traditional scoring systems and may serve as a useful tool for early postoperative risk stratification after open-heart surgery.

Read PDF

Similar papers

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
Sep 2026

Interpretable Machine Learning for In-Hospital Mortality Prediction in Patients With Diabetes and ARDS: Development and External Validation.

Logistic Regression showed potential as an interpretable early ICU risk-stratification tool and externally validated machine learning models for in-hospital mortality prediction in patients with diabetes and ARDS.

Ya-Lin Dong, Meng-Xue Hou, Qian-Qian Wang et al. · 0 citations
Open access Sep 2026

Development of an interpretable machine learning model for predicting in-hospital mortality in ICU patients with sepsis: a retrospective cohort study

An interpretable RF-based machine learning model for predicting in-hospital mortality in patients with sepsis was developed and internally validated and showed acceptable discrimination, reasonable calibration, and potential clinical net benefit in internal validation.

Tian-Yu Zhao, Ke-Xin Wen, Xu-Min Han et al. · 0 citations
Aug 2026

Machine learning prediction of 30-day mortality in coronary artery disease: a retrospective multicenter study using electronic health records.

The use of a structured machine learning approach to predict 30-day mortality in patients with acute and chronic CAD demonstrated promising discriminative performance, providing valuable insights that could enhance personalized care and inform clinical decisions.

Septi Melisa, P. Phan, Sheng-Hsuan Chien et al. · 0 citations
Open access Sep 2026

Prediction Model for Intensive Care Unit Mortality in Patients with Spine Fracture: Can Machine Learning be Used to Improve Current Standards?

BACKGROUND The APACHE-IV is the gold standard for ICU mortality prediction across a multitude of patient conditions. We aim to create a machine learning model to predict ICU mortality for patients with spine fracture with similar predictive capabilities as the APACHE-IV, but with fewer inputs. STUDY DESIGN The MIMIC-...

Maor Shir, Ariel Sacknovitz, Matthew Blakley et al. · 0 citations

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