Submitted:
11 October 2023
Posted:
13 October 2023
You are already at the latest version
Abstract
Keywords:
1. Introduction
1.1. Contribution
2. Related Work
3. Proposed Method
3.1. Windowing
3.2. Continuous Wavelet Transformation (CWT)
3.3. Convolutional Autoencoder
3.3.1. Encoder
3.3.2. Decoder
3.4. Principal Component Analysis
3.5. Statistical Features
3.6. Hybrid Features Pool
3.7. Long-Short Term Memory
4. Performance Evaluation
4.1. Meta Data
- True Positive (TP): Instances confirmed to be positive.
- True Negative (TN): Instances confirmed to be negative.
- False Positive (FP): Instances incorrectly identified as positive.
- False Negative (FN): Positive instances mistakenly identified as negative.
- • Binary Classification: N–S, Z–S, O–S, F–S, FN–S, FNZ–S, FNO–S, NOZ–S.
- • Three-Class Classification: F–O–S, N–Z–S, O–Z–S, FN–OZ–S.
- • Four-Class Classification: F–O–Z–S, N–O–Z–S.
- • Five-Class Classification: F–N–O–Z–S.
4.2. Binary Classification
4.3. Three-Class Classification
4.4. Four-Class Cassification
4.5. Five-Class Cassification
4.6. Comparison
5. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- Kuhlmann, L.; Lehnertz, K.; Richardson, M.P.; Schelter, B.; Zaveri, H.P. Seizure prediction—ready for a new era. Nat. Rev. Neurol. 2018, 14, 618–630. [Google Scholar] [CrossRef]
- Liu, T.; Shah, M.Z.H.; Yan, X.; Yang, D. Unsupervised feature representation based on deep boltzmann machine for seizure detection. IEEE Trans. Neural Syst. Rehabil. Eng. 2023, 31, 1624–1634. [Google Scholar] [CrossRef]
- Ahmad, I.; Wang, X.; Javeed, D.; Kumar, P.; Samuel, O.W.; Chen, S. A hybrid deep learning approach for epileptic seizure detection in eeg signals. IEEE J. Biomed. Health Inform. 2023. [Google Scholar] [CrossRef]
- Zhu, G.; Li, Y.; Wen, P.; Wang, S. Classifying epileptic eeg signals with delay permutation entropy and multi-scale k-means. Signal Image Anal. Biomed. Life Sci. 2015, 823, 143–157. [Google Scholar]
- Raeisi, K.; Khazaei, M.; Croce, P.; Tamburro, G.; Comani, S.; Zappa- sodi, F. A graph convolutional neural network for the automated detection of seizures in the neonatal eeg. Comput. Methods Programs Biomed. 2022, 222, 106950. [Google Scholar] [CrossRef] [PubMed]
- Akyol, K. Stacking ensemble based deep neural networks modeling for effective epileptic seizure detection. Expert Syst. Appl. 2020, 148, 113239. [Google Scholar] [CrossRef]
- da Silva Lourenc, C.; Tjepkema-Cloostermans, M.C.; van Putten, M.J. Machine learning for detection of interictal epileptiform dis- charges. Clin. Neurophysiol. 2021, 132, 1433–1443. [Google Scholar] [CrossRef] [PubMed]
- Yazid, M.; Fahmi, F.; Sutanto, E.; Shalannanda, W.; Shoalihin, R.; Horng, G.-J.; et al. Simple detection of epilepsy from eeg signal using local binary pattern transition histogram. IEEE Access 2021, 9, 252–267. [Google Scholar] [CrossRef]
- AMalekzadeh; Zare, A. ; Yaghoobi, M.; Kobravi, H.-R.; Al- izadehsani, R. Epileptic seizures detection in eeg signals using fusion handcrafted and deep learning features. Sensors 2021, 21, 7710. [Google Scholar] [CrossRef] [PubMed]
- Qureshi, M.B.; Afzaal, M.; Qureshi, M.S.; Fayaz, M. Machine learning-based eeg signals classification model for epileptic seizure detection. Multimed. Tools Appl. 2021, 80, 849–877. [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–7727. [Google Scholar] [CrossRef]
- Beeraka, S.M.; Kumar, A.; Sameer, M.; Ghosh, S.; Gupta, B. Accuracy enhancement of epileptic seizure detection: a deep learning approach with hardware realization of stft. Circuits Syst. Signal Process. 2022, 41, 461–484. [Google Scholar] [CrossRef]
- Omidvar, M.; Zahedi, A.; Bakhshi, H. Eeg signal processing for epilepsy seizure detection using 5-level db4 discrete wavelet transform, ga-based feature selection and ann/svm classifiers. J. Ambient. Intell. Humaniz. Comput. 2021, 12, 1–9. [Google Scholar] [CrossRef]
- Jana, G.C.; Agrawal, A.; Pattnaik, P.K.; Sain, M. Dwt-emd feature level fusion based approach over multi and single channel eeg signals for seizure detection. Diagnostics 2022, 12, 324. [Google Scholar] [CrossRef] [PubMed]
- Adaptive boost ls-svm classification approach for time-series signal classification in epileptic seizure diagnosis applications. Expert Syst. Appl. 2020, 161, 113676. [CrossRef]
- Epileptic seizure identification using entropy of fbse based eeg rhythms. Biomedical Signal Processing and Control 2019, 53, 101569.
- Na, J.; Wang, Z.; Lv, S.; Xu, Z. An extended k nearest neighbors- based classifier for epilepsy diagnosis. IEEE Access 2021, 9, 910–923. [Google Scholar] [CrossRef]
- Epileptic seizure detection based on new hybrid models with electroen- cephalogram signals. IRBM 2020, 41, 331–353. [CrossRef]
- Miltiadous, A.; Tzimourta, K.D.; Giannakeas, N.; Tsipouras, M.G.; Glavas, E.; Kalafatakis, K.; Tzallas, A.T. Machine learning al- gorithms for epilepsy detection based on published eeg databases: A systematic review. IEEE Access 2023, 11, 564–594. [Google Scholar] [CrossRef]
- Time-frequency analysis methods and their application in developmen- tal eeg data. Dev. Cogn. Neurosci. 2022, 54, 101067. [CrossRef]
- Li, M.; Sun, X.; Chen, W.; Jiang, Y.; Zhang, T. Classification epileptic seizures in eeg using time-frequency image and block texture features. IEEE Access 2020, 8, 9770–9781. [Google Scholar] [CrossRef]
- Mandhouj, B.; Cherni, M.A.; Sayadi, M. An automated classification of eeg signals based on spectrogram and cnn for epilepsy diagnosis. Analog. Integr. Circuits Signal Process. 2021, 108, 101–110. [Google Scholar] [CrossRef]
- Akin, M. Comparison of wavelet transform and fft methods in the analysis of eeg signals. J. Med. Syst. 2002, 26, 241–247. [Google Scholar] [CrossRef] [PubMed]
- Chiang, H.-S.; Chen, M.-Y.; Huang, Y.-J. Wavelet-based eeg pro- cessing for epilepsy detection using fuzzy entropy and associative petri net. IEEE Access 2019, 7, 255–262. [Google Scholar] [CrossRef]
- Zubair, M.; Belykh, M.V.; Naik, M.U.K.; Gouher, M.F.M.; Vish- wakarma, S.; Ahamed, S.R.; Kongara, R. Detection of epileptic seizures from eeg signals by combining dimensionality reduction algo- rithms with machine learning models. IEEE Sens. J. 2021, 21, 861–869. [Google Scholar] [CrossRef]
- Piho, L.; Tjahjadi, T. A mutual information based adaptive window- ing of informative eeg for emotion recognition. IEEE Trans. Affect. Comput. 2020, 11, 722–735. [Google Scholar] [CrossRef]
- Yang, X.; Zhao, J.; Sun, Q.; Lu, J.; Ma, X. An effective dual self- attention residual network for seizure prediction. IEEE Trans. Neural Syst. Rehabil. Eng. 2021, 29, 1604–1613. [Google Scholar] [CrossRef]
- Shankar, A.; Dandapat, S.; Barma, S. Seizure types classification by generating input images with in-depth features from decomposed eeg signals for deep learning pipeline. IEEE J. Biomed. Health Inform. 2022, 26, 4903–4912. [Google Scholar] [CrossRef]
- Humairani, A.; Rizal, A.; Wijayanto, I.; Hadiyoso, S.; Fuadah, Y.N. Wavelet-based entropy analysis on eeg signal for detecting seizures. In 2022 10th International Conference on Information and Communication Technology (ICoICT), 2022; pp. 93–98.
- Shuvo, S.B.; Ali, S.N.; Swapnil, S.I.; Hasan, T.; Bhuiyan, M.I.H. A lightweight cnn model for detecting respiratory diseases from lung auscultation sounds using emd-cwt-based hybrid scalogram. IEEE J. Biomed. Health Inform. 2021, 25, 2595–2603. [Google Scholar] [CrossRef]
- Bu, R. An algorithm for the continuous morlet wavelet transform. Mechanical Systems and Signal Processing 2007, 21, 2970–2979. [Google Scholar]
- Theis, L.; Shi, W.; Cunningham, A.; Husza, F. Lossy image compres- sion with compressive autoencoders. arXiv 2017, arXiv:1703.00395. [Google Scholar]
- Balle, J.; Laparra, V.; Simoncelli, E.P. End-to-end optimized image compression. arXiv 2016, arXiv:1611.01704. [Google Scholar]
- Lu, J.; Verma, N.; Jha, N.K. Convolutional autoencoder-based transfer learning for multi-task image inferences. IEEE Trans. Emerg. Top. Comput. 2021, 10, 1045–1057. [Google Scholar] [CrossRef]
- Metzner, C.; Schilling, A.; Traxdorf, M.; Schulze, H.; Tziridis, K.; Krauss, P. Extracting continuous sleep depth from eeg data without machine learning. Neurobiol. Sleep Circadian Rhythm. 2023, 14, 100097. [Google Scholar] [CrossRef]
- Ashraf, M.; Anowar, F.; Setu, J.H.; Chowdhury, A.I.; Ahmed, E.; Islam, A.; Al-Mamun, A. A survey on dimensionality reduction techniques for time-series data. IEEE Access 2023, 11, 909–923. [Google Scholar] [CrossRef]
- Ataee, P.; Yazdani, A.; Setarehdan, S.K.; Noubari, H.A. Manifold learning applied on eeg signal of the epileptic patients for detection of normal and pre-seizure states. In 2007 29th Annual International Conference of the IEEE Engineering in Medicine and Biology Society; IEEE: 2007; pp. 5489–5492.
- Bird, J.J.; Manso, L.J.; Ribeiro, E.P.; Ekart, A.; Faria, D.R. A study on mental state classification using eeg-based brain-machine interface. In 2018 international conference on intelligent systems (IS); IEEE: 2018; pp. 795–800.
- Rabby, M.K.M.; Eshun, R.B.; Belkasim, S.; Islam, A.K. Epileptic seizure detection using eeg signal based lstm models. In 2021 IEEE Fourth International Conference on Artificial Intelligence and Knowl- edge Engineering (AIKE); 2021; pp. 131–132.
- Andrzejak, R.G.; Lehnertz, K.; Mormann, F.; Rieke, C.; David, P.; Elger, C.E. 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, 061907. [Google Scholar] [CrossRef]
- Kabir, E.; Siuly; Cao, J. ; Wang, H. A computer aided analysis scheme for detecting epileptic seizure from eeg data. Int. J. Comput. Intell. Syst. 2018, 11, 663–671. [Google Scholar] [CrossRef]
- Zarei, A.; Asl, B.M. Automatic seizure detection using orthogonal matching pursuit, discrete wavelet transform, and entropy based features of eeg signals. Comput. Biol. Med. 2021, 131, 104250. [Google Scholar] [CrossRef] [PubMed]
- Wang, X.; Gong, G.; Li, N. Automated recognition of epileptic eeg states using a combination of symlet wavelet processing, gradient boosting machine, and grid search optimizer. Sensors 2019, 19, 219. [Google Scholar] [CrossRef] [PubMed]
- Yazid, M.; Fahmi, F.; Sutanto, E.; Shalannanda, W.; Shoalihin, R.; Horng, G.-J. Simple detection of epilepsy from eeg signal using local binary pattern transition histogram. IEEE Access 2021, 9, 252–267. [Google Scholar] [CrossRef]
- Gray-level co-occurrence matrix of fourier synchro-squeezed transform for epileptic seizure detection. Biocybern. Biomed. Eng. 2019, 39, 87–99. [CrossRef]
- Diykh, M.; Li, Y.; Wen, P. Classify epileptic eeg signals using weighted complex networks based community structure detection. Expert Syst. Appl. 2017, 90, 87–100. [Google Scholar] [CrossRef]
- Bari, M.F.; Fattah, S.A. Epileptic seizure detection in eeg signals using normalized imfs in ceemdan domain and quadratic discrimi- nant classifier. Biomed. Signal Process. 2020, 58, 101833. [Google Scholar] [CrossRef]
- Bhardwaj, A.; Tiwari, A.; Krishna, R.; Varma, V. A novel genetic pro- gramming approach for epileptic seizure detection. Comput. Methods Programs Biomed. 2016, 124, 2–18. [Google Scholar] [CrossRef]
- Kaur, T.; Gandhi, T.K. Automated diagnosis of epileptic seizures using eeg image representations and deep learning. Neuroscience In- formatics 2023, 3, 100139. [Google Scholar] [CrossRef]
- Gandhi, T.; Panigrahi, B.K.; Anand, S. A comparative study of wavelet families for eeg signal classification. Neurocomputing 2011, 74, 3051–3057. [Google Scholar] [CrossRef]
- Acharya, U.R.; Oh, S.L.; 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. 2018, 100, 270–278. [Google Scholar] [CrossRef] [PubMed]
- Alzami, F.; Tang, J.; Yu, Z.; Wu, S.; Chen, C.P.; You, J.; Zhang, J. Adaptive hybrid feature selection-based classifier ensemble for epileptic seizure classification. IEEE Access 2018, 6, 132–145. [Google Scholar] [CrossRef]
- Jaiswal, A.K.; Banka, H. Epileptic seizure detection in eeg signal using machine learning techniques. Australas. Phys. Eng. Sci. Med. 2018, 41, 81–94. [Google Scholar] [CrossRef]
- Zhao, X.; Zhang, R.; Mei, Z.; Chen, C.; Chen, W. Identification of epileptic seizures by characterizing instantaneous energy behavior of eeg. IEEE Access 2019, 7, 059–076. [Google Scholar] [CrossRef]
- Baykara, M.; Abdulrahman, A. Seizure detection based on adaptive feature extraction by applying extreme learning machines. Trait. Du Signal 2021, 38, 331–340. [Google Scholar] [CrossRef]
- Turk, O.; Zerdem, M.S.O. Epilepsy detection by using scalogram based convolutional neural network from eeg signals. Brain Sci. 2019, 9, 115. [Google Scholar] [CrossRef] [PubMed]
- Amorim, P.; Moraes, T.; Fazanaro, D.; Silva, J.; Pedrini, H. Elec- troencephalogram signal classification based on shearlet and contourlet transforms. Expert Syst. Appl. 2017, 67, 140–147. [Google Scholar] [CrossRef]
- Zhang, T.; Han, Z.; Chen, X.; Chen, W. Subbands and cumulative sum of subbands based nonlinear features enhance the performance of epileptic seizure detection. Biomed. Signal Process. Control. 2021, 69, 102827. [Google Scholar] [CrossRef]
- Zhou, D.; Li, X. Epilepsy eeg signal classification algorithm based on improved rbf. Front. Neurosci. 2020, 14, 606. [Google Scholar] [CrossRef]










| Encoder | ||
|---|---|---|
| Layer (type) | Output Shape | Param# |
| Conv2D | (None, 128, 128, 16) | 160 |
| Conv2D Conv2D Conv2D Conv2D |
(None, 64, 64, 32) (None, 32, 32, 64) (None, 16, 16, 128) (None, 8, 8, 255) |
4640 18496 73856 294015 |
| Total params | 391,167 | |
| Trainable params | 391,167 | |
| Non-trainable params | 0 | |
| Decoder | ||
| Layer (type) | Output Shape | Param# |
| Conv2D Transpose | (None, 16, 16, 128) | 293888 |
| Conv2D Transpose Conv2D Transpose Conv2D Transpose Conv2D Transpose |
(None, 32, 32, 64) (None, 64, 64, 32) (None, 128, 128, 16) (None, 256, 256, 1) |
73792 18464 4624 145 |
| Total params Trainable params Non- trainable params |
390,913 390,913 0 |
| Feature | Mathematical Expression | Feature | Mathematical Expression |
|---|---|---|---|
| Minimum | Range | ||
| Maximum | Energy | ||
| Mean | Clearance Factor | ||
| Standard Deviation | Variance | ||
| Kurtosis | Impulse Factor | ||
| Skewness | Power | ||
| RMS | Peak to RMS | ||
| Crest Factor | Shape Factor |
| Patient Stage | Subject Activities | Number of Samples |
Length of Segments |
Sampling Frequency (Hz) |
Duration (Sec) | |
|---|---|---|---|---|---|---|
| Epileptic | Ictal | Set S (Seizure Activity) | 100 | 4097 | 173.61 | 23.60 |
| Interictal | Set F (Seizure Free) | 100 | 4097 | 173.61 | 23.60 | |
| Set N (Seizure Free) | 100 | 4097 | 173.61 | 23.60 | ||
| Healthy | Normal | Set O (Eyes Closed) | 100 | 4097 | 173.61 | 23.60 |
| Set Z (Eyes Open) | 100 | 4097 | 173.61 | 23.60 |
| Problem | Accuracy (%) | F1-Score (%) | Precision (%) | Sensitivity (%) |
|---|---|---|---|---|
| N‒S | 100 | 100 | 100 | Class N : 100 Class S : 100 |
| Z‒S | 100 | 100 | 100 | Class Z : 100 Class S : 100 |
| O‒S | 100 | 100 | 100 | Class O : 100 Class S : 100 |
| FN‒S | 100 | 100 | 100 | Class FN :100 Class S: 100 |
| FNZ‒S | 100 | 100 | 100 | Class FNZ : 100 Class S : 100 |
| FNO‒S | 100 | 100 | 100 | Class FNO : 100 Class S : 100 |
| NOZ‒S | 100 | 100 | 100 | Class NOZ : 100 Class S : 100 |
| F‒S | 98.12 | 98.12 | 98.13 | Class FNZ : 97.85 Class S : 98.5 |
| Problem | Accuracy (%) | F1-Score (%) | Precision (%) | Sensitivity (%) |
|---|---|---|---|---|
| F‒O‒S | 100 | 100 | 100 | Class F : 100 Class O : 100 Class S : 100 |
| N‒Z‒S | 98.75 | 98.75 | 98.76 | Class Z : 98.76 Class N : 100 Class S : 97.2 |
| O‒Z‒S | 96.25 | 96.26 | 96.37 | Class O : 93.18 Class Z : 98.60 Class S : 97.53 |
| FN‒OZ‒S | 98 | 97.93 | 97.98 | Class FN : 96.56 Class OZ : 100 Class S : 97.40 |
| Problem | Accuracy (%) | F1-Score (%) | Precision (%) | Sensitivity (%) |
|---|---|---|---|---|
| N‒O‒Z‒S | 96.60 | 96.57 | 96.70 | Class N : 98.72 Class O : 94.51 Class S : 94.03 Class Z : 98.84 |
| F‒O‒Z‒S | 98.75 | 98.75 | 98.76 | Class F : 98.56 Class O : 95.65 Class S : 97.50 Class Z : 96.25 |
| Author | Year | Method Used | Classifier | Classification Problem |
Results |
|---|---|---|---|---|---|
| Kabir et al.[41] | 2018 | K-means clustering, statistical features, |
SVM | Z-S O-S |
98.13 97.75 |
| Zarei et al.[42] | 2021 | DWT | SVM | Z-S, O-S N-S, F-S |
99.50, 99.75 99.00, 99.50 |
| Wang et al.[43] | 2019 | Symlets wavelets, PCA | SVM | Z-S, O-S N-S, F-S |
100 98.4, 98.1 |
| Yazid et al.[44] | 2023 | DWT, Local binary pattern transition histogram, Local binary pattern mean absolute deviation | KNN | Z-S O-S N-S F-S |
99.94 99.86 99.88 99.70 |
| Gupta et al.[16] | 2019 | Fourier Bassel series expansion, and weighted multi scale Renyi permutation entropy | LS-SVM | Z-S O-S N-S F-S |
99.50 99.50 99.50 97.50 |
| Mamli et al.[45] | 2019 | Fourier Synchro-Squeezed Transform and gray level co-occurrence matrix | KNN, SVM | ZO-S FN-S |
99.73 99.59 |
| Diykh et al.[46] | 2017 | Statistical Features | LS-SVM | ZO-S FN-S |
98.00 97.80 |
| Mandhouj et al.[22] | 2021 | STFT spectograms | CNN | ZO-S | 98.33 |
| Bari et al.[47] | 2020 | EMD with Normalized Intrinsic Mode Function | Quadratic Discriminant Analysis (QDA) | NF-S | 99.00 |
| Diykh et al.[46] | 2017 | Statistical Features | LS-SVM | ZNF-S | 96.50 |
| Bhardwaj et al.[48] | 2016 | EMD | Genetic Programming | ZNF-S | 98.61 |
| Kaur et al.[49] | 2023 | Activations from conv5 | SVM | ZNF-S Z-N-S |
99.75 98.00 |
| Gandhi et al.[50] | 2011 | Matrix determinant | MLP | Z-N-S | 94.75 |
| Acharya et al.[51] | 2018 | Z-Score Normalization | CNN | O-F-S | 88.00 |
| Alzami et al.[52] | 2018 | DWT | Adaptive hybrid feature sel.-based classifier. | ZO-NF-S | 96.00 |
| Jaiswal et al.[53] | 2018 | SubXPCA | SVM | ZO-NF-S | 97.40 |
| Zhao et al.[54] | 2019 | Stationary WT, Entropy features | Back-Propagation NN | ZO-NF-S | 93.30 |
| Baykara et al.[55] | 2021 | Stockwell Transform, Entropies and Perservals energy | ELM | ZO-NF-S | 90.00 |
| Turk et al.[56] | 2019 | FFT, STFT, WT Transform | CNN | Z-N-F-S O-N-F-S Z-O-N-F |
90.50 91.50 93.60 |
| Amorim et al.[57] | 2017 | DWT, Shearlet and Contourlet Transform | Random Forest | Z-O-N-F-S | 88.67 |
| Zhang et al.[58] | 2021 | Frequency Slice WT (FSWT), Fuzzy entropy, Higuchi FD | -distributed stochastic neighbor embedding (t-SNE) | Z-O-N-F-S | 93.62 |
| Zhou et al.[59] | 2020 | DWT Entropy Features | RBF NN | Z-O-N-F-S | 78.40 |
| This Proposed Study | CWT, Statistical Features | LSTM | N-S, Z-S, O-S FN-S, FNZ-S, FNO-S, NOZ-S F-S F-O-S N-Z-S O-Z-S FN-OZ-S N-O-Z-S F-O-Z-S F-N-O-Z-S |
100 100 98.12 100 98.75 96.25 98.00 96.60 97.00 93.25 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2023 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).