An Interpretable Machine Learning Framework for Interictal EEG-based Epilepsy Classification
Abstract
Reliable detection of interictal epileptic activity from electroencephalography (EEG) signals remains a challenging problem, as interictal patterns lack the distinctive characteristics observed during seizure episodes. Although many existing studies report high classification performance, this is often achieved by including ictal EEG signals, which substantially simplifies the task and limits clinical realism. In addition, the growing use of complex deep learning models has raised concerns regarding interpretability and practical deployment in clinical settings. To address these limitations, an interpretable machine learning framework is proposed for discriminating normal EEG signals from pathological interictal activity. EEG recordings from healthy subjects and epilepsy patients were analysed using a comprehensive set of features from the time and frequency domains designed to characterise spectral characteristics and temporal dynamics. Multiple machine learning classifiers were evaluated under a unified experimental protocol using five-fold cross-validation to ensure robust performance assessment. The experimental results demonstrate that the k-nearest neighbour classifier achieved the most balanced performance, with an accuracy of 95.5% in distinguishing interictal EEG segments from normal recordings. Furthermore, a Shapley-based feature contribution analysis revealed that a compact subset of influential features can retain high classification accuracy, indicating that model complexity can be significantly reduced without compromising performance. These findings demonstrate that effective interictal EEG discrimination can be achieved using a transparent and computationally efficient approach, providing an interpretable methodological benchmark for EEG-based analysis under controlled experimental conditions.
Keywords
References
- Tracey A Milligan. 2021. Epilepsy: a clinical overview. The American Journal of Medicine 134, 7 (2021), 840–847. google scholar
- Valery L Feigin, Theo Vos, Balakrishnan Sukumaran Nair, Simon I Hay, Yohannes Habtegiorgis Abate, Abdallah H A Abd Al Magied, Samar Abd ElHafeez, Atef Abdelkader, Mohammad-Amin Abdollahifar, Auwal Abdullahi, Richard Gyan Aboagye, Lucas Guimarães Abreu, Samir Abu Rumeileh, Hasan Abualruz, Salahdein Aburuz, et al. 2025. Global, regional, and national burden of epilepsy, 1990–2021: a systematic analysis for the Global Burden of Disease Study 2021. The Lancet Public Health 10, 3 (March 2025), e203–e227. https://doi.org/10.1016/S2468-2667(24)00302-5 google scholar
- World Health Organization. 2022. Follow-up to the political declaration of the third high-level meeting of the General Assembly on the prevention and control of non-communicable diseases. World Health Organization, Geneva, Switzerland. google scholar
- Tao Zhang, Jichi Chen, and Kemal Polat. 2026. Enhanced epileptic seizure detection using CNNs with convolutional block attention and short-term memory networks. Behavioural Brain Research 496, (January 2026), 115831. https://doi.org/10.1016/j.bbr.2025.115831 google scholar
- Merete Osler, Erik L Mortensen, Kaare Christensen, and Gunhild T Christensen. 2018. A bidirectional association between cognitive ability in young adulthood and epilepsy: a population-based cohort study. International Journal of Epidemiology 47, 4 (August 2018), 1151–1158. https://doi.org/10.1093/ije/dyy018 google scholar
- Resmi Cherian and E. Gracemary Kanaga. 2022. Theoretical and methodological analysis of EEG based seizure detection and prediction: An exhaustive review. Journal of Neuroscience Methods 369, (March 2022), 109483. https://doi.org/10.1016/j.jneumeth.2022.109483 google scholar
- Lorenzo Frassineti, Angela Parente, and Claudia Manfredi. 2021. Multiparametric EEG analysis of brain network dynamics during neonatal seizures. Journal of neuroscience methods 348, (2021), 109003. google scholar
- Shivarudhrappa Raghu, Natarajan Sriraam, Yasin Temel, Shyam Vasudeva Rao, and Pieter L Kubben. 2020. EEG based multi-class seizure type classification using convolutional neural network and transfer learning. Neural Networks 124, (2020), 202–212. google scholar
Details
Primary Language
English
Subjects
Artificial Intelligence (Other)
Journal Section
Research Article
Authors
Reyhan Hoşavcı
*
0000-0003-3384-6670
Türkiye
Publication Date
January 30, 2026
Submission Date
January 2, 2026
Acceptance Date
January 15, 2026
Published in Issue
Year 2026 Volume: 2 Number: 1