Using routine laboratory tests to perform early prediction of urine culture results
Authors:
Preprint
Abstract
Background: Urinary tract infections (UTIs) are among the most common bacterial infections worldwide, typically diagnosed using a urine culture. However, urine cultures can take up to 72hrs to result, delaying and inhibiting treatment decisions. Here we aim to investigate whether machine learning models can enable earlier prediction of urine culture results. Methods: We analyzed 30,369 urine cultures from 10,761 patients in the University of Washington Medicine Network. Random forest models were developed to predict overall culture positivity, as well as presence of each of the 10 most common infectious agents, using patient demographics and routine laboratory tests (blood counts, metabolic panels, etc.). Age- and sex-adjusted univariate associations of lab markers with culture positivity were also analyzed via logistic regression. Results: ML models predicted culture positivity with moderate accuracy (AUC: 0.76), and high precision (80-90%) at clinically relevant recall rates, with higher performance in cases where urinalysis was available (AUC: 0.82). Individual pathogen prediction was somewhat lower (AUCs: 0.64-0.72) though, particularly for less common pathogens. At least one marker from all common test panels showed a significant univariate association with culture results. Conclusions: ML models using routine laboratory tests can predict overall urine culture positivity with clinically useful accuracy, though individual pathogen prediction remains challenging. Given limited urinalysis availability, these models may be best suited for triaging presumptively negative cultures to improve laboratory efficiency rather than directly informing antibiotic selection.Keywords
This publication has 17 references indexed in Scilit:
- Machine Learning and Artificial Intelligence-Based Clinical Decision Support for Modern HematologyClinics In Laboratory Medicine, 2025
- Haematological setpoints are a stable and patient-specific deep phenotypeNature, 2024
- European Association of Urology Guidelines on Urological Infections: Summary of the 2024 GuidelinesEuropean Urology, 2024
- Applications of Artificial Intelligence in Urinalysis: Is the Future Already Here?Clinical Chemistry, 2023
- Artificial Intelligence and Machine Learning in Clinical Medicine, 2023The New England journal of medicine, 2023
- Antibiotic resistance: The challenges and some emerging strategies for tackling a global menaceJournal of Clinical Laboratory Analysis, 2022
- Personalized reference intervals: from theory to practiceCritical Reviews in Clinical Laboratory Sciences, 2022
- AI in health and medicineNature Medicine, 2022
- Antibiotic resistanceJournal of Infection and Public Health, 2017
- The epidemiology of urinary tract infectionNature Reviews Urology, 2010