# A machine learning approach to predicting inpatient mortality among pediatric acute gastroenteritis patients in Kenya

**Authors:** Billy Ogwel, Vincent H. Mzazi, Bryan O. Nyawanda, Gabriel Otieno, Kirkby D. Tickell, Richard Omore

PMC · DOI: 10.1002/lrh2.10478 · Learning Health Systems · 2024-12-26

## TL;DR

This study uses machine learning to predict mortality in young Kenyan children with acute gastroenteritis, aiming to help identify at-risk patients early for better care.

## Contribution

A novel machine learning model is developed to predict mortality in pediatric acute gastroenteritis patients in Kenya.

## Key findings

- The random forest model achieved the highest sensitivity (78.0%) and AUC (82.6%) for mortality prediction.
- Key predictors of mortality included AVPU scale, Vesikari score, dehydration, and sunken eyes.
- The model shows potential for use in resource-limited settings but requires real-world validation.

## Abstract

Mortality prediction scores for children admitted with diarrhea are unavailable, early identification of at‐risk patients for proper management remains a challenge. This study utilizes machine learning (ML) to develop a highly sensitive model for timelier identification of at‐risk children admitted with acute gastroenteritis (AGE) for better management.

We used seven ML algorithms to build prognostic models for the prediction of mortality using de‐identified data collected from children aged <5 years hospitalized with AGE at Siaya County Referral Hospital (SCRH), Kenya, between 2010 through 2020. Potential predictors included demographic, medical history, and clinical examination data collected at admission to hospital. We conducted split‐sampling and employed tenfold cross‐validation in the model development. We evaluated the sensitivity, specificity, positive predictive value (PPV), negative predictive value (NPV), and the area under the curve (AUC) for each of the models.

During the study period, 12 546 children aged <5 years admitted at SCRH were enrolled in the inpatient disease surveillance, of whom 2271 (18.1%) had AGE and 164 (7.2%) subsequently died. The following features were identified as predictors of mortality in decreasing order: AVPU scale, Vesikari score, dehydration, sunken eyes, skin pinch, maximum number of vomits, unconsciousness, wasting, vomiting, pulse, fever, sunken fontanelle, restless, nasal flaring, diarrhea days, stridor, <90% oxygen saturation, chest indrawing, malaria, and stunting. The sensitivity ranged from 46.3%–78.0% across models, while the specificity and AUC ranged from 71.7% to 78.7% and 56.5%–82.6%, respectively. The random forest model emerged as the champion model achieving 78.0%, 76.6%, 20.6%, 97.8%, and 82.6% for sensitivity, specificity, PPV, NPV, and AUC, respectively.

This study demonstrates promising predictive performance of the proposed algorithm for identifying patients at risk of mortality in resource‐limited settings. However, further validation in real‐world clinical settings is needed to assess its feasibility and potential impact on patient outcomes.

## Linked entities

- **Diseases:** diarrhea (MONDO:0001673), malaria (MONDO:0005136)
- **Species:** Homo sapiens (taxon 9606)

## Full-text entities

- **Diseases:** malaria (MESH:D008288), died (MESH:D003643), AGE (MESH:D005759), fever (MESH:D005334), diarrhea (MESH:D003967), stunting (MESH:D006130), stridor (MESH:D012135), chest (MESH:D013898), vomiting (MESH:D014839), dehydration (MESH:D003681), unconsciousness (MESH:D014474), wasting (MESH:D019282)
- **Species:** Homo sapiens (human, species) [taxon 9606]

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/PMC12000769/full.md

## Figures

4 figures with captions in the complete paper: https://tomesphere.com/paper/PMC12000769/full.md

## References

55 references — full list in the complete paper: https://tomesphere.com/paper/PMC12000769/full.md

---
Source: https://tomesphere.com/paper/PMC12000769