| Literature DB >> 33800653 |
Alexios-Fotios A Mentis1, Irene Garcia2, Juan Jiménez3, Maria Paparoupa4, Athanasia Xirogianni1, Anastasia Papandreou1, Georgina Tzanakaki1.
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.Entities:
Keywords: artificial intelligence; bacterial infection; machine learning; meningitis; neutrophil-to-lymphocyte ratio; viral infection
Year: 2021 PMID: 33800653 PMCID: PMC8065596 DOI: 10.3390/diagnostics11040602
Source DB: PubMed Journal: Diagnostics (Basel) ISSN: 2075-4418
Displayed number of available cases for the different sets of explanatory variables based on 4339 meningitis cases.
| Covariates | Total Number of Cases | Viral Cases | Bacterial Cases |
|---|---|---|---|
| G1 = CSF Neutrophils + CSF Lymphocytes | 1860 | 1005 (54%) | 855 (46%) |
| G2 = G1 + CSF NLR | 1844 | 1002 (54%) | 842 (46%) |
| G3 = G2 + Blood Albumin | 1684 | 932 (55%) | 752 (45%) |
| G4 = G3 + Gender + Group | 1668 | 918 (55%) | 750 (45%) |
| G5 = G4 + Blood Glucose | 1606 | 911 (57%) | 695 (43%) |
| G6 = G5 + Blood CRP | 955 | 553 (58%) | 402 (42%) |
| G7 = G6 + Blood suPAR | 125 | 69 (55%) | 56 (45%) |
| G8 = G7 + LCR | 125 | 69 (55%) | 56 (45%) |
Differential diagnosis of meningitis based on machine learning algorithms using different combinations of covariates across all age groups.
| ML Algorithm | Percentage of Viral Meningitis Detected: | Percentage of Bacterial Meningitis Detected: | Most Important Predictor |
|---|---|---|---|
|
| |||
| MLR | 96% (92%, 99%) | 49% (40%, 58%) | CSF Neutrophils |
| RF | 86% (79%, 90%) | 61% (51%, 70%) | CSF Neutrophils |
| NB | 96% (94%, 99%) | 44% (35%, 54%) | NA |
|
| |||
| MLR | 95% (91%, 97%) | 68% (61%, 75%) | NLR |
| RF | 87% (81%, 90%) | 78% (70%, 82%) | CSF |
| NB | 96% (92%, 98%) | 60% (50%, 68%) | NA |
|
| |||
| MLR | 96% (93%, 99%) | 66% (58%, 74%) | NLR |
| RF | 91% (86%, 65%) | 72% (65%, 79%) | CSF |
| NB | 95% (91%, 98%) | 63% (53%, 71%) | NA |
|
| |||
| MLR | 95% (92%, 98%) | 73% (66%, 79%) | NLR |
| RF | 90% (85%, 93%) | 71% (64%, 79%) | CSF |
| NB | 96% (93%, 99%) | 64% (56%, 73%) | NA |
|
| |||
| MLR | 95% (92%, 98%) | 73% (66%, 79%) | NLR |
| RF | 90% (85%, 93%) | 78% (72%, 84%) | CSF Neutrophils |
| NB | 95% (92%, 98%) | 66% (59%, 74%) | NA |
|
| |||
| MLR | 95% (90%, 99%) | 62% (50%, 74%) | NLR |
| RF | 91% (86%, 95%) | 76% (70%, 83%) | NLR |
| NB | 96% (92%, 100%) | 52% (38%, 66%) | NA |
|
| |||
| MLR | 86% (63%, 100%) | 72% (43%, 100%) | NLR |
| RF | 93% (87%, 97%) | 69% (57%, 81%) | NLR |
| NB | 88% (67%, 100%) | 64% (22%, 89%) | NA |
Differential diagnosis of meningitis based on machine learning algorithms using different combinations of covariates in those aged 0–14 years.
| ML Algorithm | Percentage of Viral Meningitis Detected: | Percentage of Bacterial Meningitis Detected: | Most important predictor |
|---|---|---|---|
|
| |||
| MLR | 97% (94%, 99%) | 56% (46%, 66%) | CSF Neutrophils |
| RF | 89% (83%, 94%) | 67% (56%, 76%) | CSF Neutrophils |
| NB | 96% (93%, 99%) | 42% (32%, 52%) | NA |
|
| |||
| MLR | 96% (93% 99%) | 61% (50%, 72%) | NLR |
| RF | 89% (83%, 94%) | 66% (55%, 76%) | CSF Neutrophils |
| NB | 95% (92%, 98%) | 55% (44%, 65%) | NA |
|
| |||
| MLR | 96% (93%, 99%) | 63% (53%, 74%) | NLR |
| RF | 90% (85%, 95%) | 67% (57%, 77%) | CSF Neutrophils |
| NB | 95% (91%, 98%) | 60% (50%, 71%) | NA |
|
| |||
| MLR | 95% (90%, 98%) | 63% (53%, 74%) | CSF Neutrophils |
| RF | 90% (85%, 95%) | 67% (57%, 77%) | CSF Neutrophils |
| NB | 95% (91%, 98%) | 60% (50%, 71%) | NA |
|
| |||
| MLR | 95% (91%, 99%) | 67% (56%, 78%) | NLR |
| RF | 90% (83%, 96%) | 70% (58%, 81%) | CSF Neutrophils |
| NB | 94% (89%, 99%) | 65% (53%, 77%) | NA |
|
| |||
| MLR | 89%% (73%, 100%) | 67% (33%, 100%) | NLR |
| RF | 84%% (58%, 100%) | 69%% (33%, 97%) | NLR |
| NB | 86% (64%, 97%) | 61% (29%, 97%) | NA |
|
| |||
| MLR | 86% (64%, 100%) | 61% (29%, 97%) | NLR |
| RF | 92% (77%, 100%) | 73% (41%, 97%) | NLR |
| NB | 85%% (61%, 100%) | 66% (33%, 97%) | NA |
NLR refers to Neutrophil-to-Lymphocyte Ratio. MLR refers to multiple logistic regression. RF refers to random forest. NB refers to naïve-Bayes. NA refers to non-available.
Differential diagnosis of meningitis based on machine learning algorithms using different combinations of covariates in those aged over 14 years.
| ML Algorithm | Percentage of Viral Meningitis Detected: Mean Value and CI (95%) | Percentage of Bacterial Meningitis Detected: Mean Value and CI (95%) | Most Important Predictor |
|---|---|---|---|
|
| |||
| MLR | 97% (94%, 100%) | 75% (67%, 82%) | CSF Neutrophils |
| RF | 82% (71%, 91%) | 86% (79%, 92%) | CSF Neutrophils |
| NB | 97% (91%, 100%) | 51% (40%, 65%) | NA |
|
| |||
| MLR | 96% (91%, 100%) | 83% (75%, 90%) | NLR |
| RF | 84% (75%, 92%) | 85% (78%, 91%) | CSF Neutrophils |
| NB | 96% (90%, 100%) | 65% (53%, 79%) | NA |
|
| |||
| MLR | 95% (89%, 100%) | 83% (75%, 90%) | NLR |
| RF | 87% (78%, 95%) | 87% (80%, 93%) | CSF Neutrophils |
| NB | 94% (89%, 98%) | 68% (58%, 81%) | NA |
|
| |||
| MLR | 95% (89%, 100%) | 81% (74%, 89%) | CSF Neutrophils |
| RF | 89% (80%, 96%) | 88% (80%, 94%) | CSF Neutrophils |
| NB | 94% (88%, 100%) | 65% (51%, 79%) | NA |
|
| |||
| MLR | 94% (84%, 100%) | 82% (70%, 93%) | NLR |
| RF | 89% (76%, 100%) | 87% (73%, 97%) | CSF Neutrophils |
| NB | 95% (84%, 100%) | 59% (37%, 82%) | NA |
Figure 1Summary plot whereby the optimal results (expressed as a percentage (%) of meningitis cases detected) are displayed for each Machine Learning (ML) model, i.e., Multiple logistic regression (MLR), Random forest (RF), and Naïve-Bayes (NB). Blue bars correspond to viral and red to bacterial meningitis.