Research Article

A Feature Selection and Hyperparameter Optimization Framework for Multiclass EEG-based Epilepsy Detection

Volume: 9 Number: 4 September 30, 2026

A Feature Selection and Hyperparameter Optimization Framework for Multiclass EEG-based Epilepsy Detection

Abstract

Epilepsy is a neurological disorder characterized by recurrent seizures, and EEG continues to be the gold standard for diagnosis in clinical practice. However, the nonlinear nature of the EEG and its sensitivity to noise make manual interpretations difficult. This study presents a feature selection and hyperparameter optimization approach for automatic multi-class EEG-based epilepsy detection. Five classes representing two healthy states and three epileptic states were analyzed using EEG signals from the Bonn database. Temporal, statistical, fractal, and spectral features were extracted, and their importance was ranked according to ANOVA F-values. Classifications were performed using support vector machines, random forests, nearest-neighbor algorithms, decision trees, multilayer perceptrons, and linear discriminant analysis; hyperparameters were optimized using Grid Search Cross-Validation. The robustness of the proposed model was ensured using grouped layered k-fold cross-validation. With this approach, it achieved an F1-score of 0.8126 in 5-class classification and 0.9894 in binary classification, outperforming existing methods on the same dataset. Hjorth complexity, standard deviation, and Hjorth mobility emerged as the most discriminative features for epileptic states. The study demonstrates that combining feature selection with hyperparameter optimization provides a robust, interpretable framework for multi-class EEG classification. This approach has the potential to support neurologists in their epilepsy assessments by improving diagnostic accuracy and providing clinically meaningful insights.

Keywords

Ethical Statement

It is declared that during the preparation of this study, scientific and ethical principles were followed, and all studies used are listed in the bibliography.

References

  1. T. A. Milligan, “Epilepsy: A clinical overview,” Amer. J. Med., vol. 134, no. 7, pp. 840–847, 2021, doi: 10.1016/j.amjmed.2021.01.038. [Online]. Available: https://doi.org/10.1016/j.amjmed.2021.01.038
  2. World Health Organization, “Epilepsy,” 2025. [Online]. Available: https://www.who.int/news-room/fact-sheets/detail/epilepsy. [Accessed: Aug. 14, 2025].
  3. T. Shan et al., “Global, regional, and national time trends in the burden of epilepsy, 1990–2019: An age-period-cohort analysis for the global burden of disease 2019 study,” Front. Neurol., vol. 15, Art. no. 1418926, 2024, doi: 10.3389/fneur.2024.1418926. [Online]. Available: https://doi.org/10.3389/fneur.2024.1418926
  4. J. Moriarty, “Anxiety disorders and epilepsy,” in Introduction to Epilepsy, G. Alarcón and A. Valentín, Eds. Cambridge, U.K.: Cambridge Univ. Press, 2012, pp. 518–519.
  5. M. K. Siddiqui, R. Morales-Menendez, X. Huang, and N. Hussain, “A review of epileptic seizure detection using machine learning classifiers,” Brain Informat., vol. 7, Art. no. 5, 2020, doi: 10.1186/s40708-020-00105-1. [Online]. Available: https://doi.org/10.1186/s40708-020-00105-1
  6. P. B. Boz and C. Özden, “Decision support system based on ensemble models in distinguishing epilepsy types,” Epilepsy Behav., vol. 170, Art. no. 110470, 2025, doi: 10.1016/j.yebeh.2025.110470. [Online]. Available: https://doi.org/10.1016/j.yebeh.2025.110470
  7. H. Bao and J. Ma, “A novel frame funnel-shaped CNN with SE block for epilepsy detection in EEG signals,” in Proc. 10th Int. Conf. Intell. Comput. Signal Process. (ICSP), Xi’an, China, 2025, pp. 471–477, doi: 10.1109/ICSP65755.2025.11087152. [Online]. Available: https://doi.org/10.1109/ICSP65755.2025.11087152
  8. S. S. Baawi, E. Hakem, A. A. Al-Hamzawi, D. Al-Shammary, A. Ibaida, and A. M. Mahdi, “Hilbert similarity convex for efficient EEG feature selections,” J. Supercomput., vol. 81, 2025, doi: 10.1007/s11227-025-07199-6. [Online]. Available: https://doi.org/10.1007/s11227-025-07199-6

Details

Primary Language

English

Subjects

Artificial Intelligence (Other)

Journal Section

Research Article

Publication Date

September 30, 2026

Submission Date

November 29, 2025

Acceptance Date

March 13, 2026

Published in Issue

Year 2026 Volume: 9 Number: 4

APA
Şaşmaz Karacan, S. (2026). A Feature Selection and Hyperparameter Optimization Framework for Multiclass EEG-based Epilepsy Detection. Sakarya University Journal of Computer and Information Sciences, 9(4), 1294-1304. https://doi.org/10.35377/saucis...1832685
AMA
1.Şaşmaz Karacan S. A Feature Selection and Hyperparameter Optimization Framework for Multiclass EEG-based Epilepsy Detection. SAUCIS. 2026;9(4):1294-1304. doi:10.35377/saucis.1832685
Chicago
Şaşmaz Karacan, Seda. 2026. “A Feature Selection and Hyperparameter Optimization Framework for Multiclass EEG-Based Epilepsy Detection”. Sakarya University Journal of Computer and Information Sciences 9 (4): 1294-1304. https://doi.org/10.35377/saucis. 1832685.
EndNote
Şaşmaz Karacan S (September 1, 2026) A Feature Selection and Hyperparameter Optimization Framework for Multiclass EEG-based Epilepsy Detection. Sakarya University Journal of Computer and Information Sciences 9 4 1294–1304.
IEEE
[1]S. Şaşmaz Karacan, “A Feature Selection and Hyperparameter Optimization Framework for Multiclass EEG-based Epilepsy Detection”, SAUCIS, vol. 9, no. 4, pp. 1294–1304, Sept. 2026, doi: 10.35377/saucis...1832685.
ISNAD
Şaşmaz Karacan, Seda. “A Feature Selection and Hyperparameter Optimization Framework for Multiclass EEG-Based Epilepsy Detection”. Sakarya University Journal of Computer and Information Sciences 9/4 (September 1, 2026): 1294-1304. https://doi.org/10.35377/saucis. 1832685.
JAMA
1.Şaşmaz Karacan S. A Feature Selection and Hyperparameter Optimization Framework for Multiclass EEG-based Epilepsy Detection. SAUCIS. 2026;9:1294–1304.
MLA
Şaşmaz Karacan, Seda. “A Feature Selection and Hyperparameter Optimization Framework for Multiclass EEG-Based Epilepsy Detection”. Sakarya University Journal of Computer and Information Sciences, vol. 9, no. 4, Sept. 2026, pp. 1294-0, doi:10.35377/saucis. 1832685.
Vancouver
1.Seda Şaşmaz Karacan. A Feature Selection and Hyperparameter Optimization Framework for Multiclass EEG-based Epilepsy Detection. SAUCIS. 2026 Sep. 1;9(4):1294-30. doi:10.35377/saucis. 1832685

 

INDEXING & ABSTRACTING & ARCHIVING

 

31045 31044   Anadolu Türk Eğitim Dergisi  31047 

31043 28939 28938 34240
 

 

29070    The papers in this journal are licensed under a Creative Commons Attribution-NonCommercial 4.0 International License