Use of machine learning techniques to identify HIV predictors for screening in sub-Saharan Africa

BMC Med Res Methodol. 2021 Jul 31;21(1):159. doi: 10.1186/s12874-021-01346-2.

Abstract

Aim: HIV prevention measures in sub-Saharan Africa are still short of attaining the UNAIDS 90-90-90 fast track targets set in 2014. Identifying predictors for HIV status may facilitate targeted screening interventions that improve health care. We aimed at identifying HIV predictors as well as predicting persons at high risk of the infection.

Method: We applied machine learning approaches for building models using population-based HIV Impact Assessment (PHIA) data for 41,939 male and 45,105 female respondents with 30 and 40 variables respectively from four countries in sub-Saharan countries. We trained and validated the algorithms on 80% of the data and tested on the remaining 20% where we rotated around the left-out country. An algorithm with the best mean f1 score was retained and trained on the most predictive variables. We used the model to identify people living with HIV and individuals with a higher likelihood of contracting the disease.

Results: Application of XGBoost algorithm appeared to significantly improve identification of HIV positivity over the other five algorithms by f1 scoring mean of 90% and 92% for males and females respectively. Amongst the eight most predictor features in both sexes were: age, relationship with family head, the highest level of education, highest grade at that school level, work for payment, avoiding pregnancy, age at the first experience of sex, and wealth quintile. Model performance using these variables increased significantly compared to having all the variables included. We identified five males and 19 females individuals that would require testing to find one HIV positive individual. We also predicted that 4·14% of males and 10.81% of females are at high risk of infection.

Conclusion: Our findings provide a potential use of the XGBoost algorithm with socio-behavioural-driven data at substantially identifying HIV predictors and predicting individuals at high risk of infection for targeted screening.

Keywords: High-risk; Predictors; Screening; Socio-behavioral; XGBoost.

MeSH terms

  • Acquired Immunodeficiency Syndrome*
  • Africa South of the Sahara / epidemiology
  • Female
  • HIV Infections* / diagnosis
  • HIV Infections* / epidemiology
  • Humans
  • Machine Learning
  • Male
  • Mass Screening
  • Pregnancy