Related Experiment Video
Updated: Jun 10, 2026

Hybrid De Novo Genome Assembly for the Generation of Complete Genomes of Urinary Bacteria using Short- and Long-read Sequencing Technologies
Published on: August 20, 2021
XGBoost (eXtreme Gradient Boosting) Can Predict Organisms Growing in Urine Culture from the Emergency Department
Johnathan M Sheele1, Ronna L Campbell2, Derick D Jones2
1Mayo Clinic, Department of Emergency Medicine, Jacksonville, Florida.
Introduction:
Urinary tract infections are common in the emergency department (ED) but are frequently misdiagnosed and mismanaged. We sought to determine whether eXtreme Gradient Boosting (XGBoost), an open-source machine-learning library, could predict the organisms growing in urine cultures ordered from the ED.
Methods:
We developed XGBoost algorithms to retrospectively examine 62,963 Mayo Clinic ED encounters between January 1, 2017-December 31, 2021, during which a urinalysis and urine culture were performed. The model used 1,303 patient variables. All patient ages were included. Data were from the electronic health record and available to the clinician during the patient encounter.
Results:
For the most common bacteria growing in urine culture, XGBoost was able to predict the presence of a member of the Enterobacteriaceae family with an area under the receiver operating curve (AUC) of 0.90 and an accuracy of 0.79. The model predicted the presence of 10 different bacterial genera with an AUC of 0.70-0.88 and an accuracy of 0.87-0.99. Furthermore, XGBoost was able to predict whether the urine culture would report Gram-positive or Gram-negative bacteria with an AUC of 0.81 and 0.90, respectively, and an accuracy of 0.85 and 0.86, respectively. The model predicted whether yeast would be reported with an AUC of 0.84 and an accuracy of 1.00.
Discussion:
XGBoost can predict the bacterial genus and Gram-staining results of the bacteria growing in urine cultures.
Related Concept Videos
Urine Studies II: Urine Culture and Sensitivity Test
Urine Studies I: Urinalysis
Rapid Identification of Pathogens
Automated Microbial Diagnostics
Urinary Tract Infection III: Diagnostic Studies and Interprofessional Care
Microbial Growth Measurement: Direct Methods
