Related Experiment Video
Updated: Jun 2, 2025

Implementation of a Real-Time Psychosis Risk Detection and Alerting System Based on Electronic Health Records using CogStack
Published on: May 15, 2020
Predictive modelling and identification of critical variables of mortality risk in COVID-19 patients
Olawande Daramola1, Tatenda Duncan Kavu2, Maritha J Kotze3,3
1Department of Information Technology, Cape Peninsula University of Technology, Cape Town, South Africa. daramolaj@cput.ac.za.
Insights
Machine learning models accurately predict COVID-19 mortality risk in South Africa. Deep MLP achieved the best performance, identifying key factors like hospital stay duration and blood clotting for risk assessment.
Area of Science:
- Medical Informatics
- Artificial Intelligence in Healthcare
- Epidemiology
Background:
- South Africa faced a significant COVID-19 burden, necessitating advanced analytical tools.
- Artificial intelligence (AI), specifically machine learning (ML), offers potential for improving COVID-19 patient management.
- Limited research exists on AI applications for COVID-19 in Africa.
Purpose of the Study:
- To evaluate ML algorithms (Deep MLP, SVM, XGBoost) for predicting COVID-19 mortality risk.
- To assess the impact of cross-validation (CV) and principal component analysis (PCA) on ML model performance.
- To interpret ML predictions using SHAP to identify critical mortality risk factors.
Main Methods:
- Retrospective analysis of 154 features from 490 ICU patients during the first COVID-19 wave.
- Application of Deep MLP, SVM, and XGBoost models.
- Utilized CV, synthetic minority oversampling technique (SMOTE), and PCA for model optimization and evaluation.
- Employed Shapley Additive exPlanations (SHAP) for model interpretability.
Main Results:
- Deep MLP demonstrated superior performance (F1=0.92, AUC=0.94) with CV and SMOTE, without PCA.
- Key predictors of mortality risk identified: Length of Stay (LOS), ICU LOS, Time to ICU, discharge status, D-dimer, and blood pH.
- Factors like age, Pf ratio, troponin T, ferritin, ventilation, CRP, and ARDS symptoms correlated with severity and fatality.
Conclusions:
- ML models, particularly Deep MLP, can effectively predict COVID-19 mortality risk.
- Interpretability methods like SHAP highlight crucial clinical variables for risk assessment.
- This study provides insights into optimizing ML models for COVID-19 mortality prediction in African contexts, aiding clinical decision-making.
Abstract:
South Africa was the most affected country in Africa by the coronavirus disease 2019 (COVID-19) pandemic, where over 4 million confirmed cases of COVID-19 and over 102,000 deaths have been recorded since 2019. Aside from clinical methods, artificial intelligence (AI)-based solutions such as machine learning (ML) models have been employed in treating COVID-19 cases. However, limited application of AI for COVID-19 in Africa has been reported in the literature. This study aimed to investigate the performance and interpretability of several ML algorithms, including deep multilayer perceptron (Deep MLP), support vector machine (SVM) and Extreme gradient boosting trees (XGBoost) for predicting COVID-19 mortality risk with an emphasis on the effect of cross-validation (CV) and principal component analysis (PCA) on the results. For this purpose, a dataset with 154 features from 490 COVID-19 patients admitted into the intensive care unit (ICU) of Tygerberg Hospital in Cape Town, South Africa, during the first wave of COVID-19 in 2020 was retrospectively analysed. Our results show that Deep MLP had the best overall performance (F1 = 0.92; area under the curve (AUC) = 0.94) when CV and the synthetic minority oversampling technique (SMOTE) were applied without PCA. By using the Shapley Additive exPlanations (SHAP) model to interpret the mortality risk predictions, we identified the Length of stay (LOS) in the hospital, LOS in the ICU, Time to ICU from admission, days discharged alive or death, D-dimer (blood clotting factor), and blood pH as the six most critical variables for mortality risk prediction. Also, Age at admission, Pf ratio (PaO2/FiO2 ratio), troponin T (TropT), ferritin, ventilation, C-reactive protein (CRP), and symptoms of acute respiratory distress syndrome (ARDS) were associated with the severity and fatality of COVID-19 cases. The study reveals how ML could assist medical practitioners in making informed decisions on handling critically ill COVID-19 patients with comorbidities. It also offers insight into the combined effect of CV, PCA, and SMOTE on the performance of ML models for COVID-19 mortality risk prediction, which has been little explored.
Related Concept Videos
Cancer Survival Analysis
Steps in Outbreak Investigation
Assumptions of Survival Analysis
Comparing the Survival Analysis of Two or More Groups
Actuarial Approach
Consider the example of a high-risk surgical procedure with significant early-stage mortality. A two-year clinical study is conducted,...
Introduction To Survival Analysis
The primary goal of survival analysis is to estimate survival time—the time...

