{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,10,12]],"date-time":"2026-10-12T20:49:32Z","timestamp":1791838172504,"version":"4.3.4"},"reference-count":32,"publisher":"BMJ","issue":"1","license":[{"start":{"date-parts":[[2025,5,15]],"date-time":"2025-05-15T00:00:00Z","timestamp":1747267200000},"content-version":"unspecified","delay-in-days":14,"URL":"http:\/\/creativecommons.org\/licenses\/by-nc\/4.0\/"}],"funder":[{"name":"Office of the Permanent Secretary, Ministry of Higher Education","award":["RGNS 65 \u2013 041"],"award-info":[{"award-number":["RGNS 65 \u2013 041"]}]}],"content-domain":{"domain":["bmj.com"],"crossmark-restriction":true},"short-container-title":["BMJ Health Care Inform"],"accepted":{"date-parts":[[2025,5,6]]},"published-print":{"date-parts":[[2025,5]]},"abstract":"<jats:sec>\n                    <jats:title>Objective<\/jats:title>\n                    <jats:p>This study aimed to develop machine learning (ML) models to predict HIV status and assessed the factors associated with HIV infection among young men who have sex with men (MSM) under the Universal Health Coverage (UHC) programme in Thailand.<\/jats:p>\n                  <\/jats:sec>\n                  <jats:sec>\n                    <jats:title>Methods<\/jats:title>\n                    <jats:p>Young MSM aged 15\u201324 years who underwent HIV testing through the UHC programme from 2015 to 2022 were included. Data were divided into training (70%) and testing (30%) sets, with the Synthetic Minority Oversampling Technique (SMOTE) applied to address data set imbalance. ML models, including logistic regression, k-nearest neighbour (KNN), random forest, extreme gradient boosting (XGB) and AdaBoost, were used to predict HIV infection.<\/jats:p>\n                  <\/jats:sec>\n                  <jats:sec>\n                    <jats:title>Results<\/jats:title>\n                    <jats:p>Among 146\u2009813 young MSM, 11% were diagnosed with HIV. While KNN initially outperformed other ML models, the sensitivity of all models using the original data set was low due to imbalanced data. After applying SMOTE, the XGB model showed the best performance with an accuracy of 0.72, sensitivity of 0.73, specificity of 0.72 and the area under the curve of 0.72. The top predictors of HIV infection were the year of HIV testing (68%), age (55%) and targeted HIV testing (54%).<\/jats:p>\n                  <\/jats:sec>\n                  <jats:sec>\n                    <jats:title>Discussion<\/jats:title>\n                    <jats:p>This study demonstrates the potential of ML models, particularly XGB, in predicting HIV infection among young MSM in Thailand under the UHC programme. The application of SMOTE improved model sensitivity, addressing data imbalance and enhancing predictive accuracy.<\/jats:p>\n                  <\/jats:sec>\n                  <jats:sec>\n                    <jats:title>Conclusions<\/jats:title>\n                    <jats:p>ML models have the potential to enhance HIV risk assessment and inform targeted prevention strategies for high-risk populations.<\/jats:p>\n                  <\/jats:sec>","DOI":"10.1136\/bmjhci-2024-101189","type":"journal-article","created":{"date-parts":[[2025,5,15]],"date-time":"2025-05-15T23:40:20Z","timestamp":1747352420000},"page":"e101189","update-policy":"https:\/\/doi.org\/10.1136\/crossmarkpolicy","source":"Crossref","is-referenced-by-count":2,"title":["Evaluating machine learning algorithms for predicting HIV status among young Thai men who have sex with men"],"prefix":"10.1136","volume":"32","author":[{"given":"Krittaka","family":"Soha","sequence":"first","affiliation":[{"name":"Master of Biomedical Data Science program, Kasetsart University, Bangkok, Thailand"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Sadiporn","family":"Phuthomdee","sequence":"additional","affiliation":[{"name":"Department of Statistics, Kasetsart University, Bangkok, Thailand"},{"name":"Panyananthaphikkhu Chonprathan Medical Center, Srinakharinwirot University, Nonthaburi, Thailand"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Thanapat","family":"Srichai","sequence":"additional","affiliation":[{"name":"National Health Security Office, Bangkok, Thailand"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Lanchakorn","family":"Kittiratanawasin","sequence":"additional","affiliation":[{"name":"Master of Biomedical Data Science program, Kasetsart University, Bangkok, Thailand"},{"name":"Department of Mathematics, Kasetsart University, Bangkok, Thailand"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Win Min","family":"Han","sequence":"additional","affiliation":[{"name":"HIV-NAT, Thai Red Cross AIDS Research Centre, Bangkok, Thailand"},{"name":"Kirby Institute, University of New South Wales, Sydney, New South Wales, Australia"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0001-9100-2930","authenticated-orcid":false,"given":"Sirinya","family":"Teeraananchai","sequence":"additional","affiliation":[{"name":"Master of Biomedical Data Science program, Kasetsart University, Bangkok, Thailand"},{"name":"Department of Statistics, Kasetsart University, Bangkok, Thailand"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"239","published-online":{"date-parts":[[2025,5,15]]},"reference":[{"key":"2026010700452466000_32.1.e101189.1","unstructured":"UNICEF . Adolescent HIV prevention, 2023. Available: https:\/\/data.unicef.org\/topic\/hivaids\/adolescents-young-people"},{"key":"2026010700452466000_32.1.e101189.2","unstructured":"UNAIDS . Fact sheet world aids day 2023: UNAIDS. 2023. Available: https:\/\/www.unaids.org\/sites\/default\/files\/media_asset\/UNAIDS_FactSheet_en.pdf"},{"key":"2026010700452466000_32.1.e101189.3","unstructured":"UNAIDS . UNAIDS data 2019. 2019."},{"key":"2026010700452466000_32.1.e101189.4","doi-asserted-by":"publisher","DOI":"10.1007\/s10461-021-03347-0"},{"key":"2026010700452466000_32.1.e101189.5","unstructured":"Division ATaSC . HIV\/aids epidemic and status of prevention and alleviation efforts, bangkok, 2010\u20132014. Bangkok, Thailand, 2015."},{"key":"2026010700452466000_32.1.e101189.6","doi-asserted-by":"crossref","first-page":"12","DOI":"10.1016\/S2055-6640(20)30235-1","article-title":"HIV rapid diagnostic testing by lay providers in a key population-led health service programme in Thailand","volume":"4","author":"Wongkanya","year":"2018","journal-title":"J Virus Erad"},{"key":"2026010700452466000_32.1.e101189.7","doi-asserted-by":"crossref","first-page":"192","DOI":"10.1016\/S2055-6640(20)30323-X","article-title":"The challenges of ending AIDS in Asia: outcomes of the Thai National AIDS Universal Coverage Programme, 2000-2014","volume":"3","author":"Chaivooth","year":"2017","journal-title":"J Virus Erad"},{"key":"2026010700452466000_32.1.e101189.8","doi-asserted-by":"crossref","first-page":"1","DOI":"10.1016\/j.annepidem.2022.03.012","article-title":"Transactional sex, HIV and health among young cisgender men and transgender women who have sex with men in Thailand","volume":"72","author":"Weir","year":"2022","journal-title":"Ann Epidemiol"},{"key":"2026010700452466000_32.1.e101189.9","unstructured":"HUB HI . Epidermic: HIV INFO HUB, Available: https:\/\/hivhub.ddc.moph.go.th\/epidemic.php"},{"key":"2026010700452466000_32.1.e101189.10","first-page":"810","article-title":"Prevalence and risk factors for HIV infection among men having sex with men in Metro Manila, Philippines","volume":"44","author":"Gangcuangco","year":"2013","journal-title":"Southeast Asian J Trop Med Public Health"},{"key":"2026010700452466000_32.1.e101189.11","doi-asserted-by":"crossref","DOI":"10.1186\/s12889-024-18661-0","article-title":"Trends in HIV prevalence and risk factors among men who have sex with men in Mozambique: implications for targeted interventions and public health strategies","volume":"24","author":"Ribeiro Banze","year":"2024","journal-title":"BMC Public Health"},{"key":"2026010700452466000_32.1.e101189.12","doi-asserted-by":"crossref","DOI":"10.1186\/s12889-019-8000-x","article-title":"Comparison of the prevalence rates of HIV infection between men who have sex with men (MSM) and men in the general population in sub-Saharan Africa: a systematic review and meta-analysis","volume":"19","author":"Hessou","year":"2019","journal-title":"BMC Public Health"},{"key":"2026010700452466000_32.1.e101189.13","doi-asserted-by":"crossref","DOI":"10.1097\/MD.0000000000030057","article-title":"HIV incidence among men who have sex with men (MSM) in Metro Manila, the Philippines: A prospective cohort study 2014-2018","volume":"101","author":"Ditangco","year":"2022","journal-title":"Medicine (Baltimore)"},{"key":"2026010700452466000_32.1.e101189.14","doi-asserted-by":"crossref","DOI":"10.1002\/jia2.25323","article-title":"PrEP interest and HIV-1 incidence among MSM and transgender women in coastal Kenya","volume":"22","author":"Kimani","year":"2019","journal-title":"J Int AIDS Soc"},{"key":"2026010700452466000_32.1.e101189.15","doi-asserted-by":"crossref","DOI":"10.1016\/j.eclinm.2019.10.016","article-title":"Algorithmic prediction of HIV status using nation-wide electronic registry data","volume":"17","author":"Ahlstr\u00f6m","year":"2019","journal-title":"EClinicalMedicine"},{"key":"2026010700452466000_32.1.e101189.16","doi-asserted-by":"crossref","DOI":"10.3389\/frph.2022.1062387","article-title":"The role of machine learning in HIV risk prediction","volume":"4","author":"Fieggen","year":"2022","journal-title":"Front Reprod Health"},{"key":"2026010700452466000_32.1.e101189.17","doi-asserted-by":"crossref","first-page":"48","DOI":"10.1016\/j.jinf.2020.11.007","article-title":"Predicting the diagnosis of HIV and sexually transmitted infections among men who have sex with men using machine learning approaches","volume":"82","author":"Bao","year":"2021","journal-title":"J Infect"},{"key":"2026010700452466000_32.1.e101189.18","doi-asserted-by":"crossref","DOI":"10.1371\/journal.pdig.0000260","article-title":"Predicting HIV infection in the decade (2005-2015) pre-COVID-19 in Zimbabwe: A supervised classification-based machine learning approach","volume":"2","author":"Birri Makota","year":"2023","journal-title":"PLOS Digit Health"},{"key":"2026010700452466000_32.1.e101189.19","doi-asserted-by":"crossref","first-page":"967681","DOI":"10.3389\/fpubh.2022.967681","article-title":"Application of machine learning algorithms in predicting HIV infection among men who have sex with men: Model development and validation","volume":"10","author":"He","year":"2022","journal-title":"Front Public Health"},{"key":"2026010700452466000_32.1.e101189.20","unstructured":"UNAIDS . Gender disparities related to hiv emerge in adolescence 2023. 2023. Available: https:\/\/data.unicef.org\/topic\/hivaids\/adolescents-young-people"},{"key":"2026010700452466000_32.1.e101189.21","unstructured":"Team GL . Hyperparameter tuning with gridsearchcv. 2024. Available: https:\/\/www.mygreatlearning.com\/blog\/gridsearchcv"},{"key":"2026010700452466000_32.1.e101189.22","doi-asserted-by":"crossref","unstructured":"Berrar D , Cross-Validation . ResearchGate. 2018;1:542\u20135. doi:10.1016\/B978-0-12-809633-8.20349-X","DOI":"10.1016\/B978-0-12-809633-8.20349-X"},{"key":"2026010700452466000_32.1.e101189.23","unstructured":"Mb AW , Pluskiewicz W . The study of preprocessing methods\u2019 utility in analysis of multidimensional and highly im. ResearchGate 2016."},{"key":"2026010700452466000_32.1.e101189.24","unstructured":"SMLaS-I L . A Unified Approach to Interpreting Model Predictions. Neural Information Processing Systems 2017."},{"key":"2026010700452466000_32.1.e101189.25","doi-asserted-by":"crossref","first-page":"40","DOI":"10.1097\/QAI.0000000000003464","article-title":"Using Machine Learning to Identify Patients at Risk of Acquiring HIV in an Urban Health System","volume":"97","author":"Nethi","year":"2024","journal-title":"J Acquir Immune Defic Syndr"},{"key":"2026010700452466000_32.1.e101189.26","first-page":"1","article-title":"Preprocessing for imbalanced data: The weighted average F1 score","volume":"3","author":"Saito","year":"2015","journal-title":"Int J Data Sci Anal"},{"key":"2026010700452466000_32.1.e101189.27","doi-asserted-by":"publisher","DOI":"10.1007\/s11904-020-00490-6"},{"key":"2026010700452466000_32.1.e101189.28","doi-asserted-by":"crossref","DOI":"10.1186\/1756-0381-6-16","article-title":"LVQ-SMOTE - Learning Vector Quantization based Synthetic Minority Over-sampling Technique for biomedical data","volume":"6","author":"Nakamura","year":"2013","journal-title":"BioData Min"},{"key":"2026010700452466000_32.1.e101189.29","unstructured":"Department of Disease Control MoPH . Thai national aids program review. Thailand, 2022."},{"key":"2026010700452466000_32.1.e101189.30","doi-asserted-by":"crossref","first-page":"131","DOI":"10.1016\/j.ijid.2020.07.007","article-title":"Recent declines in HIV infections at Silom Community Clinic Bangkok, Thailand corresponding to HIV prevention scale up: An open cohort assessment 2005-2018","volume":"99","author":"Pattanasin","year":"2020","journal-title":"Int J Infect Dis"},{"key":"2026010700452466000_32.1.e101189.31","doi-asserted-by":"crossref","DOI":"10.3389\/ijph.2022.1604612","article-title":"Factors Associated With HIV Testing Among MSM in Guilin, China: Results From a Cross-Sectional Study","volume":"67","author":"Zhou","year":"2022","journal-title":"Int J Public Health"},{"key":"2026010700452466000_32.1.e101189.32","doi-asserted-by":"crossref","DOI":"10.1002\/jia2.26406","article-title":"The impact of same-day and rapid ART initiation under the Universal Health Coverage programme on HIV outcomes in Thailand: a retrospective real-life cohort study","volume":"28","author":"Teeraananchai","year":"2025","journal-title":"J Int AIDS Soc"}],"container-title":["BMJ Health &amp; Care Informatics"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/syndication.highwire.org\/content\/doi\/10.1136\/bmjhci-2024-101189","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,1,7]],"date-time":"2026-01-07T08:45:51Z","timestamp":1767775551000},"score":1,"resource":{"primary":{"URL":"https:\/\/informatics.bmj.com\/lookup\/doi\/10.1136\/bmjhci-2024-101189"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2025,5]]},"references-count":32,"journal-issue":{"issue":"1","published-online":{"date-parts":[[2025,5,15]]},"published-print":{"date-parts":[[2025,5]]}},"alternative-id":["10.1136\/bmjhci-2024-101189"],"URL":"https:\/\/doi.org\/10.1136\/bmjhci-2024-101189","relation":{},"ISSN":["2632-1009"],"issn-type":[{"value":"2632-1009","type":"electronic"}],"subject":[],"published":{"date-parts":[[2025,5]]}}}