Abstract
Epilepsy is one of the world’s most common neurological disorders. Timely diagnosis of this disease improves the quality of life of patients. In this research, we used deep learning to diagnose and predict epileptic seizures. While Long Short Term Memory (LSTM) learn the concept of time and Convolutional Neural Network (CNN) learn images well, Convolutional Long Short Term Memories (ConvLSTMs) as a new type of LSTMs use both capabilities. How to prepare the input is important and effective in using deep neural networks. The use of raw signals also forces us to make full use of time-domain features. We employed the short-time Fourier transform (STFT) to use both time and frequency domain information. But the output images have a fixed resolution due to the fixed size of the window. We solved this problem by calculating STFT with different window sizes and adding a third dimension. Then, with rotation, we put the dimensions in positions appropriate to their meaning. So we provided a set of images that convey the concept of time to ConvLSTMs to learn the signal pattern and generalize it. We tested our deep learning model on dataset from the University of Bonn in Germany. We compared the findings with those obtained from the other state-of-the-art models. The obtained accuracies demonstrate that the proposed model is both effective and reliable.
Similar content being viewed by others
References
Abbasi MU, Rashad A, Basalamah A, Tariq M (2019) Detection of epilepsy seizures in neo-natal EEG Using LSTM architecture. IEEE Access 7:179074–179085
Acharya UR, Oh SL, Hagiwara Y, Tan JH, Adeli H (2018) Deep convolutional neural network for the automated detection and diagnosis of seizure using EEG signals. Comput Biol Med 100:270–278
Andrzejak RG, Lehnertz K, Mormann F, Rieke C, David P, Elger CE (2001) 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 64(6):061907
Ay B, Yildirim O, Talo M, Baloglu UB, Aydin G, Puthankattil SD, Acharya UR (2019) Automated depression detection using deep representation and sequence learning with EEG signals. J Med Syst 43(7):205
Barbu, T. (2013). Variational image denoising approach with diffusion porous media flow. Paper presented at the Abstract and Applied Analysis.
Bishop CM (1995) Neural networks for pattern recognition. Oxford University Press, Oxford
Boyat AK, Joshi BK (2015) A review paper: noise models in digital image processing. arXiv preprint arXiv:1505.03489
Cabal-Yepez E, Garcia-Ramirez AG, Romero-Troncoso RJ, Garcia-Perez A, Osornio-Rios RA (2012) Reconfigurable monitoring system for time-frequency analysis on industrial equipment through STFT and DWT. IEEE Trans Industr Inf 9(2):760–771
Darjani N, Omranpour H (2020) Phase space elliptic density feature for epileptic EEG signals classification using metaheuristic optimization method. Knowl-Based Syst 205:106276
Elloumi M (2021) Deep learning for biomedical data analysis: techniques, approaches, and applications. Springer International Publishing, New York
Güler I, Übeyli ED (2005) Adaptive neuro-fuzzy inference system for classification of EEG signals using wavelet coefficients. J Neurosci Methods 148(2):113–121
Güler NF, Übeyli ED, Güler I (2005) Recurrent neural networks employing Lyapunov exponents for EEG signals classification. Expert Syst Appl 29(3):506–514
Hasib MM, Nayak T, Huang Y (2018) A hierarchical LSTM model with attention for modeling EEG non-stationarity for human decision prediction. In: Paper presented at the 2018 IEEE EMBS international conference on biomedical & health informatics (BHI)
Hassan AR, Subasi A (2016) Automatic identification of epileptic seizures from EEG signals using linear programming boosting. Comput Methods Programs Biomed 136:65–77
Hastie T, Tibshirani R, Friedman J (2013) The elements of statistical learning: data mining, inference, and prediction. Springer, New York
Heinzel G, Rüdiger A, Schilling R (2002) Spectrum and spectral density estimation by the Discrete Fourier transform (DFT), including a comprehensive list of window functions and some new at-top windows
Hiran KK, Jain RK, Lakhwani K, Doshi R (2021) Machine learning: master supervised and unsupervised learning algorithms with real examples, English. BPB Publications, Noida
Hosseini M-P, Soltanian-Zadeh H, Elisevich K, Pompili D (2016) Cloud-based deep learning of big eeg data for epileptic seizure prediction. In: Paper presented at the 2016 IEEE global conference on signal and information processing (GlobalSIP)
Hu L, Zhang Z (2019) EEG signal processing and feature extraction. Springer, New York
Ilakiyaselvan N, Khan AN, Shahina A (2020) Deep learning approach to detect seizure using reconstructed phase space images. J Biomed Res 34(3):240
Jia J, Goparaju B, Song J, Zhang R, Westover MB (2017) Automated identification of epileptic seizures in EEG signals based on phase space representation and statistical features in the CEEMD domain. Biomed Signal Process Control 38:148–157
Jurado F, Saenz JR (2002) Comparison between discrete STFT and wavelets for the analysis of power quality events. Electric Power Syst Res 62(3):183–190
Kim S, Hong S, Joh M, Song S-K (2017) Deeprain: Convlstm network for precipitation prediction using multichannel radar data. arXiv preprint arXiv:1711.02316
Kıymık MK, Güler İ, Dizibüyük A, Akın M (2005) Comparison of STFT and wavelet transform methods in determining epileptic seizure activity in EEG signals for real-time application. Comput Biol Med 35(7):603–616
Kumar Y, Dewal M, Anand R (2014) Epileptic seizures detection in EEG using DWT-based ApEn and artificial neural network. SIViP 8(7):1323–1334
Li Y, Cui W-G, Huang H, Guo Y-Z, Li K, Tan T (2019) Epileptic seizure detection in EEG signals using sparse multiscale radial basis function networks and the Fisher vector approach. Knowl-Based Syst 164:96–106
Patidar S, Panigrahi T (2017) Detection of epileptic seizure using Kraskov entropy applied on tunable-Q wavelet transform of EEG signals. Biomed Signal Process Control 34:74–80
Polat K, Güneş S (2007) Classification of epileptiform EEG using a hybrid system based on decision tree classifier and fast Fourier transform. Appl Math Comput 187(2):1017–1026
Reed R, MarksII RJ (1999) Neural smithing: supervised learning in feedforward artificial neural networks. Mit Press, New York
Sanei S, Chambers J (2007) Introduction to EEG. EEG signal processing. Wiley, West Sussex, pp 1–34
Shahbazi M, Aghajan H (2018) A generalizable model for seizure prediction based on deep learning using cnn-lstm architecture. In: Paper presented at the 2018 IEEE global conference on signal and information processing (GlobalSIP)
Sharma M, Pachori RB, Acharya UR (2017) A new approach to characterize epileptic seizures using analytic time-frequency flexible wavelet transform and fractal dimension. Pattern Recogn Lett 94:172–179
Sharmila A, Geethanjali P (2016) DWT based detection of epileptic seizure from EEG signals using naive Bayes and k-NN classifiers. IEEE Access 4:7716–7727
Shi X, Chen Z, Wang H, Yeung D-Y, Wong W-K, Woo W-C (2015) Convolutional LSTM network: A machine learning approach for precipitation nowcasting. Adv Neural Inf Process Syst 28
Shi T, Ren L, Cui W (2019) Feature recognition of motor imaging EEG signals based on deep learning. Personal Ubiquitous Comput 1–12
Song H, Wang W, Zhao S, Shen J, Lam K-M (2018) Pyramid dilated deeper convlstm for video salient object detection. In: Paper presented at the Proceedings of the European conference on computer vision (ECCV)
Srinivasan V, Eswaran C, Sriraam N (2007) Approximate entropy-based epileptic EEG detection using artificial neural networks. IEEE Trans Inf Technol Biomed 11(3):288–295
Subasi A, Gursoy MI (2010) EEG signal classification using PCA, ICA, LDA and support vector machines. Expert Syst Appl 37(12):8659–8666
Sun X, Wang J, Bertino E (2020) Artificial intelligence and security: 6th international conference, ICAIS 2020, Hohhot, China, July 17–20, 2020, Proceedings. Part III: Springer
Swami P, Gandhi TK, Panigrahi BK, Tripathi M, Anand S (2016) A novel robust diagnostic model to detect seizures in electroencephalography. Expert Syst Appl 56:116–130
Tawfik NS, Youssef SM, Kholief M (2016) A hybrid automated detection of epileptic seizures in EEG records. Comput Electr Eng 53:177–190
Thodoroff P, Pineau J, Lim A (2016) Learning robust features using deep learning for automatic seizure detection. In: Paper presented at the Machine learning for healthcare conference
Tsiouris ΚΜ, Pezoulas VC, Zervakis M, Konitsiotis S, Koutsouris DD, Fotiadis DI (2018) A long short-term memory deep learning network for the prediction of epileptic seizures using EEG signals. Comput Biol Med 99:24–37
Ullah I, Hussain M, Aboalsamh H (2018) An automated system for epilepsy detection using EEG brain signals based on deep learning approach. Expert Syst Appl 107:61–71
Wang J, Feng Z, Lu N, Luo J (2018) Toward optimal feature and time segment selection by divergence method for EEG signals classification. Comput Biol Med 97:161–170
Wang X, Gong G, Li N, Qiu S (2019) Detection analysis of epileptic EEG using a novel random forest model combined with grid search optimization. Front Hum Neurosci 13:52
(WHO), W. H. O (2019) Epilepsy. https://www.who.int/en/news-room/fact-sheets/detail/epilepsy. Accessed 3 Jan 2021
Xu W, Chen W, Liang Y (2018) Feasibility study on the least square method for fitting non-Gaussian noise data. Physica A 492:1917–1930
Xu G, Ren T, Chen Y, Che W (2020) A One-Dimensional CNN-LSTM Model for Epileptic Seizure Recognition Using EEG Signal Analysis. Front Neurosci 14:1253
Zhou M, Tian C, Cao R, Wang B, Niu Y, Hu T et al (2018) Epileptic seizure detection based on EEG signals and CNN. Front Neuroinform 12:95
Author information
Authors and Affiliations
Corresponding author
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
About this article
Cite this article
Chalaki, M., Omranpour, H. Epileptic seizure classification using ConvLSTM deep classifier and rotation short-time Fourier Transform. J Ambient Intell Human Comput 14, 3809–3825 (2023). https://doi.org/10.1007/s12652-022-04204-1
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s12652-022-04204-1