Related Experiment Video
Updated: Apr 24, 2026

Implementation of a Real-Time Psychosis Risk Detection and Alerting System Based on Electronic Health Records using CogStack
Published on: May 15, 2020
Using Machine Learning to Predict Depression among Adolescents Living with HIV in Uganda
Vicent Ssentumbwe1, Francis Matovu2, Phionah Namatovu2
1Division of Computational and Data Science, Washington University in St. Louis, St. Louis, MO, USA.
Background:
Adolescents living with HIV (ALWHIV) face a high prevalence of depression. In Uganda, limited access to mental health services exacerbates depression, necessitating innovative solutions for early detection and intervention. Machine learning (ML) provides a promising approach for identifying adolescents at risk of depression to facilitate early intervention. This study aims to use machine learning to predict depression among ALWHIV in Uganda.
Methods:
This study analyzed cross-sectional data from 833 ALWHIV aged 10-17 years in Southern Uganda. Depression was assessed using the Children's Depression Inventory (CDI) -short version. Seven ML models, including Random Forest, Logistic Regression, Gradient Boosting, decision tree, XGBoost, Least Absolute Shrinkage and Selection Operator (LASSO), and Support Vector Machine, were evaluated using stratified 10-fold cross-validation. Model performance metrics included Area under receiver operating characteristic curve (AUROC), Area under precision-recall curve (AUPRC), accuracy, sensitivity, specificity, and F1-score. SHapley Additive exPlanations (SHAP) analysis was used to interpret feature importance.
Results:
The median age was 13 years, and the majority of the participants were females (55.5%). The prevalence of depression was 30.97%. The Random Forest model achieved the highest performance (AUROC = 0.79, AUPRC = 0.66). Key predictors of depression included hopelessness, HIV stigma, shame, self-esteem, teacher support, and caregiver support. SHAP analysis highlighted psychosocial challenges as primary predictors of depression, emphasizing the need for psychosocial-based interventions.
Conclusion:
Our study results demonstrated good performance of ML in predicting depression among ALWHIV. However, we acknowledge that the absence of external validation limits the generalizability of these findings. Future research should seek to validate these models in independent cohorts of ALWHIV to confirm their robustness and applicability across different settings.
More Related Videos
12:18A Machine Learning Approach to Design an Efficient Selective Screening of Mild Cognitive Impairment
Published on: January 11, 2020
05:53Measuring Frailty in HIV-infected Individuals. Identification of Frail Patients is the First Step to Amelioration and Reversal of Frailty
Published on: July 24, 2013
Related Concept Videos
Long-term Depression
Long-term Depression
Calcium Ion Concentration Mechanism
If over...
Depression: Overview