Clinical Chemistry

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

Computational

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-119 A "DIGITAL GRAM STAIN": MACHINE LEARNING MODEL PREDICTS PATHOGEN MORPHOLOGY FROM 30,000 ROUTINE URINALYSIS SAMPLES TO GUIDE EARLY EMPIRIC THERAPY — Science Skim