Machine Learning Model for Predicting Multidrug Resistance in Clinical Klebsiella pneumoniae Isolates
Open Access
- 13 February 2026
- journal article
- research article
- Published by MDPI AG in Diagnostics
- Vol. 16 (4) , 555
Abstract
Background/Objectives: Klebsiella pneumoniae is an opportunistic pathogen increasingly resistant to carbapenems and broad-spectrum antibiotics, complicating timely infection management. In critical cases like septic shock, where initiating effective antibiotics within 3 h improves survival, culture-based resistance testing is often too slow. This study evaluates machine learning (ML) algorithms for faster antimicrobial resistance prediction than conventional methods. Methods: In this retrospective study, antibiogram results of 607 Klebsiella pneumoniae isolates collected between 2017 and 2024 were combined with demographic and clinical information of the patients from whom the isolates were obtained. Four different ML algorithms, namely Decision Tree (DT), Support Vector Classifier (SVC), K-Nearest Neighbors (KNN) and Random Forest (RF), were applied to classify the resistance status for 22 antibiotics. Model performances were evaluated using accuracy, precision, recall, F-score, AUC and feature importance metrics. Results: The RF model showed the highest overall performance in accurately predicting resistance to 22 antibiotics, achieving an average AUC value of 0.96. In particular, it predicted resistance to treatment-critical antibiotics such as Ertapenem (100%), Imipenem (93%) and Meropenem (95%) with high accuracy. Conclusions: ML models, especially RF, offer a powerful tool for rapid antibiotic resistance prediction, supporting accurate empirical treatment decisions and antimicrobial stewardship.Keywords
This publication has 38 references indexed in Scilit:
- A novel approach to antimicrobial resistance: Machine learning predictions for carbapenem-resistant Klebsiella in intensive care unitsInternational Journal of Medical Informatics, 2024
- Antimicrobial resistance: a concise updateThe Lancet Microbe, 2024
- Artificial intelligence-clinical decision support system for enhanced infectious disease management: Accelerating ceftazidime-avibactam resistance detection in Klebsiella pneumoniaeJournal of Infection and Public Health, 2024
- European society of clinical microbiology and infectious diseases guidelines for antimicrobial stewardship in emergency departments (endorsed by European association of hospital pharmacists)Clinical Microbiology and Infection, 2024
- Comparison of ANN and LR models for predicting Carbapenem-resistant Klebsiella pneumoniae isolates from a southern province of China's RNSS dataJournal of Global Antimicrobial Resistance, 2023
- Using machine learning techniques to predict antimicrobial resistance in stone disease patientsWorld Journal of Urology, 2022
- Klebsiella species: Taxonomy, hypervirulence and multidrug resistanceEBioMedicine, 2022
- European Society of Clinical Microbiology and Infectious Diseases (ESCMID) guidelines for the treatment of infections caused by multidrug-resistant Gram-negative bacilli (endorsed by European society of intensive care medicine)Clinical Microbiology and Infection, 2022
- Early prediction of carbapenem-resistant Gram-negative bacterial carriage in intensive care units using machine learningJournal of Global Antimicrobial Resistance, 2022
- Considerations and Caveats in Combating ESKAPE Pathogens against Nosocomial InfectionsAdvanced Science, 2019