Related Experiment Video
Updated: Sep 16, 2025

Author Spotlight: AI-Driven Trypanosome Species Detection from Microscopic Images
Published on: October 27, 2023
Improving meningitis surveillance and diagnosis with machine learning: Insights from São Paulo
Audêncio Victor1,2,3, Diego Augusto Medeiros Santos1, Eduardo Koerich Nery1
1São Paulo State Health Department, Disease Control Coordination, Epidemiological Surveillance Center "Prof. Alexandre Vranjac," Respiratory Disease Division, São Paulo, Brazil.
Introduction:
Meningitis, an inflammatory condition of the membranes surrounding the brain and spinal cord, can be caused by various agents. Bacterial meningitis is particularly severe due to its high morbidity and mortality rates. This study aims to develop machine learning (ML) models to classify the aetiology of bacterial meningitis using data from the Notifiable Diseases Information System (SINAN) in São Paulo State, Brazil.
Methods:
Data were collected from the SINAN database, including sociodemographic variables, clinical symptoms, and cerebrospinal fluid (CSF) analyses. Five ML models Random Forest, LightGBM, XGBoost, CatBoost, and AdaBoost were applied to classify meningitis cases into bacterial, fungal, viral, and other types. Models were evaluated using metrics such as AUC-ROC, accuracy, precision, recall, F1-score, and MCC.
Results:
The CatBoost model demonstrated superior performance, achieving an AUC-ROC of 0.95 for binary classification (bacterial vs. non-bacterial) and 0.85 for multiclass classification (Neisseria meningitidis, Streptococcus pneumoniae, and Haemophilus influenzae). XGBoost and LightGBM also showed promising results with AUC-ROC scores of 0.94 and 0.92, respectively, for binary classification. The CatBoost model exhibited high sensitivity and reasonable specificity, highlighting its applicability in the rapid and accurate diagnosis of meningitis. SHAP analysis identified variables such as leukocyte count and the presence of petechiae as influential predictors in the models.
Conclusion:
ML algorithms, particularly CatBoost, XGBoost, and LightGBM, proved highly effective in the differential diagnosis of meningitis, offering a valuable tool for the rapid identification of meningitis types and bacterial serogroups. These techniques can be integrated into public health protocols to improve meningitis outbreak responses and optimize patient treatment.
Insights
Machine learning models accurately classify meningitis aetiology. CatBoost, XGBoost, and LightGBM show high performance in distinguishing bacterial meningitis, aiding rapid diagnosis and public health response.
Area of Science:
- Medical Informatics
- Epidemiology
- Machine Learning
Background:
- Meningitis poses a significant public health threat, with bacterial meningitis exhibiting high morbidity and mortality.
- Accurate and rapid etiological classification is crucial for effective treatment and outbreak control.
Purpose of the Study:
- To develop and evaluate machine learning models for classifying meningitis aetiology using real-world data.
- To identify key predictors for differentiating bacterial meningitis from other causes.
Main Methods:
- Utilized data from the Notifiable Diseases Information System (SINAN) in São Paulo State, Brazil.
- Applied and compared five machine learning models: Random Forest, LightGBM, XGBoost, CatBoost, and AdaBoost.
- Evaluated model performance using AUC-ROC, accuracy, precision, recall, F1-score, and MCC.
Main Results:
- The CatBoost model achieved superior performance, with an AUC-ROC of 0.95 for binary (bacterial vs. non-bacterial) and 0.85 for multiclass classification.
- XGBoost and LightGBM also demonstrated high efficacy in binary classification (AUC-ROC 0.94 and 0.92, respectively).
- SHAP analysis identified leukocyte count and petechiae as key predictive variables.
Conclusions:
- Machine learning algorithms, especially CatBoost, XGBoost, and LightGBM, are effective tools for the differential diagnosis of meningitis.
- These models can enhance rapid identification of meningitis types and serogroups, improving public health surveillance and patient management.
Related Concept Videos
Steps in Outbreak Investigation
Principles of Disease Surveillance

