Artificial Intelligence in Differential Diagnostics of Meningitis: A Nationwide Study
Related Experiment Video
Updated: Jun 24, 2026

Inducing Meningococcal Meningitis Serogroup C in Mice via Intracisternal Delivery
Published on: November 5, 2019
Alexios-Fotios A Mentis1, Irene Garcia2, Juan Jiménez3
1National Meningitis Reference Laboratory, Department of Public Health Policy, School of Public Health, University of West Attica, 122 43 Athens, Greece.
Abstract:
Differential diagnosis between bacterial and viral meningitis is crucial. In our study, to differentiate bacterial vs. viral meningitis, three machine learning (ML) algorithms (multiple logistic regression (MLR), random forest (RF), and naïve-Bayes (NB)) were applied for the two age groups (0-14 and >14 years) of patients with meningitis by both conventional (culture) and molecular (PCR) methods. Cerebrospinal fluid (CSF) neutrophils, CSF lymphocytes, neutrophil-to-lymphocyte ratio (NLR), blood albumin, blood C-reactive protein (CRP), glucose, blood soluble urokinase-type plasminogen activator receptor (suPAR), and CSF lymphocytes-to-blood CRP ratio (LCR) were used as predictors for the ML algorithms. The performance of the ML algorithms was evaluated through a cross-validation procedure, and optimal predictions of the type of meningitis were above 95% for viral and 78% for bacterial meningitis. Overall, MLR and RF yielded the best performance when using CSF neutrophils, CSF lymphocytes, NLR, albumin, glucose, gender, and CRP. Also, our results reconfirm the high diagnostic accuracy of NLR in the differential diagnosis between bacterial and viral meningitis.
Insights
Machine learning models accurately differentiate bacterial and viral meningitis using clinical markers. The neutrophil-to-lymphocyte ratio (NLR) showed high diagnostic accuracy for distinguishing meningitis types.
Area of Science:
- Medical Informatics
- Infectious Diseases
- Clinical Diagnostics
Background:
- Accurate differential diagnosis between bacterial and viral meningitis is critical for appropriate patient management.
- Current diagnostic methods can be time-consuming or lack specificity, necessitating improved approaches.
Purpose of the Study:
- To evaluate the efficacy of machine learning algorithms in differentiating bacterial from viral meningitis.
- To identify key predictors for accurate meningitis diagnosis across different age groups.
Main Methods:
- Applied multiple logistic regression (MLR), random forest (RF), and naïve-Bayes (NB) algorithms to patient data.
- Utilized cerebrospinal fluid (CSF) and blood markers including neutrophils, lymphocytes, C-reactive protein (CRP), albumin, glucose, and neutrophil-to-lymphocyte ratio (NLR) as predictors.
- Analyzed data from two age groups (0-14 and >14 years) using both conventional and molecular diagnostic methods.
Main Results:
- Machine learning models achieved high prediction accuracy, exceeding 95% for viral and 78% for bacterial meningitis.
- MLR and RF algorithms demonstrated optimal performance, particularly when utilizing CSF neutrophils, CSF lymphocytes, NLR, albumin, glucose, gender, and CRP.
- The neutrophil-to-lymphocyte ratio (NLR) was reconfirmed as a highly accurate diagnostic marker.
Conclusions:
- Machine learning, particularly MLR and RF, offers a powerful tool for the differential diagnosis of meningitis.
- Specific clinical and laboratory markers, notably NLR, are highly effective in distinguishing between bacterial and viral meningitis.
- These findings support the integration of ML-based approaches into clinical practice for improved meningitis diagnosis.
Related Concept Videos
Automated Microbial Diagnostics
Bacterial Meningitis
Viral Meningitis
Bacterial Meningitis I: Introduction
Bacterial Meningitis II: Pathophysiology

