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

Incomplete immune reconstitution (IIR) is a serious complication affecting 10 to 40% of people living with HIV (PLWH) despite effective antiretroviral therapy, leading to increased morbidity and mortality. Current risk prediction models rely on single–time point measurements and lack dynamic assessment capabilities. We...

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.

Background Identifying reliable predictors of mortality and survival in people living with HIV (PLWH) is essential for personalized risk stratification and treatment optimization. This study employed machine learning (ML) and explainable artificial intelligence (XAI) to identify key prognostic factors and develop predi...

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.

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 2024. Da...

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

Background Multidrug-resistant (MDR) infections in intensive care units (ICUs) are difficult to recognize early. This study developed and validated an interpretable machine-learning model for early MDR risk prediction in ICU patients. Methods A retrospective cohort was built from the Medical Information Mart for Intens...

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

Background The management of multidrug-resistant HIV-1 in patients experiencing virologic failure remains a critical clinical challenge. Traditional linear scoring systems often fail to adequately capture the complex evolutionary dynamics between the virus, host immunity, and antiretroviral regimens. This study aims to...

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

Mortality remains an important concern among people living with HIV (PLHIV) receiving antiretroviral therapy (ART), particularly when high-risk patients are not identified early. This study presents an explainable mortality prediction approach based on an optimized Extreme Gradient Boosting (XGBoost) classifier. A retr...

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.