Skip to content
Open access

Predicting HIV viral non-suppression in Uganda: development and validation of machine learning and risk stratification models using routine EMR data

Jul 2026 · Frontiers in Artificial Intelligence · Vol 9 · 0 citations · 61 references
Medicine

TL;DR

Routine EMR data support meaningful, calibrated viral non-suppression risk prediction across a large, multi-site Ugandan HIV program, and both models achieved approximately five-fold enrichment over background prevalence, with clinical utility confirmed by decision curve analysis.

Abstract

Background Viral non-suppression is the primary actionable risk state in routine HIV care, yet most individuals are identified after virological failure and/or drug resistance, rather than proactively. In Uganda and similar resource-limited settings, routine electronic medical records (EMR) are collected at scale but remain underused for targeted, data-enabled risk stratification. We aimed to develop and internally validate machine learning and regularized regression models for predicting viral non-suppression using routine monitoring data. Methods We developed and internally validated prediction models for viral non-suppression (viral load ≥1,000 copies/mL) using routinely recorded EMR variables from the TASO Uganda open cohort (2014–2024; n = 33,384). Twenty variables were used across four models: logistic regression (LR), elastic net regularized logistic regression (ENET), random forest (RF), and extreme gradient boosting (XGB), evaluated on a stratified 80:20 test set. Precision-recall AUC (PR-AUC) was the primary metric; ROC-AUC, Brier score, and decision curve analysis were assessed; bootstrap 95% CIs (2,000 replicates) were computed for discrimination metrics. Results On the test set (n = 6,677), RF achieved PR-AUC 0.248 (95% CI 0.207–0.291) and ROC-AUC 0.758 (0.732–0.780); ENET achieved PR-AUC 0.237 (0.198–0.279) and ROC-AUC 0.750 (0.726–0.772); confidence intervals overlapped across all four models. RF and ENET achieved Brier scores of 0.055 (8% below the null of 0.060) and maximum net benefit of 0.055 in decision curve analysis. At the capacity-first threshold (top 5% predicted risk), RF flagged 325 individuals (4.9%; PPV 0.338, NPV 0.949) and ENET flagged 334 (5.0%; PPV 0.305, NPV 0.948). Current ART class (PI-based: OR 11.07; NNRTI-based: OR 4.80), poor adherence (OR 7.71), TB history (OR 2.08), and male sex (OR 1.62) were the strongest predictors. Conclusions Routine EMR data support meaningful, calibrated viral non-suppression risk prediction across a large, multi-site Ugandan HIV program. At a capacity-first threshold, both models achieved approximately five-fold enrichment over background prevalence, with clinical utility confirmed by decision curve analysis. Prospective external validation and workflow integration are required before deployment.

Read PDF

Similar papers

Open access Aug 2026

Dynamic prediction of HIV-related incomplete immune reconstitution: A multicenter, large cohort study using advanced joint modeling

A dynamic joint prediction system for IIR risk (DJPSIIR) using Bayesian joint modeling to analyze longitudinal data from 21,862 PLWH across 31 Chinese provinces (2003–2024) and demonstrated strong discriminatory performance with area under receiver operating characteristic curves.

Fang Liu, Han-Xi Zhang, Xi Wang et al. · 0 citations
#explainable ai Open access Sep 2026

Machine Learning and Explainable AI for Predicting Survival and Mortality in People Living With HIV on Antiretroviral Therapy: A Secondary Analysis of the ACTG-175 Trial Dataset.

Machine learning models, particularly Elastic Net and Cox Proportional Hazards, effectively predict mortality and survival in PLWH, with immunological response, treatment-related factors, and clinical presentation emerging as the dominant predictors.

K. Sridharan, G. Sivaramakrishnan · 0 citations
Review Open access Sep 2026

Predicting zero-dose vaccination status in 27 sub-Saharan African countries: a machine learning approach

Abstract Objective To develop a machine learning (ML)-based predictive model for assessing the risk of zero-dose children using Demographic Health Survey data in sub-Saharan Africa. Methods This study analysed pooled Demographic and Health Survey data from 27 countries in sub-Saharan Africa collected between 2016 and 2...

B. F. Endehabtu, Eliyas Addisu Taye · 0 citations
Open access Aug 2026

Development and validation of an interpretable machine learning model for predicting multidrug-resistant infections in ICU patients

An interpretable RF model for early prediction of MDR infections in ICU patients is developed and validated and translated into a web-based calculator with SHAP explanations, enabling rapid bedside risk stratification to support timely antimicrobial stewardship and resource allocation.

Yimeng Yang, J. Lv, Junbin Tian et al. · 0 citations
Open access Aug 2026

Machine learning quantifies immuno-virological interactions: a TRIPOD+AI compliant prediction model for HIV-1 salvage therapy outcomes

The developed XGBoost model overcomes the limitations of traditional linear scoring and achieves precise prediction of HIV salvage therapy outcomes by quantifying immune modulatory effects and therapeutic exhaustion markers.

De-Fu Yuan, Yang-Yang Liu, Shan-Shan Liu et al. · 0 citations
Open access Aug 2026

An Explainable XGBoost Framework for Mortality Prediction in People Living with HIV Receiving Antiretroviral Therapy

The findings suggest that the XGBoost model may assist in identifying patients who require closer monitoring, although validation using external and multicenter data is necessary before clinical implementation.

Nim. Viona, N. Krisnawijaya, Desak Nyoman Widyanthini · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.