Wavelet based deep learning approach for epilepsy detection

  • Rohan AkutEmail author


Electroencephalogram (EEG) signal contains vital details regarding electrical actions performed by the brain. Analysis of these signals is important for epilepsy detection. However, analysis of these signals can be tricky in nature and requires human expertise. The human factor can result in subjective and possible erroneous epilepsy detection. To tackle this problem, Machine Learning (ML) algorithms were introduced, to remove the human factor. However, this approach is counterintuitive in nature as it involves using complex features for epilepsy detection. Hence to tackle this problem we have introduced a wavelet based deep learning approach which eliminates the need of feature extraction and also performs significantly better on smaller datasets compared to the present state of the art ML algorithms. To test the robustness of our model we have performed a binary (2-way) and ternary (3-way) classification using our model. It is found that the model is much more accurate than the present state of the art models and since it uses deep learning it also eliminates the need of feature extraction.


Convolutional neural network (CNN) Discrete wavelet transform (DWT) Electroencephalogram (EEG) Epilepsy detection Multi class classification 



  1. 1.
    Shakeel PM, Baskar S, Dhulipala VS, Jaber MM. Cloud based framework for diagnosis of diabetes mellitus using k-means clustering. Health Inf Sci Syst. 2018;6(1):16.CrossRefGoogle Scholar
  2. 2.
    Deniz Erkan, Şengür Abdulkadir, Kadiroğlu Zehra, Guo Yanhui, Bajaj Varun, Budak Ümit. Transfer learning based histopathologic image classification for breast cancer detection. Health Inf Sci Syst. 2018;6(1):18.CrossRefGoogle Scholar
  3. 3.
    Budak U, Şengür A, Guo Y, Akbulut Y. A novel microaneurysms detection approach based on convolutional neural networks with reinforcement sample learning algorithm. Health Inf Sci Syst. 2017;5(1):14.CrossRefGoogle Scholar
  4. 4.
    Liu Y, Zhou W, Yuan Q, Chen S. Automatic seizure detection using wavelet transform and SVM in long-term intracranial EEG. IEEE Trans Neural Syst Rehabil Eng. 2012;20:749–55.CrossRefGoogle Scholar
  5. 5.
    Sharmila A, Geethanjali P. DWT based detection of epileptic seizure from EEG signals using naive bayes and k-nn classifiers. Ieee Access. 2016;4:7716–27.CrossRefGoogle Scholar
  6. 6.
    Gandhi TK, Chakraborty P, Roy GG, Panigrahi BK. Discrete harmony search based expert model for epileptic seizure detection in electroencephalography. Expert Syst Appl. 2012;39(4):4055–62.CrossRefGoogle Scholar
  7. 7.
    Acharya UR, Fujita H, Sudarshan VK, Bhat S, Koh JE. Application of entropies for automated diagnosis of epilepsy using eeg signals: a review. Knowl Based Syst. 2015;88:85–96.CrossRefGoogle Scholar
  8. 8.
    Xiang J, Li C, Li H, Cao R, Chen J. The detection of epileptic seizure signals based on fuzzy entropy. J Neurosci Methods. 2015;243:18–25.CrossRefGoogle Scholar
  9. 9.
    Chen G. Automatic eeg seizure detection using dualtree complex wavelet-fourier features. Expert Syst with Appl. 2014;41(5):2391–4.CrossRefGoogle Scholar
  10. 10.
    Taran S, Bajaj V, Siuly S. An optimum allocation sampling based feature extraction scheme for distinguishing seizure and seizure-free eeg signals. Health Inf Sci Syst. 2017;5(1):7.CrossRefGoogle Scholar
  11. 11.
    Acharya UR, Oh SL, Hagiwara Y, Tan J-H, Adeli H. Deep convolutional neural network for the automated detection and diagnosis of seizure using EEG signals. Comput Biol Med. 2017;100:270–8.CrossRefGoogle Scholar
  12. 12.
    Tzallas AT, Tsipouras MG, Fotiadis DI. Epileptic seizure detection in EEGs using time–frequency analysis. IEEE Trans Inf Technol Biomed. 2009;13(5):703–10.CrossRefGoogle Scholar
  13. 13.
    Polat K, Gunes S. Artificial immune recognition system with fuzzy resource allocation mechanism classifier, principal component analysis and FFT method based new hybrid automated identification system for classification of eeg signals. Expert Syst Appl. 2008;34(3):2039–48.CrossRefGoogle Scholar
  14. 14.
    Khan Y, Gotman J. Wavelet based automatic seizure detection in intracerebral electroencephalogram. Clin Neurophysiol. 2003;114(5):898–908.CrossRefGoogle Scholar
  15. 15.
    Adeli H, Ghosh-Dastidar S, Dadmehr N. A wavelet-chaos methodology for analysis of EEGs and EEG subbands to detect seizure and epilepsy. IEEE Trans Biomed Eng. 2007;54(2):205–11.CrossRefGoogle Scholar
  16. 16.
    Avdakovic S, Omerhodzic I, Badnjevic A, Boskovic D. Diagnosis of epilepsy from eeg signals using global wavelet power spectrum. In: 6th European Conference of the International Federation for Medical and Biological Engineering. New York, Springer, 2015. P. 481–484.Google Scholar
  17. 17.
    Al Ghayab HR, Li Y, Siuly S, Abdulla S. A feature extraction technique based on tunable q-factor wavelet transform for brain signal classification. J Neurosci Methods. 2019;312:43–52.CrossRefGoogle Scholar
  18. 18.
    Al Ghayab HR, Li Y, Siuly S, Abdulla S. Epileptic seizures detection in EEGs blending frequency domain with information gain technique. Soft Comput. 2019;23(1):227–39.CrossRefGoogle Scholar
  19. 19.
    Siuly S, Alcin OF, Bajaj V, Sengur A, Zhang Y. Exploring hermite transformation in brain signal analysis for the detection of epileptic seizure. IET Sci Meas Technol. 2018;13(1):35–41.CrossRefGoogle Scholar
  20. 20.
    Kabir E, Siuly S, Cao J, Wang H. A computer aided analysis scheme for detecting epileptic seizure from eeg data. Int J Comput Intell Syst. 2018;11(1):663–71.CrossRefGoogle Scholar
  21. 21.
    Supriya S, Siuly S, Zhang Y. Automatic epilepsy detection from eeg introducing a new edge weight method in the complex network. Electron Lett. 2016;52(17):1430–2.CrossRefGoogle Scholar
  22. 22.
    Supriya S, Siuly S, Wang H, Cao J, Zhang Y. Weighted visibility graph with complex network features in the detection of epilepsy. IEEE Access. 2016;4:6554–66.CrossRefGoogle Scholar
  23. 23.
    Andrzejak RG, Lehnertz K, Mormann F, Rieke C, David P, Elger CE. Indications of nonlinear deterministic and finite-dimensional structures in time series of brain electrical activity: dependence on recording region and brain state. Phys Rev E. 2001;64(6):061907.CrossRefGoogle Scholar
  24. 24.
    Peker M, Sen B, Delen D. A novel method for automated diagnosis of epilepsy using complex-valued classifiers. IEEE J Biomed Health Inform. 2016;20:108–18.CrossRefGoogle Scholar
  25. 25.
    Orosco L, Laciar E, Correa AGG, Torres A, Graffigna JP. An epileptic seizures detection algorithm based on the empirical mode decomposition of EEG. In: 2009 annual international conference of the IEEE engineering in medicine and biology society; 2009. P. 2651–2654. IEEE.Google Scholar
  26. 26.
    Srinivasan V, Eswaran C, Sriraam N. Approximate entropy-based epileptic eeg detection using artificial neural networks. IEEE Trans Inf Technol Biomed. 2007;11(3):288–95.CrossRefGoogle Scholar
  27. 27.
    Kumar Y, Dewal M, Anand R. Epileptic seizures detection in eeg using dwt-based apen and artificial neural network. Signal Image Video Process. 2014;8(7):1323–34.CrossRefGoogle Scholar
  28. 28.
    Kallenberg M, Petersen K, Nielsen M, Ng AY, Diao P, Igel C, Vachon CM, Holland K, Winkel RR, Karssemeijer N, et al. Unsupervised deep learning applied to breast density segmentation and mammographic risk scoring. IEEE Trans Med Imaging. 2016;35(5):1322–31.CrossRefGoogle Scholar
  29. 29.
    Hung S-L, Adeli H. Parallel backpropagation learning algorithms on cray y-mp8/864 supercomputer. Neurocomputing. 1993;5(6):287–302.CrossRefGoogle Scholar
  30. 30.
    Kumari RSS, Jose JP. Seizure detection in EEG using time frequency analysis and SVM. In: 2011 international conference on emerging trends in electrical and computer technology; 2011. P. 626–630. IEEE.Google Scholar
  31. 31.
    Al-Kadi MI, Reaz M, Ali MM. Compatibility of mother wavelet functions with the electroencephalographic signal. In: 2012 IEEE-EMBS conference on biomedical engineering and sciences; 2012. P. 113–117. IEEE.Google Scholar
  32. 32.
    Fu K, Qu J, Chai Y, Zou T. Hilbert marginal spectrum analysis for automatic seizure detection in eeg signals. Biomed Signal Process Control. 2015;18:179–85.CrossRefGoogle Scholar
  33. 33.
    Hassan AR, Siuly S, Zhang Y. Epileptic seizure detection in eeg signals using tunable-q factor wavelet transform and bootstrap aggregating. Comput Methods Prog Biomed. 2016;137:247–59.CrossRefGoogle Scholar
  34. 34.
    Samiee K, Kovacs P, Gabbouj M. Epileptic seizure classification of eeg time-series using rational discrete short-time fourier transform. IEEE Trans Biomed Eng. 2015;62(2):541–52.CrossRefGoogle Scholar
  35. 35.
    Jaiswal AK, Banka H. Local pattern transformation based feature extraction techniques for classification of epileptic EEG signals. Biomed Signal Process Control. 2017;34:81–92.CrossRefGoogle Scholar
  36. 36.
    Wang L, Xue W, Li Y, Luo M, Huang J, Cui W, Huang C. Automatic epileptic seizure detection in eeg signals using multi-domain feature extraction and nonlinear analysis. Entropy. 2017;19(6):222.CrossRefGoogle Scholar
  37. 37.
    Acharya UR, Sree SV, Ang PCA, Yanti R, Suri JS. Application of non-linear and wavelet based features for the automated identification of epileptic eeg signals. Int J Neural Syst. 2012;22(02):1250002.CrossRefGoogle Scholar
  38. 38.
    Acharya UR, Sree SV, Alvin APC, Suri JS. Use of principal component analysis for automatic classification of epileptic eeg activities in wavelet framework. Expert Syst Appl. 2012;39(10):9072–8.CrossRefGoogle Scholar
  39. 39.
    Gajic D, Djurovic Z, Gligorijevic J, Di Gennaro S, Savic-Gajic I. Detection of epileptiform activity in eeg signals based on time-frequency and non-linear analysis. Front Comput Neurosci. 2015;9:38.CrossRefGoogle Scholar
  40. 40.
    Tzimourta KD, Tzallas AT, Giannakeas N, Astrakas LG, Tsalikakis DG, Angelidis P, Tsipouras MG. A robust methodology for classification of epileptic seizures in EEG signals. Health Technol. 2019;9(2):135–42.CrossRefGoogle Scholar

Copyright information

© Springer Nature Switzerland AG 2019

Authors and Affiliations

  1. 1.Department of Electronics and TelecommunicationMITCOEPuneIndia

Personalised recommendations