{"pk":48715,"title":"XGBoost (eXtreme Gradient Boosting) Can Predict Organisms Growing in Urine Culture from the Emergency Department","subtitle":null,"abstract":"<p><strong>Introduction:</strong> 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.</p>\n<p><strong>Methods:</strong> 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.</p>\n<p><strong>Results:</strong> 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.</p>\n<p><strong>Discussion: </strong>XGBoost can predict the bacterial genus and Gram-staining results of the bacteria growing in urine cultures</p>","language":"eng","license":{"name":"Creative Commons Attribution 4.0","short_name":"CC BY 4.0","text":"Attribution — You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.\r\n\r\nNo additional restrictions — You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits.","url":"https://creativecommons.org/licenses/by/4.0"},"keywords":[{"word":"bacteriuria"},{"word":"Urinary Tract Infection"},{"word":"emergency department"},{"word":"Urine Culture"},{"word":"bacteria"},{"word":"urine"}],"section":"Infectious Disease","is_remote":true,"remote_url":"https://escholarship.org/uc/item/61t2r2wn","frozenauthors":[{"first_name":"Johnathan","middle_name":"M","last_name":"Sheele","name_suffix":"","institution":"Mayo Clinic, Department of Emergency Medicine, Jacksonville, Florida","department":""},{"first_name":"Ronna","middle_name":"L","last_name":"Campbell","name_suffix":"","institution":"Mayo Clinic, Department of Emergency Medicine, Rochester, Minnesota","department":""},{"first_name":"Derick","middle_name":"D","last_name":"Jones","name_suffix":"","institution":"Mayo Clinic, Department of Emergency Medicine, Rochester, Minnesota","department":""}],"date_submitted":"2025-06-21T03:13:10.020000Z","date_accepted":"2025-11-26T23:26:17.440000Z","date_published":"2026-04-08T17:11:00Z","render_galley":null,"galleys":[{"label":"PDF","type":"pdf","path":"https://journalpub.escholarship.org/westjem/article/48715/galley/50437/download/"}]}