Web-Based Risk Prediction Tool for an Individual's Risk of HIV and Sexually Transmitted Infections Using Machine Learning Algorithms: Development and External Validation Study
- PMID: 36006685
- PMCID: PMC9459839
- DOI: 10.2196/37850
Web-Based Risk Prediction Tool for an Individual's Risk of HIV and Sexually Transmitted Infections Using Machine Learning Algorithms: Development and External Validation Study
Abstract
Background: HIV and sexually transmitted infections (STIs) are major global public health concerns. Over 1 million curable STIs occur every day among people aged 15 years to 49 years worldwide. Insufficient testing or screening substantially impedes the elimination of HIV and STI transmission.
Objective: The aim of our study was to develop an HIV and STI risk prediction tool using machine learning algorithms.
Methods: We used clinic consultations that tested for HIV and STIs at the Melbourne Sexual Health Centre between March 2, 2015, and December 31, 2018, as the development data set (training and testing data set). We also used 2 external validation data sets, including data from 2019 as external "validation data 1" and data from January 2020 and January 2021 as external "validation data 2." We developed 34 machine learning models to assess the risk of acquiring HIV, syphilis, gonorrhea, and chlamydia. We created an online tool to generate an individual's risk of HIV or an STI.
Results: The important predictors for HIV and STI risk were gender, age, men who reported having sex with men, number of casual sexual partners, and condom use. Our machine learning-based risk prediction tool, named MySTIRisk, performed at an acceptable or excellent level on testing data sets (area under the curve [AUC] for HIV=0.78; AUC for syphilis=0.84; AUC for gonorrhea=0.78; AUC for chlamydia=0.70) and had stable performance on both external validation data from 2019 (AUC for HIV=0.79; AUC for syphilis=0.85; AUC for gonorrhea=0.81; AUC for chlamydia=0.69) and data from 2020-2021 (AUC for HIV=0.71; AUC for syphilis=0.84; AUC for gonorrhea=0.79; AUC for chlamydia=0.69).
Conclusions: Our web-based risk prediction tool could accurately predict the risk of HIV and STIs for clinic attendees using simple self-reported questions. MySTIRisk could serve as an HIV and STI screening tool on clinic websites or digital health platforms to encourage individuals at risk of HIV or an STI to be tested or start HIV pre-exposure prophylaxis. The public can use this tool to assess their risk and then decide if they would attend a clinic for testing. Clinicians or public health workers can use this tool to identify high-risk individuals for further interventions.
Keywords: HIV; algorithm; chlamydia; development; gonorrhea; machine learning; model; prediction; predictive; risk; risk assessment; sexual health; sexual transmission; sexually transmitted; sexually transmitted infections; syphilis; validation; web-based.
©Xianglong Xu, Zhen Yu, Zongyuan Ge, Eric P F Chow, Yining Bao, Jason J Ong, Wei Li, Jinrong Wu, Christopher K Fairley, Lei Zhang. Originally published in the Journal of Medical Internet Research (https://www.jmir.org), 25.08.2022.
Conflict of interest statement
Conflicts of Interest: None declared.
Figures




Similar articles
-
A Machine-Learning-Based Risk-Prediction Tool for HIV and Sexually Transmitted Infections Acquisition over the Next 12 Months.J Clin Med. 2022 Mar 25;11(7):1818. doi: 10.3390/jcm11071818. J Clin Med. 2022. PMID: 35407428 Free PMC article.
-
HIV pre-exposure prophylaxis and diagnoses of sexually transmitted infections - observational data from German checkpoints, 01/2019-08/2021.BMC Public Health. 2023 Apr 7;23(1):661. doi: 10.1186/s12889-023-15570-6. BMC Public Health. 2023. PMID: 37029369 Free PMC article.
-
Comparison of the burden of self-reported bacterial sexually transmitted infections among men having sex with men across 68 countries on four continents.BMC Public Health. 2023 May 30;23(1):1008. doi: 10.1186/s12889-023-15946-8. BMC Public Health. 2023. PMID: 37254096 Free PMC article.
-
Diagnosis and Treatment of Sexually Transmitted Infections: A Review.JAMA. 2022 Jan 11;327(2):161-172. doi: 10.1001/jama.2021.23487. JAMA. 2022. PMID: 35015033 Review.
-
Rebound in sexually transmitted infections after the COVID-19 pandemic.AIDS Rev. 2023;26(3):127-135. doi: 10.24875/AIDSRev.23000015. AIDS Rev. 2023. PMID: 37879632 Review.
Cited by
-
Artificial intelligence in assisting pathogenic microorganism diagnosis and treatment: a review of infectious skin diseases.Front Microbiol. 2024 Oct 8;15:1467113. doi: 10.3389/fmicb.2024.1467113. eCollection 2024. Front Microbiol. 2024. PMID: 39439939 Free PMC article. Review.
-
Preferences for attributes of an artificial intelligence-based risk assessment tool for HIV and sexually transmitted infections: a discrete choice experiment.BMC Public Health. 2024 Nov 21;24(1):3236. doi: 10.1186/s12889-024-20688-2. BMC Public Health. 2024. PMID: 39574048 Free PMC article.
-
Lightweight federated learning for STIs/HIV prediction.Sci Rep. 2024 Mar 19;14(1):6560. doi: 10.1038/s41598-024-56115-0. Sci Rep. 2024. PMID: 38503789 Free PMC article.
-
Assessing disparity in the distribution of HIV and sexually transmitted infections in Australia: a retrospective cross-sectional study using Gini coefficients.BMJ Public Health. 2023 Aug 23;1(1):e000012. doi: 10.1136/bmjph-2023-000012. eCollection 2023 Nov. BMJ Public Health. 2023. PMID: 40017849 Free PMC article.
-
Accuracy of symptom checker for the diagnosis of sexually transmitted infections using machine learning and Bayesian network algorithms.BMC Infect Dis. 2024 Dec 18;24(1):1408. doi: 10.1186/s12879-024-10285-4. BMC Infect Dis. 2024. PMID: 39695420 Free PMC article.
References
-
- Ramchandani MS, Golden MR. Confronting rising STIs in the era of PrEP and treatment as prevention. Curr HIV/AIDS Rep. 2019 Jun;16(3):244–256. doi: 10.1007/s11904-019-00446-5. https://europepmc.org/abstract/MED/31183609 10.1007/s11904-019-00446-5 - DOI - PMC - PubMed
-
- Report on global sexually transmitted infection surveillance 2018. World Health Organization. 2018. [2019-05-04]. https://apps.who.int/iris/bitstream/handle/10665/277258/9789241565691-en... .
-
- HIV, viral hepatitis and sexually transmissible infections in Australia Annual surveillance report 2021. Kirby Institute. 2021. [2022-04-06]. https://kirby.unsw.edu.au/sites/default/files/kirby/report/Annual-Suveil... .
-
- HIV, viral hepatitis and sexually transmissible infections in Australia: Annual surveillance report 2018. Kirby Institute. 2018. [2019-05-08]. https://kirby.unsw.edu.au/report/hiv-viral-hepatitis-and-sexually-transm... .
Publication types
MeSH terms
LinkOut - more resources
Full Text Sources
Medical