Predicting Mortality in Hospitalized COVID-19 Patients in Zambia: An Application of Machine Learning

Clyde Mulenga1,2, Patrick Kaonga1, Raymond Hamoonga3

  • 1Department of Epidemiology and Biostatistics, University of Zambia, Lusaka, Zambia.

Insights

Machine learning models accurately predicted COVID-19 mortality in Zambian patients. Key factors like underlying conditions and hospital stay length can improve pandemic preparedness.

Area of Science:

  • Computational epidemiology
  • Health informatics
  • Machine learning in public health

Background:

  • The COVID-19 pandemic caused significant global mortality and strained healthcare systems.
  • Predicting mortality in hospitalized patients is crucial for resource allocation and pandemic preparedness.
  • Zambia, like many nations, faced challenges in managing COVID-19 patient outcomes.

Purpose of the Study:

  • To predict mortality risk in hospitalized COVID-19 patients in Zambia using machine learning (ML).
  • To identify key predictive factors for COVID-19 mortality to enhance pandemic preparedness.
  • To evaluate the performance of various ML models for mortality prediction in this context.

Main Methods:

  • Employed seven machine learning classifiers: decision tree (DT), random forest (RF), support vector machines (SVM), logistic regression (LR), Naïve Bayes (NB), gradient boosting (GB), and XGBoost (XGB).
  • Trained models on data from 1,433 hospitalized COVID-19 patients in Zambia.
  • Evaluated model performance using metrics including accuracy, recall, F1-Score, ROC_AUC, and PRC_AUC.

Main Results:

  • XGBoost achieved the highest performance with 92.3% accuracy, 94.2% recall, 92.4% F1-Score, and 97.5% ROC_AUC.
  • Gradient Boosting (91.7% accuracy) and Random Forest (90.8% accuracy) also demonstrated strong predictive capabilities.
  • Feature importance analysis identified underlying health conditions, length of stay, white blood cell count, and age as significant predictors of mortality.

Conclusions:

  • Machine learning models can effectively predict COVID-19 mortality in hospitalized patients in Zambia.
  • Identified factors can guide clinical interventions, improve resource management, and enhance pandemic preparedness.
  • The study provides a validated framework for leveraging ML in public health surveillance and response.