Predicting urinary tract infections in the emergency department with machine learning.

Urinary tract infection (UTI) is a common emergency department (ED) diagnosis with reported high diagnostic error rates. Because a urine culture, part of the gold standard for diagnosis of UTI, is usually not available for 24-48 hours after an ED visit, diagnosis and treatment decisions are based on...

Full description

Bibliographic Details
Main Authors: R Andrew Taylor, Christopher L Moore, Kei-Hoi Cheung, Cynthia Brandt
Format: Article
Language:English
Published: Public Library of Science (PLoS) 2018-01-01
Series:PLoS ONE
Online Access:http://europepmc.org/articles/PMC5841824?pdf=render
id doaj-3db907c41ce74bc2a7ea482db029c683
record_format Article
spelling doaj-3db907c41ce74bc2a7ea482db029c6832020-11-25T02:29:40ZengPublic Library of Science (PLoS)PLoS ONE1932-62032018-01-01133e019408510.1371/journal.pone.0194085Predicting urinary tract infections in the emergency department with machine learning.R Andrew TaylorChristopher L MooreKei-Hoi CheungCynthia BrandtUrinary tract infection (UTI) is a common emergency department (ED) diagnosis with reported high diagnostic error rates. Because a urine culture, part of the gold standard for diagnosis of UTI, is usually not available for 24-48 hours after an ED visit, diagnosis and treatment decisions are based on symptoms, physical findings, and other laboratory results, potentially leading to overutilization, antibiotic resistance, and delayed treatment. Previous research has demonstrated inadequate diagnostic performance for both individual laboratory tests and prediction tools.Our aim, was to train, validate, and compare machine-learning based predictive models for UTI in a large diverse set of ED patients.Single-center, multi-site, retrospective cohort analysis of 80,387 adult ED visits with urine culture results and UTI symptoms. We developed models for UTI prediction with six machine learning algorithms using demographic information, vitals, laboratory results, medications, past medical history, chief complaint, and structured historical and physical exam findings. Models were developed with both the full set of 211 variables and a reduced set of 10 variables. UTI predictions were compared between models and to proxies of provider judgment (documentation of UTI diagnosis and antibiotic administration).The machine learning models had an area under the curve ranging from 0.826-0.904, with extreme gradient boosting (XGBoost) the top performing algorithm for both full and reduced models. The XGBoost full and reduced models demonstrated greatly improved specificity when compared to the provider judgment proxy of UTI diagnosis OR antibiotic administration with specificity differences of 33.3 (31.3-34.3) and 29.6 (28.5-30.6), while also demonstrating superior sensitivity when compared to documentation of UTI diagnosis with sensitivity differences of 38.7 (38.1-39.4) and 33.2 (32.5-33.9). In the admission and discharge cohorts using the full XGboost model, approximately 1 in 4 patients (4109/15855) would be re-categorized from a false positive to a true negative and approximately 1 in 11 patients (1372/15855) would be re-categorized from a false negative to a true positive.The best performing machine learning algorithm, XGBoost, accurately diagnosed positive urine culture results, and outperformed previously developed models in the literature and several proxies for provider judgment. Future prospective validation is warranted.http://europepmc.org/articles/PMC5841824?pdf=render
collection DOAJ
language English
format Article
sources DOAJ
author R Andrew Taylor
Christopher L Moore
Kei-Hoi Cheung
Cynthia Brandt
spellingShingle R Andrew Taylor
Christopher L Moore
Kei-Hoi Cheung
Cynthia Brandt
Predicting urinary tract infections in the emergency department with machine learning.
PLoS ONE
author_facet R Andrew Taylor
Christopher L Moore
Kei-Hoi Cheung
Cynthia Brandt
author_sort R Andrew Taylor
title Predicting urinary tract infections in the emergency department with machine learning.
title_short Predicting urinary tract infections in the emergency department with machine learning.
title_full Predicting urinary tract infections in the emergency department with machine learning.
title_fullStr Predicting urinary tract infections in the emergency department with machine learning.
title_full_unstemmed Predicting urinary tract infections in the emergency department with machine learning.
title_sort predicting urinary tract infections in the emergency department with machine learning.
publisher Public Library of Science (PLoS)
series PLoS ONE
issn 1932-6203
publishDate 2018-01-01
description Urinary tract infection (UTI) is a common emergency department (ED) diagnosis with reported high diagnostic error rates. Because a urine culture, part of the gold standard for diagnosis of UTI, is usually not available for 24-48 hours after an ED visit, diagnosis and treatment decisions are based on symptoms, physical findings, and other laboratory results, potentially leading to overutilization, antibiotic resistance, and delayed treatment. Previous research has demonstrated inadequate diagnostic performance for both individual laboratory tests and prediction tools.Our aim, was to train, validate, and compare machine-learning based predictive models for UTI in a large diverse set of ED patients.Single-center, multi-site, retrospective cohort analysis of 80,387 adult ED visits with urine culture results and UTI symptoms. We developed models for UTI prediction with six machine learning algorithms using demographic information, vitals, laboratory results, medications, past medical history, chief complaint, and structured historical and physical exam findings. Models were developed with both the full set of 211 variables and a reduced set of 10 variables. UTI predictions were compared between models and to proxies of provider judgment (documentation of UTI diagnosis and antibiotic administration).The machine learning models had an area under the curve ranging from 0.826-0.904, with extreme gradient boosting (XGBoost) the top performing algorithm for both full and reduced models. The XGBoost full and reduced models demonstrated greatly improved specificity when compared to the provider judgment proxy of UTI diagnosis OR antibiotic administration with specificity differences of 33.3 (31.3-34.3) and 29.6 (28.5-30.6), while also demonstrating superior sensitivity when compared to documentation of UTI diagnosis with sensitivity differences of 38.7 (38.1-39.4) and 33.2 (32.5-33.9). In the admission and discharge cohorts using the full XGboost model, approximately 1 in 4 patients (4109/15855) would be re-categorized from a false positive to a true negative and approximately 1 in 11 patients (1372/15855) would be re-categorized from a false negative to a true positive.The best performing machine learning algorithm, XGBoost, accurately diagnosed positive urine culture results, and outperformed previously developed models in the literature and several proxies for provider judgment. Future prospective validation is warranted.
url http://europepmc.org/articles/PMC5841824?pdf=render
work_keys_str_mv AT randrewtaylor predictingurinarytractinfectionsintheemergencydepartmentwithmachinelearning
AT christopherlmoore predictingurinarytractinfectionsintheemergencydepartmentwithmachinelearning
AT keihoicheung predictingurinarytractinfectionsintheemergencydepartmentwithmachinelearning
AT cynthiabrandt predictingurinarytractinfectionsintheemergencydepartmentwithmachinelearning
_version_ 1724831573351596032