Related Experiment Video
Updated: Aug 15, 2025

Implementation of a Real-Time Psychosis Risk Detection and Alerting System Based on Electronic Health Records using CogStack
Published on: May 15, 2020
Interpretable generalized neural additive models for mortality prediction of COVID-19 hospitalized patients in
Samad Moslehi1, Hossein Mahjub2, Maryam Farhadian3
1Department of Biostatistics, School of Public Health, Hamadan University of Medical Sciences, Hamadan, Iran.
Insights
Generalized Neural Additive Models (GNAM) effectively predict COVID-19 patient mortality using demographic and clinical data. This interpretable machine learning approach identifies key biomarkers and their trends, aiding clinical decision-making.
Area of Science:
- Medical Informatics
- Machine Learning
- Public Health
Background:
- High COVID-19 mortality poses a global threat.
- Demographic and clinical factors significantly influence COVID-19 mortality risk.
- Predictive models are crucial for managing patient outcomes.
Purpose of the Study:
- To implement and evaluate the Generalized Neural Additive Model (GNAM) for predicting COVID-19 patient mortality.
- To compare GNAM's performance against other machine learning models.
- To identify key demographic and clinical biomarkers associated with COVID-19 mortality.
Main Methods:
- A cohort of 2181 COVID-19 patients was analyzed.
- Feature selection was performed using Random Forest (RF), identifying 10 influential biomarkers.
- Missing data was handled using imputation techniques (KNN, MICE).
- GNAM's predictive performance was compared with logistic regression, RF, GAMs, GBDT, and DNNs using accuracy, F1-score, and AUC.
Main Results:
- GNAM achieved the best performance with mean accuracy of 0.847, F1-score of 0.691, and AUC of 0.774.
- Key predictors included age, blood urea nitrogen (BUN), lymphocytes (Lym), blood sugar (BS), and others.
- GNAM revealed descending trends for Lym and ascending trends for other biomarkers.
Conclusions:
- Interpretable GNAM is a reliable tool for predicting COVID-19 mortality.
- GNAM aids physicians in prioritizing biomarkers and understanding disease progression trends.
- This model can support clinical decision-making for high-risk patients.
Background:
The high number of COVID-19 deaths is a serious threat to the world. Demographic and clinical biomarkers are significantly associated with the mortality risk of this disease. This study aimed to implement Generalized Neural Additive Model (GNAM) as an interpretable machine learning method to predict the COVID-19 mortality of patients.
Methods:
This cohort study included 2181 COVID-19 patients admitted from February 2020 to July 2021 in Sina and Besat hospitals in Hamadan, west of Iran. A total of 22 baseline features including patients' demographic information and clinical biomarkers were collected. Four strategies including removing missing values, mean, K-Nearest Neighbor (KNN), and Multivariate Imputation by Chained Equations (MICE) imputation methods were used to deal with missing data. Firstly, the important features for predicting binary outcome (1: death, 0: recovery) were selected using the Random Forest (RF) method. Also, synthetic minority over-sampling technique (SMOTE) method was used for handling imbalanced data. Next, considering the selected features, the predictive performance of GNAM for predicting mortality outcome was compared with logistic regression, RF, generalized additive model (GAMs), gradient boosting decision tree (GBDT), and deep neural networks (DNNs) classification models. Each model trained on fifty different subsets of a train-test dataset to ensure a model performance. The average accuracy, F1-score and area under the curve (AUC) evaluation indices were used for comparison of the predictive performance of the models.
Results:
Out of the 2181 COVID-19 patients, 624 died during hospitalization and 1557 recovered. The missing rate was 3 percent for each patient. The mean age of dead patients (71.17 ± 14.44 years) was statistically significant higher than recovered patients (58.25 ± 16.52 years). Based on RF, 10 features with the highest relative importance were selected as the best influential features; including blood urea nitrogen (BUN), lymphocytes (Lym), age, blood sugar (BS), serum glutamic-oxaloacetic transaminase (SGOT), monocytes (Mono), blood creatinine (CR), neutrophils (NUT), alkaline phosphatase (ALP) and hematocrit (HCT). The results of predictive performance comparisons showed GNAM with the mean accuracy, F1-score, and mean AUC in the test dataset of 0.847, 0.691, and 0.774, respectively, had the best performance. The smooth function graphs learned from the GNAM were descending for the Lym and ascending for the other important features.
Conclusions:
Interpretable GNAM can perform well in predicting the mortality of COVID-19 patients. Therefore, the use of such a reliable model can help physicians to prioritize some important demographic and clinical biomarkers by identifying the effective features and the type of predictive trend in disease progression.
Related Concept Videos
Assumptions of Survival Analysis
Statistical Methods for Analyzing Epidemiological Data
Parametric Survival Analysis: Weibull and Exponential Methods
Weibull Distribution
The Weibull distribution is a flexible model used in parametric survival analysis. It can handle both increasing and decreasing hazard rates, depending on its shape parameter...
Actuarial Approach
Consider the example of a high-risk surgical procedure with significant early-stage mortality. A two-year clinical study is conducted,...
Model Approaches for Pharmacokinetic Data: Physiological Models
Cancer Survival Analysis

