Using machine learning techniques to predict antimicrobial resistance in stone disease patients

World J Urol. 2022 Jul;40(7):1731-1736. doi: 10.1007/s00345-022-04043-x. Epub 2022 May 26.

Abstract

Purpose: Artificial intelligence is part of our daily life and machine learning techniques offer possibilities unknown until now in medicine. This study aims to offer an evaluation of the performance of machine learning (ML) techniques, for predicting bacterial resistance in a urology department.

Methods: Data were retrieved from laboratory information system (LIS) concerning 239 patients with urolithiasis hospitalized in the urology department of a tertiary hospital over a 1-year period (2019): age, gender, Gram stain (positive, negative), bacterial species, sample type, antibiotics and antimicrobial susceptibility. In our experiments, we compared several classifiers following a tenfold cross-validation approach on 2 different versions of our dataset; the first contained only information of Gram stain, while the second had knowledge of bacterial species.

Results: The best results in the balanced dataset containing Gram stain, achieve a weighted average receiver operator curve (ROC) area of 0.768 and F-measure of 0.708, using a multinomial logistic regression model with a ridge estimator. The corresponding results of the balanced dataset, that contained bacterial species, achieve a weighted average ROC area of 0.874 and F-measure of 0.783, with a bagging classifier.

Conclusions: Artificial intelligence technology can be used for making predictions on antibiotic resistance patterns when knowing Gram staining with an accuracy of 77% and nearly 87% when identifying specific microorganisms. This knowledge can aid urologists prescribing the appropriate antibiotic 24-48 h before test results are known.

Keywords: Antimicrobial resistance; Artificial intelligence; Machine learning; Urolithiasis.

MeSH terms

  • Anti-Bacterial Agents* / therapeutic use
  • Artificial Intelligence*
  • Drug Resistance, Bacterial
  • Humans
  • Logistic Models
  • Machine Learning
  • ROC Curve

Substances

  • Anti-Bacterial Agents