Published November 5, 2025 | Version v3
Model Open

Predicting Heart Failure Using MIMIC-IV and MIMIC-IV-ED: A Comparative Study of Machine Learning and Deep Learning Models

Description

This study introduces a heart failure (HF) prediction framework built on electronic health records (EHR) from the MIMIC-IV and MIMIC-IV-ED databases. The proposed system integrates structured clinical variables (e.g., demographics, vitals, laboratory results, comorbidities) with unstructured admission notes encoded using PubMedBERT embeddings. After preprocessing with Winsorization, k-nearest neighbor imputation, and Z-score normalization, multiple machine learning (ML) and deep learning (DL) algorithms were trained and compared, including Random Forest (RF), Logistic Regression, Decision Tree, Naïve Bayes, AdaBoost, Dense Neural Network (DNN), Long Short-Term Memory (LSTM), and Convolutional Neural Network (CNN).

Files

BERT.ipynb

Files (95.4 MB)

Name Size Download all
md5:aad318d1c6d5f97ff82b170608203691
5.4 kB Preview Download
md5:06ea65a675dead9febe0338f90e86e49
77.3 MB Preview Download
md5:8d6d2d8b9506d5b88acd639612b42024
5.7 MB Preview Download
md5:e31d3d89e512f63fc9dd09ddc08c6103
949.0 kB Preview Download
md5:90ff0219cca4c4376d8fa2adcd124fc3
9.5 MB Preview Download
md5:2b397cf8647cf803968d3e9192602679
653.0 kB Preview Download
md5:a0322ae3fcd862c44fc5e25bf3486696
1.2 MB Preview Download

Additional details

Additional titles

Alternative title
Heart failure prediction models

Software

Programming language
Python