Related Experiment Video
Updated: Jun 28, 2025

Author Spotlight: AI-Driven Trypanosome Species Detection from Microscopic Images
Published on: October 27, 2023
Differentiating viral and bacterial infections: A machine learning model based on routine blood test values
Gregor Gunčar1,2, Matjaž Kukar1,3, Tim Smole1
1Smart Blood Analytics Swiss SA, CH-8008, Zürich, Switzerland.
Abstract:
The growing threat of antibiotic resistance necessitates accurate differentiation between bacterial and viral infections for proper antibiotic administration. In this study, a Virus vs. Bacteria machine learning model was developed to distinguish between these infection types using 16 routine blood test results, C-reactive protein concentration (CRP), biological sex, and age. With a dataset of 44,120 cases from a single medical center, the model achieved an accuracy of 82.2 %, a sensitivity of 79.7 %, a specificity of 84.5 %, a Brier score of 0.129, and an area under the ROC curve (AUC) of 0.905, outperforming a CRP-based decision rule. Notably, the machine learning model enhanced accuracy within the CRP range of 10-40 mg/L, a range where CRP alone is less informative. These results highlight the advantage of integrating multiple blood parameters in diagnostics. The "Virus vs. Bacteria" model paves the way for advanced diagnostic tools, leveraging machine learning to optimize infection management.
Related Concept Videos
Steps in Outbreak Investigation
Sensitivity, Specificity, and Predicted Value
Sensitivity is the...

