PySeizure: A single machine learning classifier framework to detect seizures in diverse datasets
Bartlomiej Chybowski, Shima Abdullateef, Hollan Haule, Alfredo Gonzalez-Sulser, Javier Escudero

TL;DR
This paper introduces an open-source, machine learning framework for seizure detection that is robust and generalisable across diverse EEG datasets, aiming to improve clinical diagnosis and management of epilepsy.
Contribution
The authors present a novel, dataset-agnostic seizure detection framework with automated preprocessing and ensemble voting, enhancing robustness and cross-dataset transferability.
Findings
High within-dataset performance (AUC > 0.9)
Strong cross-dataset generalisation (AUC > 0.75)
Reproducible methodology suitable for clinical deployment
Abstract
Reliable seizure detection is critical for diagnosing and managing epilepsy, yet clinical workflows remain dependent on time-consuming manual EEG interpretation. While machine learning has shown promise, existing approaches often rely on dataset-specific optimisations, limiting their real-world applicability and reproducibility. Here, we introduce an innovative, open-source machine-learning framework that enables robust and generalisable seizure detection across varied clinical datasets. We evaluate our approach on two publicly available EEG datasets that differ in patient populations and electrode configurations. To enhance robustness, the framework incorporates an automated pre-processing pipeline to standardise data and a majority voting mechanism, in which multiple models independently assess each second of EEG before reaching a final decision. We train, tune, and evaluate models…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsEEG and Brain-Computer Interfaces · Epilepsy research and treatment · Machine Learning in Healthcare
