Explainable machine learning-based preliminary screening for viral encephalitis by blood routine analysis - Report - MDSpire

Explainable machine learning-based preliminary screening for viral encephalitis by blood routine analysis

  • By

  • Bo Lv

  • Jie Pan

  • Aiming Shi

  • Dongxing Wang

  • June 19, 2026

  • 0 min

Share

Clinical Report: Interpretable Machine Learning for Initial Screening of Viral Encephalitis

Overview

This study developed and validated an interpretable machine learning model for the preliminary risk stratification of viral encephalitis (VE) using routine blood analysis. The XGBoost model achieved an AUC of 0.949 in the training set and 0.900 in the test set.

Background

Viral encephalitis is a severe neurological emergency that poses significant diagnostic challenges, particularly in resource-limited settings. Current diagnostic methods often rely on subjective clinical assessments and ancillary tests that may not be readily available or timely. The integration of machine learning with routine blood tests offers a method for improving the speed and accuracy of VE diagnosis.

Data Highlights

ModelAUC (Train Set)AUC (Test Set)
XGBoost0.949 (95% CI: 0.921 ~ 0.978)0.900 (95% CI: 0.801–1.000)

Key Findings

  • The XGBoost model outperformed other machine learning models in predicting VE.
  • Serum albumin (ALB) and white blood cell (WBC) counts were significant predictors of VE.
  • Low neutrophil (NEU) counts also contributed to VE prediction accuracy.
  • Interactions between ALB and WBC were influential in the model's predictions.
  • The model was validated using a cohort of 313 patients with suspected VE.

Clinical Implications

The XGBoost model provides a rapid and interpretable tool for preliminary screening of viral encephalitis based on routine blood tests.

Conclusion

The study presents a novel machine learning model that effectively utilizes routine blood analysis for the early detection of viral encephalitis.

Related Resources & Content

  1. DIGITAL HEALTH, SAGE Journals, 2025 -- Machine learning-driven nomogram for predicting viral encephalopathy risk in SFTS patients
  2. npj Digital Medicine, Nature, 2025 -- A Vision-Based Pre-trained Framework for Clinical Detection of Adverse Brain Activities Using an Automated Classifier
  3. Frontiers in Medicine, 2026 -- Clinically oriented dual-tier screening for post-stroke epilepsy with interpretable machine learning in a severely imbalanced cohort
  4. Acta Neuropathologica, 2024 -- Whole-Viral Genome Sequencing Targeting from Neuropathology Samples Preserved in Formalin-Fixed Paraffin
  5. Special Session - 2025 - European Journal of Neurology - Wiley Online Library -- Guidelines and consensus on infectious encephalitis
  6. Vidarabine versus Acyclovir Therapy in Herpes Simplex Encephalitis | New England Journal of Medicine, 1986
  7. Special Session - 2025 - European Journal of Neurology - Wiley Online Library
  8. Vidarabine versus Acyclovir Therapy in Herpes Simplex Encephalitis | New England Journal of Medicine

Original Source(s)

Related Content