Machine learning-based prediction of bacterial infection foci: model development, calibration and uncertainty quantification using conformal prediction methods.
Jacob Bahnsen Schmidt, Karen Leth Nielsen, Dmytro Strunin, Nikolai S Kirkby, Jesper Q Thomassen, Steen C Rasmussen, Ruth Frikke-Schmidt, Frederik Boetius Hertz,
Department of Clinical Microbiology, Rigshospitalet, Copenhagen, Denmark. · Department of Clinical Biochemistry, Rigshospitalet, Copenhagen, Denmark.
Key points
From the paper's conclusion- We find that ML models, particularly XGBoost combined with conformal prediction frameworks, can accurately predict the focus of bacterial infections while providing robust uncertainty quantification. This approach offers a promising addition to conventional diagnostic methods, potentially improving clinical decision-making.
Abstract
OBJECTIVE: To develop and evaluate machine learning (ML) models capable of reliably predicting the focus of bacterial infections in hospitalised patients, addressing limitations of conventional microbiological diagnostics. METHODS AND ANALYSIS: We conducted a retrospective study using data from 10 153 patients admitted to Rigshospitalet, Denmark, between 1 November 2019 and 3 June 2023. The dataset included microbiological findings, biochemical measurements and vital parameters. ML models were trained and evaluated, with outputs calibrated using Venn-ABERS calibration. Model uncertainty was quantified through conformal risk control to provide statistically robust uncertainty estimates. RESULTS: This study shows that the XGBoost model demonstrated the best performance, achieving a log loss of 0.209±0.006 (mean±SD) and an area under the receiver operating characteristic curve of 0.93±0.007. Incorporating conformal prediction techniques enhanced predictive reliability by combining high accuracy with calibrated probabilistic predictions and uncertainty estimates. CONCLUSION: We find that ML models, particularly XGBoost combined with conformal prediction frameworks, can accurately predict the focus of bacterial infections while providing robust uncertainty quantification. This approach offers a promising addition to conventional diagnostic methods, potentially improving clinical decision-making.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Comparison and validation of multiple machine learning algorithms for predicting MDRO infection in catheter-related bloodstream patients: a multicenter cohort studyMicrobiology Spectrum · 2026
- Predictive performance of machine learning models for bloodstream infection by validation type: A systematic review and meta-analysis.International journal of medical informatics · 2026
- Diagnostic Performance of Machine Learning Models for Predicting Bloodstream Infections in Large Cohorts: A Systematic Review and Meta-analysis.Infectious diseases and therapy · 2026
- Machine-learning prediction of urine-culture positivity in a multicentre test-ordered cohort: Model development and internal validation.BJUI compass · 2026
- A robust uncertainty quantification framework for machine learning–based wet-gas flow meteringMeasurement · 2026
- Investigating infection and clinical data to predict effective antibiotic therapy and monitor resistance trendsInternational Journal of Infectious Diseases · 2026