Machine learning models for predicting loss to follow-up among people living with HIV in Maputo, Mozambique

Methods A retrospective cohort study was conducted using data from the electronic patient tracking system (ePTS/OpenMRS) for HIV care across 12 public health facilities (HF) in Maputo City, from 2013 to 2020. Patients on ART with documented follow-up information were included. Loss-to follow-up was defined as an absence of ≥ 60 days after the last scheduled appointment. Sociodemographic, clinical and laboratory variables were used as predictors. Models evaluated included Logistic Regression, Random Forest, XGBoost, LightGBM, CatBoost and AdaBoost. Results Of the 6832 patients included in the study, 15.9% were lost to follow-up. The ML models performed satisfactorily, with CatBoost standing out, having the highest AUC-ROC (0.913; 95% CI: 0.896–0.928), along with high specificity (0.927), accuracy (0.887), sensitivity (0.682), and good calibration (BS: 0.077). Using the optimal threshold (0.25), sensitivity increased to 0.871. Analysis using the Youden index confirmed CatBoost’s overall performance, with a sensitivity of 0.848. SHAP analysis identified, in the CatBoost model, the following as the main predictors of LTFU in the CatBoost model: low BMI, younger age, district of residence, educational attainment, high viral load, male sex, advanced WHO clinical stage, and second-line TDF+3TC + DTG treatment regimen. Conclusion Machine learning models, particularly ensemble methods, showed satisfactory predictive performance for loss to follow-up among patients receiving ART in Maputo. Further external validation and prospective assessment are required before implementation in routine HIV care.

Authors

Institutions

Publication Details

Journal
Research Square
Published
2026-11-30
DOI
https://doi.org/10.21203/rs.3.rs-11600334/v1
Primary Topic
HIV/AIDS Research and Interventions
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Machine learning models for predicting loss to follow-up among people living with HIV in Maputo, Mozambique

Audêncio Victor, Sancho Pedro Xavier, Aniceto Mateus, Leonel Fidalgo Monjane et al.
Research Square
HIV/AIDS Research and Interventions
preprint

Machine learning models for predicting loss to follow-up among people living with HIV in Maputo, Mozambique

Audêncio Victor, Sancho Pedro Xavier, Aniceto Mateus, Leonel Fidalgo Monjane, Ana Raquel Manuel Ernesto Gotine
preprint en

Abstract

Methods A retrospective cohort study was conducted using data from the electronic patient tracking system (ePTS/OpenMRS) for HIV care across 12 public health facilities (HF) in Maputo City, from 2013 to 2020. Patients on ART with documented follow-up information were included. Loss-to follow-up was defined as an absence of ≥ 60 days after the last scheduled appointment. Sociodemographic, clinical and laboratory variables were used as predictors. Models evaluated included Logistic Regression, Random Forest, XGBoost, LightGBM, CatBoost and AdaBoost. Results Of the 6832 patients included in the study, 15.9% were lost to follow-up. The ML models performed satisfactorily, with CatBoost standing out, having the highest AUC-ROC (0.913; 95% CI: 0.896–0.928), along with high specificity (0.927), accuracy (0.887), sensitivity (0.682), and good calibration (BS: 0.077). Using the optimal threshold (0.25), sensitivity increased to 0.871. Analysis using the Youden index confirmed CatBoost’s overall performance, with a sensitivity of 0.848. SHAP analysis identified, in the CatBoost model, the following as the main predictors of LTFU in the CatBoost model: low BMI, younger age, district of residence, educational attainment, high viral load, male sex, advanced WHO clinical stage, and second-line TDF+3TC + DTG treatment regimen. Conclusion Machine learning models, particularly ensemble methods, showed satisfactory predictive performance for loss to follow-up among patients receiving ART in Maputo. Further external validation and prospective assessment are required before implementation in routine HIV care.

Research Square
Universidade de São Paulo (BR), Lúrio University (MZ), London School of Hygiene & Tropical Medicine (GB)
HIV/AIDS Research and Interventions
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon
Machine learning models for predicting loss to follow-up among people living with HIV in Maputo, Mozambique — Audêncio Victor, Sancho Pedro Xavier, et al. · Research Square (2026) | TGRS Research Map | TGRS