Machine learning model for predicting in-hospital cardiac mortality among atrial fibrillation patients.

Journal: Scientific reports
Published Date:

Abstract

This study developed and validated a machine learning (ML) model to predict in-hospital cardiac mortality in 18,727 atrial fibrillation (AF) patients using electronic medical record data. Four ML algorithms-random forest, extreme gradient boosting (XGBoost), deep neural network, and logistic regression-were applied to 79 clinical variables, including demographics, vital signs, comorbidities, lifestyle factors, and laboratory parameters. The XGBoost model achieved the best performance, with an area under the curve of 0.964 ± 0.014 in the training set and 0.932 ± 0.057 in the validation set, alongside precision, accuracy, and recall of 0.909 ± 0.021, 0.910 ± 0.021, and 0.897 ± 0.038, respectively. Shapley Additive Explanations identified key predictors such as thyroid function indices (e.g., total triiodothyronine, total thyroxine), procalcitonin, N-terminal pro-brain natriuretic peptide, and international normalized ratio. This interpretable model holds promise for improving early risk stratification and individualized care in AF patients. Prospective, multi-center validation is needed to confirm its generalizability.

Authors

  • Huasheng Lv
    Department of Cardiology, The First Affiliated Hospital of Xinjiang Medical University, Urumqi, China.
  • Xuehua Bi
    Medical Engineering and Technology College, Xinjiang Medical University, Urumqi, China.
  • Shuai Shang
    Department of Pacing and Electrophysiology, Department of Cardiac Electrophysiology and Remodeling, The First Affiliated Hospital of Xinjiang Medical University, Urumqi, 830054, China.
  • Meng Wei
  • Xianhui Zhou
    Department of Pacing and Electrophysiology, Department of Cardiac Electrophysiology and Remodeling, The First Affiliated Hospital of Xinjiang Medical University, Urumqi, 830054, China.
  • Kai Wang
    Department of Rheumatology, The Affiliated Huai'an No. 1 People's Hospital of Nanjing Medical University, Huai'an, Jiangsu, China.
  • Baopeng Tang
    Department of Pacing and Electrophysiology, Xinjiang Key Laboratory of Cardiac Electrophysiology and Remodeling, The First Affiliated Hospital of Xinjiang Medical University, Urumqi, Xinjiang, 830054, China. Electronic address: tangbaopeng1111@163.com.
  • Yanmei Lu
    College of Computer Science and Electronic Engineering, Hunan University, Changsha, China.

Keywords

No keywords available for this article.