Predicting over-the-counter antibiotic use in rural Pune, India, using machine learning methods

Epidemiol Health. 2024 Apr 13:e2024044. doi: 10.4178/epih.e2024044. Online ahead of print.

Abstract

Objectives: Over-the-counter (OTC) antibiotic use can cause antibiotic resistance, threatening global public health gains. To counter OTC use, this study used machine learning (ML) methods to identify predictors of OTC antibiotic use in rural Pune, India.

Methods: The features of OTC antibiotic use were selected using stepwise logistic, lasso, random forest, XGBoost, and Boruta algorithms. Regression and tree-based models with all confirmed and tentatively important features were built to predict the use of OTC antibiotics. Five-fold cross-validation was used to tune the models' hyperparameters. The final model was selected based on the highest area under the curve (AUROC) with a 95% confidence interval and the lowest log-loss.

Results: In rural Pune, the prevalence of OTC antibiotic use was 35.9% (95% CI, 31.56%-40.46%). The perception that buying medicines directly from a medicine shop/pharmacy is useful, using antibiotics for eye-related complaints, more household members consuming antibiotics, and longer duration and higher doses of antibiotic consumption in rural blocks and other social groups were confirmed as important features by the Boruta algorithm. The final model was the XGBoost+Boruta model with 7 predictors (AUROC=0.934; 95% CI, 0.8906-0.9782; log-loss=0.2793) log-loss.

Conclusion: XGBoost+Boruta, with 7 predictors, was the most accurate model for predicting OTC antibiotic use in rural Pune. Using OTC antibiotics for eye-related complaints, higher consumption of antibiotics and the perception that buying antibiotics directly from a medicine shop/pharmacy is useful were identified as key factors for planning interventions to improve awareness about proper antibiotic use.

Keywords: Antibiotic resistance; Boruta; Lasso; OTC antibiotic use predictor; Random forest; XGBoost.