Epilepsy Classification Using Support Vector Machine with Frequency Domain Feature Extraction
DOI:
https://doi.org/10.55981/jet.797Keywords:
epilepsy, SVM, FFT, EEG, accuracyAbstract
Epilepsy is a brain-related condition characterized by abnormal electrical activity in the brain. This condition can be identified by observing EEG signals, which record the brain's electrical activity. Automatically detecting seizures using EEG signals helps doctors diagnose the condition more quickly and accurately. In this study, a method is proposed that uses a Support Vector Machine (SVM) to classify EEG signals. The features used for classification are extracted from the frequency domain using a technique called Fast Fourier Transform (FFT). The dataset used is called the UCI Epileptic Seizure Recognition Dataset, which includes 11,500 EEG samples divided into five classes. These samples are then categorized into two main types: seizures and non-seizures. The research process includes data preprocessing with MinMaxScaler normalization, feature extraction using FFT, and data classification using SVM with varying numbers of features. Model performance is measured using several metrics, including accuracy, precision, recall, F1 score, and ROC-AUC. The results showed that the use of 21 features with the SVM model provided the best performance, with an accuracy of 97.7%, a precision of 93.2%, a recall of 95.4%, an F1 score of 94.3%, and an AUC value of 0.9930. These results are better than previous studies using similar methods, indicating that the combination of FFT and SVM is effective for detecting epilepsy using EEG signals. These findings help build a more reliable system for medical diagnosis and highlight the importance of using balanced evaluation measures in healthcare.
Downloads
References
[1] K. T. Sumadewi, S. Harkitasari, and D. C. Tjandra, “Biomolecular mechanisms of epileptic seizures and epilepsy: a review,” Acta Epileptol., vol. 5, no. 1, 2023, doi: 10.1186/s42494-023-00137-0.
[2] B. Y. Dawda and N. Ezewuzie, “Epilepsy : clinical features and diagnosis,” no. March, pp. 1–10, 2010.
[3] G. J. Noh, Y. Jane Tavyev Asher, and J. M. Graham, “Clinical review of genetic epileptic encephalopathies,” Eur. J. Med. Genet., vol. 55, no. 5, pp. 281–298, 2012, doi: 10.1016/j.ejmg.2011.12.010.
[4] K. Baum, “The bellevue guide to outpatient medicine: an evidence-based guide to primary care.,” Fam. Pract., vol. 19, no. 6, pp. 711–711, 2002, doi: 10.1093/fampra/19.6.711.
[5] A. Chaddad, Y. Wu, R. Kateb, and A. Bouridane, “Electroencephalography signal processing: a comprehensive review and analysis of methods and techniques,” Sensors, vol. 23, no. 14, pp. 1–27, 2023, doi: 10.3390/s23146434.
[6] M. Orban, M. Elsamanty, K. Guo, S. Zhang, and H. Yang, “A review of brain activity and eeg-based brain–computer interfaces for rehabilitation application,” Bioengineering, vol. 9, no. 12, 2022, doi: 10.3390/bioengineering9120768.
[7] A. Biasiucci, B. Franceschiello, and M. M. Murray, “Electroencephalography,” Curr. Biol., vol. 29, no. 3, pp. R80–R85, 2019, doi: 10.1016/j.cub.2018.11.052.
[8] S. Chamberland and L. Topolnik, “Inhibitory control of hippocampal inhibitory neurons,” Front. Neurosci., vol. 6, no. NOV, pp. 1–13, 2012, doi: 10.3389/fnins.2012.00165.
[9] S. Joelsson et al., “Diagnostic value of eeg after a first unprovoked seizure in adults – a population-based study,” Epilepsy Behav., vol. 162, no. October 2024, 2025, doi: 10.1016/j.yebeh.2024.110151.
[10] Z. Huang et al., “EEG detection and recognition model for epilepsy based on dual attention mechanism,” Sci. Rep., vol. 15, no. 1, pp. 1–16, 2025, doi: 10.1038/s41598-025-90315-6.
[11] X. Zhang, X. Zhang, Q. Huang, and F. Chen, “A review of epilepsy detection and prediction methods based on eeg signal processing and deep learning,” Front. Neurosci., vol. 18, no. November, 2024, doi: 10.3389/fnins.2024.1468967.
[12] W. O. Tatum et al., “Clinical utility of eeg in diagnosing and monitoring epilepsy in adults,” Clin. Neurophysiol., vol. 129, no. 5, pp. 1056–1082, 2018, doi: 10.1016/j.clinph.2018.01.019.
[13] X. Wang, Y. Wang, D. Liu, Y. Wang, and Z. Wang, “Automated recognition of epilepsy from eeg signals using a combining space–time algorithm of cnn-lstm,” Sci. Rep., vol. 13, no. 1, pp. 1–12, 2023, doi: 10.1038/s41598-023-41537-z.
[14] Y. Hu, J. Liu, R. Sun, Y. Yu, and Y. Sui, “Classification of epileptic seizures in eeg data based on iterative gated graph convolution network,” Front. Comput. Neurosci., vol. 18, 2024, doi: 10.3389/fncom.2024.1454529.
[15] T. Tuncer and S. Dogan, “An explainable eeg epilepsy detection model using friend pattern,” Sci. Rep., vol. 15, no. 1, pp. 1–15, 2025, doi: 10.1038/s41598-025-01747-z.
[16] K. M. Alalayah, E. M. Senan, H. F. Atlam, I. A. Ahmed, and H. S. A. Shatnawi, “Effective early detection of epileptic seizures through eeg signals using classification algorithms based on t-distributed stochastic neighbor embedding and k-means,” Diagnostics, vol. 13, no. 11, pp. 1–24, 2023, doi: 10.3390/diagnostics13111957.
[17] P. Kunekar, M. K. Gupta, and P. Gaur, “Detection of epileptic seizure in eeg signals using machine learning and deep learning techniques,” J. Eng. Appl. Sci., vol. 71, no. 1, pp. 1–15, 2024, doi: 10.1186/s44147-023-00353-y.
[18] M. S. Hasan Talukder et al., “Comparative analysis of epileptic seizure prediction: exploring diverse pre-processing techniques and machine learning models,” 2023 10th IEEE Uttar Pradesh Sect. Int. Conf. Electr. Electron. Comput. Eng. UPCON 2023, pp. 712–719, 2023, doi: 10.1109/UPCON59197.2023.10434289.
[19] H. F. Atlam, G. E. Aderibigbe, and M. S. Nadeem, “Effective epileptic seizure detection with hybrid feature selection and smote-based data balancing using svm classifier,” Appl. Sci., vol. 15, no. 9, 2025, doi: 10.3390/app15094690.
[20] B. Deepa and K. Ramesh, “Epileptic seizure detection using deep learning through min max scaler normalization,” Int. J. Health Sci. (Qassim)., vol. 6, no. May, pp. 10981–10996, 2022, doi: 10.53730/ijhs.v6ns1.7801.
[21] O. Faust, U. R. Acharya, H. Adeli, and A. Adeli, “Wavelet-based eeg processing for computer-aided seizure detection and epilepsy diagnosis,” Seizure, vol. 26, pp. 56–64, 2015, doi: 10.1016/j.seizure.2015.01.012.
[22] M. A. Alsuwaiket, “Feature extraction of eeg signals for seizure detection using machine learning algorthims,” Eng. Technol. Appl. Sci. Res., vol. 12, no. 5, pp. 9247–9251, 2022, doi: 10.48084/etasr.5208.
[23] H. Hindarto and S. Sumarno, “Feature extraction of electroencephalography signals using fast fourier transform,” CommIT (Communication Inf. Technol. J., vol. 10, no. 2, p. 49, 2016, doi: 10.21512/commit.v10i2.1548.
[24] N. S. M. Nor, N. H. A. H. Malim, N. A. P. Rostam, J. Joshua Thomas, M. A. Effendy, and Z. Hassan, “Automated classification of eight different electroencephalogram (eeg) bands using hybrid of fast fourier transform (fft) with machine learning methods,” Neurosci. Res. Notes, vol. 5, no. 1, 2022, doi: 10.31117/neuroscirn.v5i1.116.
[25] N. K. Kit, H. U. Amin, K. H. Ng, J. Price, and A. R. Subhani, “EEG feature extraction based on fast fourier transform and wavelet analysis for classification of mental stress levels using machine learning,” Adv. Sci. Technol. Eng. Syst. J., vol. 8, no. 6, pp. 46–56, 2023, doi: 10.25046/aj080606.
[26] C. Hinchliffe, M. Yogarajah, S. Elkommos, H. Tang, and D. Abasolo, “Entropy measures of electroencephalograms towards the diagnosis of psychogenic non-epileptic seizures,” Entropy, vol. 24, no. 10, pp. 1–15, 2022, doi: 10.3390/e24101348.
[27] A. Ries, C. Chang, S. Glim, C. Meng, C. Sorg, and A. Wohlschläger, “Grading of frequency spectral centroid across resting-state networks,” Front. Hum. Neurosci., vol. 12, no. October, pp. 1–18, 2018, doi: 10.3389/fnhum.2018.00436.
[28] S. J. van Albada and P. A. Robinson, “Relationships between electroencephalographic spectral peaks across frequency bands,” Front. Hum. Neurosci., vol. 7, no. FEB, pp. 1–18, 2013, doi: 10.3389/fnhum.2013.00056.
[29] S. Liu et al., “EEG power spectral analysis of abnormal cortical activations during rem/nrem sleep in obstructive sleep apnea,” Front. Neurol., vol. 12, no. February, 2021, doi: 10.3389/fneur.2021.643855.
[30] S. Figueroa, O. L. Levionnois, and A. Mirra, “Quantitative variables derived from the electroencephalographic signal to assess depth of anaesthesia in animals: a narrative review,” Animals, vol. 15, no. 15, pp. 1–25, 2025, doi: 10.3390/ani15152285.
[31] W. Liang, J. Jin, R. Xu, X. Wang, and A. Cichocki, “Variance characteristic preserving common spatial pattern for motor imagery bci,” Front. Hum. Neurosci., vol. 17, no. November, pp. 1–13, 2023, doi: 10.3389/fnhum.2023.1243750.
[32] R. Bono, J. Arnau, R. Alarcón, and M. J. Blanca, “Bias, precision, and accuracy of skewness and kurtosis estimators for frequently used continuous distributions,” Symmetry (Basel)., vol. 12, no. 1, 2020, doi: 10.3390/SYM12010019.
[33] W.-A. RS and M. J. S. , Glen F. Rall, “乳鼠心肌提取 hhs public access,” J oncol transl res, vol. 176, no. 1, pp. 139–148, 2018, doi: 10.1016/j.eplepsyres.2021.106602.Delineation.
[34] A. Z. A. Zainuddin, W. Mansor, K. Y. Lee, and Z. Mahmoodin, “Performance of support vector machine in classifying eeg signal of dyslexic children using rbf kernel,” Indones. J. Electr. Eng. Comput. Sci., vol. 9, no. 2, pp. 403–409, 2018, doi: 10.11591/ijeecs.v9.i2.pp403-409.
[35] L. Ferrer, “Analysis and comparison of classification metrics,” pp. 1–36, 2023, [Online]. Available: http://arxiv.org/abs/2209.05355
[36] S. A. Hicks et al., “On evaluation metrics for medical applications of artificial intelligence,” Sci. Rep., vol. 12, no. 1, pp. 1–9, 2022, doi: 10.1038/s41598-022-09954-8.
Downloads
Published
Issue
Section
License
Copyright (c) 2026 National Research and Innovation Agency

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
Authors who publish with this journal agree to the following terms:
The copyright to this article is transferred to BRIN if and when the article is accepted for publication. The undersigned hereby transfers any and all rights in and to the paper including without limitation all copyrights to BRIN. The undersigned hereby represents and warrants that the paper is original and that he/she is the author of the paper, except for material that is clearly identified as to its original source, with permission notices from the copyright owners where required. The undersigned represents that he/she has the power and authority to make and execute this assignment. The copyright transfer form can be downloaded here.
The corresponding author signs for and accepts responsibility for releasing this material on behalf of any and all co-authors. This agreement is to be signed by at least one of the authors who have obtained the assent of the co-author(s) where applicable. After submission of this agreement signed by the corresponding author, changes of authorship or in the order of the authors listed will not be accepted.

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.


