Skip to main content

Classification of EEG Signal Based on Pre-Trained 2D CNN Model for Epilepsy Detection

  • Conference paper
  • First Online:
Digital Technologies and Applications (ICDTA 2023)

Part of the book series: Lecture Notes in Networks and Systems ((LNNS,volume 668))

Included in the following conference series:

  • 672 Accesses

Abstract

Epilepsy is a chronic neurological disease due to extreme electric discharge in the brain. Epileptic seizures gravely affect the social life and psychology of patients, knowing the lack of neurologists and the fact that analyzing EEG signals is time-consuming and must be done by an expert; therefore, it is important to correctly diagnose patients with epilepsy automatically.

In this work, we start with preprocessing raw EEG data, and we extract the spectrogram of every channel. In the next step, we propose an image category classification method that combines the extractor of the feature pattern, which is AlexNet, which is a pretrained convolutional neural network (CNN), with a trainable classifier support vector machine (SVM). Alex-Net passed the feature vectors to the SVM. The spectrogram images that we extracted are used as the input layer. The number of classes is two: one for normal cases and the second for epileptic cases. We split the training and test samples. Finally, spectrogram images are trained by many classifiers, and we find that the SVM in this study had the best mean accuracy, reaching 97.52%, which means that this model is effective for epilepsy classification.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 229.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 299.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. The World Health Organization https://www.who.int/detail/epilepsy. Accessed 01 Oct 2022

  2. Omerhodzic, I., Avdakovic, S., Nuhanovic, A.: Energy distribution of EEG Signal Components by wavelet transform (2012)

    Google Scholar 

  3. Nain, N., Vipparthi, S,.K., Raman, ‏B.: Computer vision and image processing. In: 4th International conference. Edition P309 (2020)

    Google Scholar 

  4. Wani, A., Bhat, F.: Advances in Deep Learning, p. 13 (2020)

    Google Scholar 

  5. Wani, M.A., et al.: Advances in Deep Learning, p. 57 (2020)

    Google Scholar 

  6. Vedaldi, A., Bischof, ‏H.: Computer vision. in: 16th European Conference, p. 413 (2020)

    Google Scholar 

  7. Wilson, M.D.: Support vector machines. In: Encyclopedia of Ecology (2008)

    Google Scholar 

  8. Zappos, I.S., Dondi, R.: Kernel methods: support vector machines. In: Encyclopedia of Bioinformatics and Computational Biology (2019

    Google Scholar 

  9. Gopi, E.: Digital signal processing for medical imaging using Matlab (2012)

    Google Scholar 

  10. Zhu, G.: Epileptogenic focus detection in intracranial EEG based on delay permutation entropy. In: AIP Conference, pp. 31–36 (2013)

    Google Scholar 

  11. Sharma, R.: Application of entropy measures on intrinsic mode functions for the automated classification EEG (2015)

    Google Scholar 

  12. Das, A., Huiyan, B.: Discrimination, and classification of the focal and non-focal seizure (2016)

    Google Scholar 

  13. Acharya, U.: Deep convolutional neural network for the automated detection of epilepsy. In: Computers in Biology and Medicine (2017)

    Google Scholar 

  14. Sun, W., Zhong, H.: An efficient unconstrained facial expression recognition algorithm based on stack binarized auto-encoders and binarized neural networks (2017)

    Google Scholar 

  15. Basul, J.K., Charyya, D.B., Kim, T.H.: Use of artificial neural network in pattern recognition. In: Computer Science and Engineering Department Heritage Institute of Tec (2017)

    Google Scholar 

  16. Suen, L., Suen, C.Y., Bloch, G.: A Trainable Feature Extractor for Handwritten recognition, pp. 1816–1824. Elsevier, Amsterdam (2007)

    Google Scholar 

  17. Lecun, Y.: Gradient-based learning applied to document recognition, vol. 86, no. 1 pp. 2278–2324. IEEE (1998)

    Google Scholar 

  18. Matlab Academy. https://matlabacademy.mathworks.com/details/machine-learning-onramp/machinelearning. Accessed 20 Nov 2022

  19. Matlab Academy. https://matlabacademy.mathworks.com/details/deep-learning-onramp/deeplearning. Accessed 20 Nov 2022

  20. Swamynathan, M.: Mastering machine learning with python in six steps a practical implementation guide to predictive data analytics using python (2019)

    Google Scholar 

  21. Swersky, K.: Multi-task bayesian optimization. In: NIPS 2013, vol. 2, pp. 2004–2012 (2013)

    Google Scholar 

  22. Yang, S.: Deep representation learning with target coding. In: Proceedings of AAAI 29th In Conference on Artificial Intelligence, pp. 3848–3854. (2015)

    Google Scholar 

  23. Kim, P.: MATLAB deep learning with machine learning, neural networks and artificial intelligence (2017)

    Google Scholar 

  24. Edderbali, F., Harmouchi, M., Essoukaki, E.: Epilepsy detecting based on eeg signal decomposition using wavelet transform. SSRN: https://ssrn.com/abstract=4213055 or https://doi.org/10.2139/ssrn.4213055

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Fatima Edderbali .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Edderbali, F., Harmouchi, M., Essoukaki, E. (2023). Classification of EEG Signal Based on Pre-Trained 2D CNN Model for Epilepsy Detection. In: Motahhir, S., Bossoufi, B. (eds) Digital Technologies and Applications. ICDTA 2023. Lecture Notes in Networks and Systems, vol 668. Springer, Cham. https://doi.org/10.1007/978-3-031-29857-8_100

Download citation

Publish with us

Policies and ethics