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.

PLOS Digital Health
|July 10, 2025
PubMed
Abstract

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.