Interpretable Epileptic Seizure Detection Using Entropy and Gram Matrix Features in Beta–Gamma Bands
- Department of Electrical and Biomedical Engineering, Ur.C., Islamic Azad University, Urmia, Iran
Received: 2025-07-30
Revised: 2025-09-06
Accepted: 2025-12-20
Published Online: 2026-04-21
Copyright (c) 2026 Shiva Rasaei Salari, Hamed Erfankhah (Author)

This work is licensed under a Creative Commons Attribution 4.0 International License.
How to Cite
PDF views: 19
Abstract
Epileptic seizure detection using EEG is vital for clinical diagnosis. This paper proposes a novel, interpretable framework for automated seizure classification based on entropy features from Beta (12–30 Hz) and Gamma (30–60 Hz) bands. The Discrete Legendre Transform (DLT) decomposes EEG signals, enabling extraction of four entropy measures: Approximate, Permutation, Sample, and Fuzzy Entropy. To capture inter-feature dependencies, Gram Matrix modeling is applied, yielding four global descriptors (trace, Frobenius norm, max eigenvalue, determinant), fused into a 12-dimensional feature vector. Evaluated with SVM and ProCRC classifiers on two datasets, Bonn (interictal D vs. ictal E) and independent Hauz Khas (HK, interictal vs. ictal), the method achieves 100% accuracy on Bonn and 97.5% on HK under 60–40 stratified split, and 99.5% (Bonn) and 97% (HK) under 10-fold cross-validation. Performance surpasses multiple state-of-the-art methods, including deep and hybrid models, while remaining fully interpretable, lightweight, and free of deep learning, image conversion, or GPU dependency. The framework’s transparency, computational frugality, and cross-dataset robustness make it highly suitable for portable, real-world clinical deployment in resource-limited settings. This work confirms that high diagnostic accuracy and interpretability are not mutually exclusive in seizure detection.
Keywords
- Epileptic seizure detection,
- Electroencephalographic signal analysis,
- Gamma and Beta band entropy,
- Gram matrix modeling,
- Probabilistic collaborative representation
References
- M. Khaksar, A. Golrou, and S. Rahati-Ghuchani, “Automatic recognition of sleep spindles based on two-stage classifier with artificial neural networks and support vector machines,” Majlesi Journal of Electrical Engineering, vol. 2, no. 1, pp. 83–90, 2009. doi: 10.1234/mjee.v2i1.45.
- M. Vaezi and M. Nasri, “Sleep stage classification using Laplacian score feature selection method by single channel EEG,” Majlesi Journal of Electrical Engineering, vol. 14, no. 4, 2020. doi: 10.29252/mjee.14.4.11.
- A. Tobieha, N. Behzadfar, M. R. Yousefi, H. Mahdavi-Nasab, and G. Shahgholian, “Analysis of the changes in the distinguishing features in electroencephalogram signal processing for heroin addicts,” Majlesi Journal of Electrical Engineering, vol. 19, no. 1, pp. 1–13, Mar. 2025. doi: 10.57647/j.mjee.2025.1901.14.
- M. Mabrouk, “Non-invasive EEG-based BCI system for left or right hand movement,” Majlesi Journal of Electrical Engineering, vol. 5, no. 3, 2024. Available: https://oiccpress.com/mjee/article/view/5180.
- E. Wirrell, P. Tinuper, E. Perucca, and S. L. Moshé, "Introduction to the epilepsy syndrome papers," Epilepsy Research, vol. ---, pp. 1330–1332, 2022. doi: 10.1111/epi.17262.
- C. Baumgartner, J. Baumgartner, C. Lang, T. Lisy, and J. P. Koren, ‘‘Seizure detection devices,’’ Journal of Clinical Medicine, vol. 14, no. 3, p. 863, 2025. doi: 10.3390/jcm14030863.
- V. Rasoulzadeh, E. Erkus, T. Yogurt, I. Ulusoy, and S. A. Zergeroğlu, ‘‘A comparative stationarity analysis of eeg signals,’’ Annals of Operations Research, vol. 258, pp. 133–157, 2017. doi: 10.1007/s10479-016-2187-3.
- P. Baghaie-Anaraki, M. Yazdchi, and A. Karimian, “EEG pattern recognition to diagnose epilepsy using wavelet and chaos transformations,” Majlesi Journal of Electrical Engineering, vol. 2, no. 1, pp. 51–59, 2008. doi: 10.1234/mjee.v2i1.41.
- N. Kannathal, M. L. Choo, U. R. Acharya, and P. Sadasivan, ‘‘Entropies for detection of epilepsy in EEG,’’ Computer methods and programs in biomedicine, vol. 80, no. 3, pp. 187–194, 2005. doi: 10.1016/j.cmpb.2005.06.012.
- Y. Zhang, L. Wang, and H. Chen, ‘‘A low-complexity seizure detection algorithm for ultra-low power wearable devices,’’ IEEE Transactions on Biomedical Circuits and Systems, vol. 17, no. 2, pp. 230–239, 2023. doi: 10.1109/ACCESS.2023.3235913
- B. S. Nanthini and B. Santhi, ‘‘Electroencephalogram signal classification for automated epileptic seizure detection using genetic algorithm,’’ Journal of natural science, biology, and medicine, vol. 8, no. 2, p. 159, 2017. doi: 10.4103/jnsbm.jnsbm_285_16.
- A. Şengür, Y. Guo, and Y. Akbulut, ‘‘Time–frequency texture descriptors of eeg signals for efficient detection of epileptic seizure,’’ Brain Informatics, vol. 3, pp. 101–108, 2016. doi: 10.1007/s40708-015-0029-8.
- N. Sairamya, S. Thomas George, D. Narain Ponraj, and M. Subathra, ‘‘Automated detection of epileptic seizure using histogram of oriented gradients for analysing time frequency images of eeg signals,’’ in Smart and Innovative Trends in Next Generation Computing Technologies: Third International Conference, NGCT 2017, Dehradun, India, October 30-31, 2017, Revised Selected Papers, Part II 3. Springer, 2018, pp. 932–943. doi: 10.1007/978-981-10-8660-1_71.
- M. Yusaf, R. Nawaz, and J. Iqbal, ‘‘Robust seizure detection in eeg using 2D DWT of time-frequency distributions,’’ Electronics Letters, vol. 52, no. 11, pp. 902–903, 2016. doi: 10.1049/el.2016.0630.
- J. Mutersbaugh, V. Lam, M. G. Linguraur, and S. M. Anwar, ‘‘Epileptic seizure classification using multidimensional EEG spectrograms,’’ in 2023 19th International Symposium on Medical Information Processing and Analysis (SIPAIM). IEEE, 2023, pp. 1–4. doi: 10.1109/SIPAIM56729.2023.10373429.
- W. Zeng, L. Shan, B. Su, and S. Du, ‘‘Epileptic seizure detection with deep EEG features by convolutional neural network and shallow classifiers,’’ Frontiers in neuroscience, vol. 17, p. 1145526, 2023. doi: 10.3389/fnins.2023.1145526.
- Q. Xin, S. Hu, S. Liu, L. Zhao, and Y.-D. Zhang, ‘‘An attention-based wavelet convolution neural network for epilepsy EEG classification,’’ IEEE Transactions on Neural Systems and Rehabilitation Engineering, vol. 30, pp. 957–966, 2022. doi: 10.1109/TNSRE.2022.3166181.
- E. Boran, J. Sarnthein, N. Krayenbühl, G. Ramantani, and T. Fedele, “High-frequency oscillations in scalp EEG mirror seizure frequency in pediatric focal epilepsy,” Scientific Reports, vol. 9, no. 1, p. 16560, 2019. doi: 10.1038/s41598-019-52700-w.
- R. G. Andrzejak, K. Lehnertz, F. Mormann, C. Rieke, P. David, and C. E. Elger, ‘‘Indications of nonlinear deterministic and finite-dimensional structures in time series of brain electrical activity: Dependence on recording region and brain state,’’ Physical Review E, vol. 64, no. 6, p. 061907, 2001. doi: 10.1103/PhysRevE.64.061907.
- R. Sharma, P. K. Gupta, and M. K. Verma, “EEG Epilepsy Datasets,” ResearchGate, 2016. doi: 10.13140/RG.2.2.14280.32006.
- L. C. D. Nkengfack, D. Tchiotsop, R. Atangana, V. Louis-Door, and D. Wolf, ‘‘EEG signals analysis for epileptic seizures detection using polynomial transforms, linear discriminant analysis and support vector machines,’’ Biomedical Signal Processing and Control, vol. 62, p. 102141, 2020. doi: 10.1016/j.bspc.2020.102141.
- S. M. Pincus, ‘‘Approximate entropy as a measure of system complexity,’’ Proceedings of the National Academy of Sciences, vol. 88, no. 6, pp. 2297– 2301, 1991. doi: 10.1073/pnas.88.6.2297.
- C. Bandt and B. Pompe, ‘‘Permutation entropy: a natural complexity measure for time series,’’ Physical Review E, vol. 66, no. 2, p. 025701, 2002. doi: 10.1103/PhysRevLett.88.174102.
- J. S. Richman and J. R. Moorman, ‘‘Sample entropy,’’ American Journal of Physiology-Heart and Circulatory Physiology, vol. 286, no. 6, pp. H2503– H2508, 2004. doi: 10.1016/S0076-6879(04)84011-4.
- Al-Sharhan, Salah, Fakhri Karray, Wail Gueaieb, and O. Basir. "Fuzzy entropy: a brief survey." In 10th IEEE international conference on fuzzy systems.(Cat. No. 01CH37297), vol. 3, pp. 1135-1139. IEEE, 2001. doi: 10.1109/FUZZ.2001.1008855.
- L. A. Gatys, A. S. Ecker, and M. Bethge, ‘‘A neural algorithm of artistic style,’’ arXiv preprint arXiv:1508.06576, 2015. doi: 10.48550/arXiv.1508.06576.
- M. A. Hearst, S. T. Dumais, E. Osuna, J. Platt, and B. Schölkopf, “Support vector machines,” IEEE Intell. Syst., vol. 13, no. 4, pp. 18–28, 1998. doi: 10.1109/5254.708428.
- C.-C. Chang and C.-J. Lin, ‘‘Libsvm: A library for support vector machines,’’ ACM Transactions on Intelligent Systems and Technology, vol. 2, no. 3, pp. 1–39, 2011 doi: 10.1145/1961189.1961199.
- S. Cai, L. Zhang, W. Zuo, and X. Feng, ‘‘A probabilistic collaborative representation based approach for pattern classification,’’ in Proceedings of the IEEE conference on computer vision and pattern recognition, 2016, pp. 2950–2959. doi: 10.1109%2FCVPR.2016.322.
- S. L. Alzamili, S. S. Baawi, M. N. Kadhim, D. Al-Shammary, and A. Ibaida, ‘‘Efficient feature selection based on ruzicka similarity for eeg diagnosis,’’ International Journal of Information Technology, pp. 1–15, 2025. doi: 10.1007/s41870-025-02572-3.
- Aayesha, M. B. Qureshi, M. Afzaal, M. S. Qureshi, and M. Fayaz, ‘‘Machine learning-based EEG signals classification model for epileptic seizure detection,’’ Multimedia Tools and Applications, vol. 80, no. 12, pp. 17 849– 17 877, 2021. doi: 10.1007/s11042-021-10597-6.
- P. Kunekar, M. K. Gupta, and P. Gaur, ‘‘Detection of epileptic seizure in eeg signals using machine learning and deep learning techniques,’’ Journal of Engineering and Applied Science, vol. 71, no. 1, p. 21, 2024. doi: 10.1186/s44147-023-00353-y.
- A. Malekzadeh, A. Zare, M. Yaghoobi, H. R. Kobravi, and R. Alizadehsani, “Epileptic seizures detection in EEG signals using fusion handcrafted and deep learning features,” Sensors, vol. 21, no. 22, p. 7710, 2021. doi: 10.3390/s21227710.
- A. Malekzadeh, A. Zare, M. Yaghoobi, and R. Alizadehsani, “Automatic diagnosis of epileptic seizures in EEG signals using fractal dimension features and convolutional autoencoder method,” Big Data and Cognitive Computing, vol. 5, no. 4, p. 78, 2021.
- L. Wang, W. Xue, Y. Li, M. Luo, J. Huang, W. Cui, and C. Huang, ‘‘Automatic epileptic seizure detection in EEG signals using multi-domain feature extraction and nonlinear analysis,’’ Entropy, vol. 19, no. 6, p. 222, 2017. doi: 10.3390/e19060222.
- A. R. Hassan, A. Subasi, and Y. Zhang, ‘‘Epilepsy seizure detection using complete ensemble empirical mode decomposition with adaptive noise,’’ Knowledge-Based Systems, vol. 191, p. 105333, 2020. doi: 10.1016/j.knosys.2019.105333.
- M. K. I. Molla, K. M. Hassan, M. R. Islam, and T. Tanaka, ‘‘Graph eigen decomposition-based feature-selection method for epileptic seizure detection using electroencephalography,’’ Sensors, vol. 20, no. 16, p. 4639, 2020. doi: 10.3390/s20164639.
- B. Wang, Y. Xu, S. Peng, H. Wang, and F. Li, “Detection method of epileptic seizures using a neural network model based on multimodal dual-stream networks,” Sensors, vol. 24, no. 11, p. 3360, 2024. doi: 10.3390/s24113360.
- S. Panda, A. Das, S. Mishra, and M. N. Mohanty, “Epileptic seizure detection using deep ensemble network with empirical wavelet transform,” Measurement Science Review, vol. 21, no. 4, pp. 110–116, 2021. doi: 10.2478/msr-2021-0016.
- D. P. Dash, M. H. Kolekar, and K. Jha, “Surface EEG based epileptic seizure detection using wavelet based features and dynamic mode decomposition power along with KNN classifier,” Multimedia Tools and Applications, vol. 81, no. 29, pp. 42057–42077, 2022. doi: 10.1007/s11042-021-11487-7.
- G. Sheng, X. Hu, H. Wu, J. Zhu, and P. Shi, “Deep knowledge-driven TSK fuzzy classifier for EEG-based epilepsy diagnosis,” J. Mech. Med. Biol., vol. 25, no. 08, p. 2540072, 2025. doi: 10.1142/S021951942540072X.
- A. Gupta, P. Singh, and M. Karlekar, “A novel signal modeling approach for classification of seizure and seizure-free EEG signals,” IEEE Transactions on Neural Systems and Rehabilitation Engineering, vol. 26, no. 5, pp. 925–935, 2018. doi: 10.1109/TNSRE.2018.2818123.
- G. S. Jebaraj and K. Elango, “EEG seizure classification with temporal spiking neural networks and mutual information-based feature selection,” Journal of Engineering and Applied Science, vol. 72, no. 1, p. 218, 2025. doi: 10.1186/s44147-025-00796-5.
10.57647/mjee.2026.2002.14