A-119 A "DIGITAL GRAM STAIN": MACHINE LEARNING MODEL PREDICTS PATHOGEN MORPHOLOGY FROM 30,000 ROUTINE URINALYSIS SAMPLES TO GUIDE EARLY EMPIRIC THERAPY
Leonardo Vasconcellos, Daniel Bücker, Lucas Moreira, Lucas Rocha, Victor Sampaio
Key points
From the paper's conclusion- We developed a multiclass machine learning (ML) model to predict pathogen etiology - Gram-negative bacilli (GNB), Gram-positive cocci (GPC), and Yeast - directly from routine urinalysis (UA) to enhance diagnostic stewardship and accelerate clinical decision-making.
Abstract
Background Selecting empiric antibiotic therapy for urinary tract infections (UTI) is challenging during the 48-hour window required for culture results. We developed a multiclass machine learning (ML) model to predict pathogen etiology - Gram-negative bacilli (GNB), Gram-positive cocci (GPC), and Yeast - directly from routine urinalysis (UA) to enhance diagnostic stewardship and accelerate clinical decision-making. Methods We analyzed 30,015 monomicrobial culture-positive samples paired with UA data. An XGBoost multiclass model was trained on 12 routine parameters (e.g., Nitrite, pH, Leukocyte Esterase, Flora). To mitigate the inherent class imbalance (GNB dominance), we applied class-weighting algorithms during training. Model robustness was validated using a 30% independent hold-out set and stratified 10-fold cross-validation. Results The optimized model yielded consistent diagnostic performance across all categories. For GNB, the model achieved a 91.6% Positive Predictive Value (PPV) and 67.4% sensitivity. For the more challenging GPC and Yeast groups, sensitivities reached 58.5% and 48.1%, respectively, with a notable Negative Predictive Value (NPV) of 98.0% for Yeast. SHAP analysis demonstrated that GNB predictions were primarily driven by Nitrite positivity, whereas GPC and Yeast were identified through complex non-linear interactions between alkaline pH, patient age, and significant pyuria in the absence of Nitrite. Conclusion By providing etiological insights within minutes, this ML approach serves as a "Digital Gram Stain," allowing clinicians to transition from broad-spectrum to targeted empiric therapy significantly earlier than conventional culture allows.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- A-122 STOP CULTURING EVERYTHING: A DATA-DRIVEN, FIVE-PARAMETER URINALYSIS SCORECARD TO TRIAGE SUSPECTED UTIClinical Chemistry · 2026
- Automated urinalysis for predicting urine culture positivity and presumptive Gram classification: a retrospective study at a cancer hospital.Frontiers in cellular and infection microbiology · 2026
- Machine-learning prediction of urine-culture positivity in a multicentre test-ordered cohort: Model development and internal validation.BJUI compass · 2026
- Routine urinalysis-based machine learning framework for predicting urine culture contamination.Clinica chimica acta; international journal of clinical chemistry · 2026
- Machine learning-guided screening of urine cultures for urinary tract infection diagnosis according to AMCLI guidelinesScientific Reports · 2026
- XGBoost-based urinary microbial signatures enable non-invasive diagnosis and prognosis for urothelial carcinomaBMC Microbiology · 2025