Predicting in-hospital mortality in heart failure patients using machine learning

dc.contributor.authorMpanya, Dineo
dc.contributor.supervisorNtsinjana, Hopewell
dc.date.accessioned2025-05-13T11:59:56Z
dc.date.issued2023-05
dc.departmentCardiology
dc.descriptionA thesis submitted in fulfilment of the requirements for the degree of Doctor of Philosophy, to the Faculty of Health Sciences, School of clinical Medicine, University of the Witwatersrand, Johannesburg, 2023.
dc.description.abstractThe age of onset and causes of heart failure differ between high-income and low-and-middle-income countries (LMIC). Heart failure patients in LMIC also experience a higher mortality rate. Innovative ways that can risk stratify heart failure patients in this region are needed. The aim of this study was to demonstrate the utility of machine learning in predicting all-cause mortality in heart failure patients hospitalised in a tertiary academic centre. Six supervised machine learning algorithms were trained to predict in-hospital all-cause mortality using data from 500 consecutive heart failure patients with a left ventricular ejection fraction (LVEF) less than 50%. The mean age was 55.2 ± 16.8 years. There were 271 (54.2%) males, and the mean LVEF was 29 ± 9.2%. The median duration of hospitalisation was 7 days (interquartile range: 4–11), and it did not differ between patients discharged alive and those who died. After a prediction window of 4 years (interquartile range: 2–6), 84 (16.8%) patients died before discharge from the hospital. The area under the receiver operating characteristic curve was 0.82, 0.78, 0.77, 0.76, 0.75, and 0.62 for random forest, logistic regression, support vector machines (SVM), extreme gradient boosting, multilayer perceptron (MLP), and decision trees, and the accuracy during the test phase was 88, 87, 86, 82, 78, and 76% for random forest, MLP, SVM, extreme gradient boosting, decision trees, and logistic regression. The support vector machines were the best performing algorithm, and furosemide, beta-blockers, spironolactone, early diastolic murmur, and a parasternal heave had a positive coefficient with the target feature, whereas coronary artery disease, potassium, oedema grade, ischaemic cardiomyopathy, and right bundle branch block on electrocardiogram had negative coefficients. Despite a small sample size, supervised machine learning algorithms successfully predicted all-cause mortality with modest accuracy. The SVM model will be externally validated using data from multiple cardiology centres in South Africa before developing a uniquely African risk prediction tool that can potentially transform heart failure management through precision medicine.
dc.description.sponsorshipThe Bongani Mayosi Netcare Clinical Scholarship
dc.description.sponsorshipThe Discovery Academic Fellowship
dc.description.sponsorshipThe Carnegie Corporation of New York
dc.description.sponsorshipThe South African Heart Association
dc.description.sponsorshipThe University of the Witwatersrand Chancellor’s Female Academic Leaders Fellowship (NPC) Grant
dc.description.submitterMMM2025
dc.facultyFaculty of Health Sciences
dc.identifier0000-0003-3769-4686
dc.identifier.citationMpanya, Dineo. (2023). Predicting in-hospital mortality in heart failure patients using machine learning. [PhD thesis, University of the Witwatersrand, Johannesburg]. WIReDSpace. https://hdl.handle.net/10539/44901
dc.identifier.urihttps://hdl.handle.net/10539/44901
dc.language.isoen
dc.publisherUniversity of the Witwatersrand, Johannesburg
dc.rights©2023 University of the Witwatersrand, Johannesburg. All rights reserved. The copyright in this work vests in the University of the Witwatersrand, Johannesburg. No part of this work may be reproduced or transmitted in any form or by any means, without the prior written permission of University of the Witwatersrand, Johannesburg.
dc.rights.holderUniversity of the Witwatersrand, Johannesburg
dc.schoolSchool of Clinical Medicine
dc.subjectMachine learning
dc.subjectAlgorithms
dc.subjectHeart failure
dc.subjectPredict
dc.subjectMortality
dc.subjectAfrica
dc.subjectUCTD
dc.subject.primarysdgSDG-3: Good health and well-being
dc.subject.secondarysdgSDG-4: Quality education
dc.titlePredicting in-hospital mortality in heart failure patients using machine learning
dc.typeThesis

Files

Original bundle

Now showing 1 - 1 of 1
No Thumbnail Available
Name:
Mpanya_Predicting_2023.pdf
Size:
14.71 MB
Format:
Adobe Portable Document Format

License bundle

Now showing 1 - 1 of 1
No Thumbnail Available
Name:
license.txt
Size:
2.43 KB
Format:
Item-specific license agreed upon to submission
Description: