Log in

Robust dimensionality-reduced epilepsy detection system using EEG wavelet packets and machine learning

  • Original Article
  • Published:
Research on Biomedical Engineering Aims and scope Submit manuscript

Abstract

Purpose

In response to the challenges in epileptic seizure detection arising from the high dimensionality of EEG signals and the localization of the epileptogenic focus, this paper presents a robust EEG-type-independent system designed to tackle these issues by means of wavelet packet features (WPF) and both supervised and unsupervised machine learning algorithms. Moreover, our study underscores the significance of mother wavelet selection to enhance accuracy and effectiveness in epilepsy detection.

Methods

The developed system consists of two complementary subsystems, namely the Representative EEG Channel Creator (RECC) and the Seizure Affected EEG Channel Detector (SAECD). The RECC utilizes WPF to generate representative channels from EEG signals, subsequently feeding them into an LDA classifier for epilepsy detection. If the RECC returns a positive result, the SAECD is then launched to track the seizure’s diffusion path using the Energy-to-Shannon-Entropy ratio and k-means clustering.

Results

Using db6 mother wavelet, the RECC achieved a high sensitivity of 98.46% for epileptic seizure identification with a significant reduction in EEG dimensionality with up to 93.75%. On the other hand, through the developed SAECD, we were able to circumscribe the epileptogenic area with an average silhouette range of [51.21\(-\)88.18]%.

Conclusion

The outcomes of the developed system are promising, confirming that epileptic seizures may indeed be detected within a few amount of data, providing evidence in terms of processing time and efficiency.

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

Access this article

Subscribe and save

Springer+ Basic
EUR 32.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or Ebook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8

Similar content being viewed by others

Data Availibility

The EEG data used in this study are publicly available from two repositories: the MIT-CHB database (https://physionet.org/content/chbmit/) and the Bonn database (https://www.ukbonn.de/epileptologie/arbeitsgruppen/ag-lehnertz-neurophysik/downloads/).

References

  • Aarabi A, Fazel-Rezai R, Aghakhani Y. A fuzzy rule-based system for epileptic seizure detection in intracranial EEG. Clin Neurophysiol. 2009;120(9):1648–57.

    Article  Google Scholar 

  • Adeli H, Zhou Z, Dadmehr N. Analysis of EEG records in an epileptic patient using wavelet transform. J Neurosci Methods. 2003;123(1):69–87.

    Article  Google Scholar 

  • Ahmadi A, Shalchyan V, Daliri MR (2017a) A new method for epileptic seizure classification in eeg using adapted wavelet packets. In: 2017 Electric Electronics, Computer Science, Biomedical Engineerings’ Meeting (EBBT), IEEE, pp 1–4

  • Ahmadi A, Shalchyan V, Daliri MR (2017b) A new method for epileptic seizure classification in EEG using adapted wavelet packets. In: 2017 Electric Electronics, Computer Science, Biomedical Engineerings’ Meeting (EBBT), IEEE, pp 1–4

  • Al-Ani A, Koprinska I, Naik G. Dynamically identifying relevant EEG channels by utilizing channels classification behaviour. Expert Syst Appl. 2017;83:273–82.

    Article  Google Scholar 

  • Alickovic E, Kevric J, Subasi A. Performance evaluation of empirical mode decomposition, discrete wavelet transform, and wavelet packed decomposition for automated epileptic seizure detection and prediction. Biomed Signal Process Control. 2018;39:94–102.

    Article  Google Scholar 

  • Amiri M, Aghaeinia H, Amindavar HR. Automatic epileptic seizure detection in EEG signals using sparse common spatial pattern and adaptive short-time Fourier transform-based synchrosqueezing transform. Biomed Signal Process Control. 2023;79(104):022.

    Google Scholar 

  • Andrzejak RG, Lehnertz K, Mormann F, et al. (2001) 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 64(6):061,907

  • Anila Glory H, Vigneswaran C, Shankar Sriram V (2020) Identification of suitable basis wavelet function for epileptic seizure detection using EEG signals. In: First International Conference on Sustainable Technologies for Computational Intelligence: Proceedings of ICTSCI 2019, Springer, pp 607–621

  • Arunkumar N, Kumar KR, Venkataraman V. Entropy features for focal EEG and non focal EEG. Journal Comput Sci. 2018;27:440–4.

    Article  Google Scholar 

  • Aydemir O, Ergün E. A robust and subject-specific sequential forward search method for effective channel selection in brain computer interfaces. J Neurosci Methods. 2019;313:60–7.

    Article  Google Scholar 

  • Bhattacharyya A, Pachori RB. A multivariate approach for patient-specific EEG seizure detection using empirical wavelet transform. IEEE Trans Biomed Eng. 2017;64(9):2003–15.

    Article  Google Scholar 

  • Charrad M, Ghazzali N, Boiteau V, et al. NbClust: an R package for determining the relevant number of clusters in a data set. J Stat Softw. 2014;61:1–36.

    Article  Google Scholar 

  • Chavan A, Kolte M. Optimal mother wavelet for EEG signal processing. International Journal of Advanced Research in Electrical, Electronics and Instrumentation Engineering. 2013;2(12):5959–63.

    Google Scholar 

  • Chen D, Wan S, **ang J, et al (2017) A high-performance seizure detection algorithm based on discrete wavelet transform (DWT) and EEG. PloS one 12(3):e0173,138

  • Chen Z, Lu G, **e Z, et al (2020) A unified framework and method for EEG-based early epileptic seizure detection and epilepsy diagnosis. IEEE Access 8:20,080–20,092

  • Coifman RR, Wickerhauser MV. Entropy-based algorithms for best basis selection. IEEE Trans Inf Theory. 1992;38(2):713–8.

    Article  Google Scholar 

  • Duun-Henriksen J, Kjaer TW, Madsen RE, et al. Channel selection for automatic seizure detection. Clin Neurophysiol. 2012;123(1):84–92.

    Article  Google Scholar 

  • Faul S, Marnane W. Dynamic, location-based channel selection for power consumption reduction in EEG analysis. Comput Methods Programs Biomed. 2012;108(3):1206–15.

    Article  Google Scholar 

  • Faul SD (2010) Dynamic channel selection to reduce computational burden in seizure detection. In: 2010 Annual international conference of the IEEE engineering in medicine and biology, IEEE, pp 6365–6368

  • Fisher RS. The new classification of seizures by the International League against Epilepsy 2017. Curr Neurol Neurosci Rep. 2017;17:1–6.

    Article  Google Scholar 

  • Fukunaga K. Introduction to statistical pattern recognition. Elsevier; 2013.

  • Gandhi T, Panigrahi BK, Anand S. A comparative study of wavelet families for EEG signal classification. Neurocomputing. 2011;74(17):3051–7.

    Article  Google Scholar 

  • Gardner AB, Krieger AM, Vachtsevanos G, et al. (2006) One-class novelty detection for seizure analysis from intracranial EEG. Journal of Machine Learning Research 7(6)

  • Grewal S, Gotman J. An automatic warning system for epileptic seizures recorded on intracerebral EEGs. Clin Neurophysiol. 2005;116(10):2460–72.

    Article  Google Scholar 

  • Grouven U, Bergel F, Schultz A. Implementation of linear and quadratic discriminant analysis incorporating costs of misclassification. Comput Methods Programs Biomed. 1996;49(1):55–60.

    Article  Google Scholar 

  • Gu Z, Yan G, Zhang J, et al. (2018) Automatic epilepsy detection based on wavelets constructed from data. IEEE Access 6:53,133–53,140

  • Gupta V, Pachori RB. Epileptic seizure identification using entropy of FBSE based EEG rhythms. Biomed Signal Process Control. 2019;53:101–569.

    Article  Google Scholar 

  • Gupta V, Bhattacharyya A, Pachori RB. Automated identification of epileptic seizures from eeg signals using FBSE-EWT method. Biomedical Signal Processing: Advances in Theory, Algorithms and Applications; 2020. pp. 157–79.

  • Hasnaoui LH, Djebbari A (2019) Discrete wavelet transform and sample entropy-based EEG dimensionality reduction for electroencephalogram classification. In: 2019 International Conference on Advanced Electrical Engineering (ICAEE), pp 1–6, https://doi.org/10.1109/ICAEE47123.2019.9015166

  • Hocepied G, Legros B, Van Bogaert P, et al. Early detection of epileptic seizures based on parameter identification of neural mass model. Comput Biol Med. 2013;43(11):1773–82.

    Article  Google Scholar 

  • Hunt EB, Marin J, Stone PJ (1966) Experiments in induction.

  • Joshi V, Pachori RB, Vijesh A. Classification of ictal and seizure-free EEG signals using fractional linear prediction. Biomed Signal Process Control. 2014;9:1–5.

    Article  Google Scholar 

  • Khan YU, Rafiuddin N, Farooq O (2012) Automated seizure detection in scalp EEG using multiple wavelet scales. In: 2012 IEEE international conference on signal processing, computing and control, IEEE, pp 1–5

  • Kira K, Rendell LA (1992) A practical approach to feature selection pp 249–256

  • Kononenko I (1994) Estimating attributes: analysis and extensions of relief. In: European conference on machine learning, Springer, pp 171–182

  • Krishnan PT, Balasubramanian P (2016) Automated EEG seizure detection based on S-transform. In: 2016 IEEE international conference on computational intelligence and computing research (ICCIC), IEEE, pp 1–5

  • Lachaux JP, Rudrauf D, Kahane P. Intracranial EEG and human brain map**. Journal of Physiology-Paris. 2003;97(4–6):613–28.

    Article  Google Scholar 

  • Lüders H, Comair YG (2001) Epilepsy surgery

  • Mallat SG (1987) A theory for multiresolution signal decomposition: the wavelet representation

  • Manjusha M, Harikumar R. Performance analysis of KNN classifier and K-means clustering for robust classification of epilepsy from EEG signals. In: 2016 International Conference on Wireless Communications. IEEE: Signal Processing and Networking (WiSPNET); 2016. p. 2412–6.

  • Mardini W, Yassein MMB, Al-Rawashdeh R, et al (2020) Enhanced detection of epileptic seizure using EEG signals in combination with machine learning classifiers. IEEE Access 8:24,046–24,055

  • Masoum M, Jamali S, Ghaffarzadeh N. Detection and classification of power quality disturbances using discrete wavelet transform and wavelet networks. IET Science, Measurement & Technology. 2010;4(4):193–205.

    Article  Google Scholar 

  • Moctezuma LA, Molinas M. Classification of low-density EEG for epileptic seizures by energy and fractal features based on EMD. J Biomed Res. 2020;34(3):180.

    Article  Google Scholar 

  • Moctezuma LA, Molinas M. EEG channel-selection method for epileptic-seizure classification based on multi-objective optimization. Front Neurosci. 2020;14:593.

    Article  Google Scholar 

  • Mormann F, Andrzejak RG, Elger CE, et al. Seizure prediction: the long and winding road. Brain. 2007;130(2):314–33.

    Article  Google Scholar 

  • Ngui WK, Leong MS, Hee LM, et al. Wavelet analysis: mother wavelet selection methods. Appl Mech Mater. 2013;393:953–8.

    Article  Google Scholar 

  • Osorio I, Frei MG, Wilkinson SB. Real-time automated detection and quantitative analysis of seizures and short-term prediction of clinical onset. Epilepsia. 1998;39(6):615–27.

    Article  Google Scholar 

  • Prabhakar SK, Rajaguru H (2018) Adaboost classifier with dimensionality reduction techniques for epilepsy classification from EEG. In: Precision Medicine Powered by pHealth and Connected Health: ICBHI 2017, Thessaloniki, Greece, 18-21 November 2017, Springer, pp 185–189

  • Qu H, Gotman J. A seizure warning system for long-term epilepsy monitoring. Neurology. 1995;45(12):2250–4.

    Article  Google Scholar 

  • Rafiee J, Rafiee M, Prause N, et al. Wavelet basis functions in biomedical signal processing. Expert Syst Appl. 2011;38(5):6190–201.

    Article  Google Scholar 

  • Razi KF, Schmid A. Epileptic seizure detection with patient-specific feature and channel selection for low-power applications. IEEE Trans Biomed Circuits Syst. 2022;16(4):626–35. https://doi.org/10.1109/TBCAS.2022.3188966.

    Article  Google Scholar 

  • Robnik-Šikonja M, Kononenko I, et al (1997) An adaptation of relief for attribute estimation in regression. In: Machine learning: Proceedings of the fourteenth international conference (ICML’97), Citeseer, pp 296–304

  • Salankar N, Nemade SB, Gaikwad VP. Classification of seizure and seizure free EEG signals using optimal mother wavelet and relative power. Indonesian Journal of Electrical Engineering and Computer Science (IJEECS). 2020;20(1):197–205.

    Article  Google Scholar 

  • Sayilgan E, Yuce Y, Isler Y. Investigating the effect of flickering frequency pair and mother wavelet selection in steady-state visually-evoked potentials on two-command brain-computer interfaces. IRBM. 2022;43(6):594–603.

    Article  Google Scholar 

  • Serna JA, Paternina MRA, Zamora-Méndez A, et al. EEG-rhythm specific Taylor-Fourier filter bank implemented with o-splines for the detection of epilepsy using EEG signals. IEEE Sens J. 2020;20(12):6542–51.

    Article  Google Scholar 

  • 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.

    Article  Google Scholar 

  • Shen M, Wen P, Song B, et al. An EEG based real-time epilepsy seizure detection approach using discrete wavelet transform and machine learning methods. Biomed Signal Process Control. 2022;77(103):820.

    Google Scholar 

  • Singh K, Malhotra J (2022) Smart neurocare approach for detection of epileptic seizures using deep learning based temporal analysis of EEG patterns. Multimedia Tools and Applications pp 1–32

  • Solaija MSJ, Saleem S, Khurshid K, et al. (2018) Dynamic mode decomposition based epileptic seizure detection from scalp EEG. IEEE Access 6:38,683–38,692

  • Song JL, Li Q, Zhang B, et al. A new neural mass model driven method and its application in early epileptic seizure detection. IEEE Trans Biomed Eng. 2019;67(8):2194–205.

    Google Scholar 

  • Song Y, Liò P, et al. A new approach for epileptic seizure detection: sample entropy based feature extraction and extreme learning machine. J Biomed Sci Eng. 2010;3(06):556.

    Article  Google Scholar 

  • Torres-García AA, Reyes-García CA, Villaseñor-Pineda L, et al. Implementing a fuzzy inference system in a multi-objective EEG channel selection model for imagined speech classification. Expert Syst Appl. 2016;59:1–12.

    Article  Google Scholar 

  • Tzimourta KD, Astrakas LG, Tsipouras MG, et al (2017) Wavelet based classification of epileptic seizures in EEG signals. In: 2017 IEEE 30th International Symposium on Computer-Based Medical Systems (CBMS), IEEE, pp 35–39

  • Upadhyay R, Manglick A, Reddy DK, et al. Channel optimization and nonlinear feature extraction for electroencephalogram signals classification. Comput Electr Eng. 2015;45:222–34.

  • **a DF, Xu SL, Qi F (1999) A proof of the arithmetic mean-geometric mean-harmonic mean inequalities. RGMIA research report collection 2(1)

  • Yang Q, Wang J. Multi-level wavelet Shannon Entropy-based method for single-sensor fault location. Entropy. 2015;17(10):7101–17.

    Article  MathSciNet  Google Scholar 

  • Zabihi M, Kiranyaz S, Rad AB, et al. Analysis of high-dimensional phase space via Poincaré section for patient-specific seizure detection. IEEE Trans Neural Syst Rehabil Eng. 2015;24(3):386–98.

    Article  Google Scholar 

  • Zhang T, Chen W, Li M. Classification of inter-ictal and ictal EEGs using multi-basis MODWPT, dimensionality reduction algorithms and LS-SVM: a comparative study. Biomed Signal Process Control. 2019;47:240–51.

    Article  Google Scholar 

  • Zhang Y, Xu G, Wang J, et al. An automatic patient-specific seizure onset detection method in intracranial EEG based on incremental nonlinear dimensionalityreduction. Comput Biol Med. 2010;40(11–12):889–99.

    Article  Google Scholar 

  • Zhang Y, Yang S, Liu Y, et al. Integration of 24 feature types to accurately detect and predict seizures using scalp EEG signals. Sensors. 2018;18(5):1372.

    Article  Google Scholar 

  • Zubair M, Belykh MV, Naik MUK, et al. Detection of epileptic seizures from EEG signals by combining dimensionality reduction algorithms with machine learning models. IEEE Sens J. 2021;21(15):16861–9.

    Article  Google Scholar 

Download references

Acknowledgements

The authors thank the Directorate General of Scientific Research and Technological Development (Direction Générale de la Recherche Scientifique et du Développement Technologique, DGRSDT, URL: www.dgrsdt.dz, Algeria) for their financial support.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Abdelghani Djebbari.

Ethics declarations

Conflict of interest

The authors declare no competing interests.

Rights and permissions

Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Hasnaoui, L.H., Djebbari, A. Robust dimensionality-reduced epilepsy detection system using EEG wavelet packets and machine learning. Res. Biomed. Eng. (2024). https://doi.org/10.1007/s42600-024-00355-6

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1007/s42600-024-00355-6

Keywords

Navigation