Skip to main content
Log in

Smart neurocare approach for detection of epileptic seizures using deep learning based temporal analysis of EEG patterns

  • Published:
Multimedia Tools and Applications Aims and scope Submit manuscript

Abstract

Epilepsy is a psychosocial neurological disorder, which emerges as a major threat to public health. In this age of the internet of things, the smart diagnosis of epilepsy has gained huge research attention with machine learning-based seizure detection in cloud-fog assisted environments. The present paper also proposes a cloud-fog integrated smart neurocare approach, which performs a temporal analysis of raw electroencephalogram (EEG) signals using deep learning to detect the occurrence of epileptic seizures. This patient-independent approach makes use of single-channel EEG signals to achieve real-time and computationally efficient seizure detection at fog layer devices. It employs a maximum variance-based channel selection procedure to select only one channel of raw scalp EEG signals, followed by their filtering and segmentation into various short-duration temporal segments. To analyse EEG patterns, these segments are further fed to the proposed models of convolutional neural network, recurrent neural network and stacked autoencoder deep learning classifiers. The performance analysis through simulation results evidently reveals that the proposed convolutional neural network-based temporal analysis approach performs better than other approaches. It realises an optimum accuracy of 96.43%, sensitivity of 100% and specificity of 93.33% for 30s duration EEG segments of CHB-MIT dataset and achieves 100% accuracy, sensitivity and specificity values for EEG segments of Bonn dataset for 23.6s EEG segments. Thus, the proposed convolutional neural network-based approach emerges as an appropriate method for rapid and accurate detection of epileptic seizures in fog-cloud integrated environment.

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

Access this article

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
Fig. 9

Similar content being viewed by others

References

  1. Aayesha MB, Afzaal M, Qureshi MS, Fayaz M, et al. (2021) Machine learning-based eeg signals classification model for epileptic seizure detection. Multimedia Tools and Applications 80(12):17849–17877

    Article  Google Scholar 

  2. Abdullah H, Cvetkovic D (2014) Electrophysiological signals segmentation for eeg frequency bands and heart rate variability analysis. In: The 15th international conference on biomedical engineering, Springer, pp 695–698

  3. Acharya U R, Molinari F, Sree S V, Chattopadhyay S, Ng K-H, Suri J S (2012) Automated diagnosis of epileptic eeg using entropies. Biomedical Signal Processing and Control 7(4):401–408. https://doi.org/10.1016/j.bspc.2011.07.007

    Article  Google Scholar 

  4. 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. Computers in Biology and Medicine 100:270–278

    Article  Google Scholar 

  5. Acharya UR, Sree SV, Swapna G, Martis RJ, Suri JS (2013) Automated eeg analysis of epilepsy: a review. Knowl-Based Syst 45:147–165

    Article  Google Scholar 

  6. Ahmadi Z, Haghi Kashani M, Nikravan M, Mahdipour E (2021) Fog-based healthcare systems: A systematic review. Multimedia Tools and Applications, pp 1–40

  7. Ahmedt-Aristizabal D, Fookes C, Nguyen K, Sridharan S (2018) Deep classification of epileptic signals. In: 2018 40th annual international conference of the IEEE engineering in medicine and biology society (EMBC). IEEE, pp 332–335

  8. Aktas F, Ceken C, Erdemli Y E (2018) Iot-based healthcare framework for biomedical applications. Journal of Medical and Biological Engineering 38 (6):966–979

    Article  Google Scholar 

  9. Akut R (2019) Wavelet based deep learning approach for epilepsy detection. Health Information Science and Systems 7(1):8

    Article  Google Scholar 

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

    Article  Google Scholar 

  11. Artameeyanant P, Sultornsanee S, Chamnongthai K (2017) Electroencephalography-based feature extraction using complex network for automated epileptic seizure detection. Expert Syst 34(3):e12211

    Article  Google Scholar 

  12. Baratloo A, Hosseini M, Negida A, El Ashal G (2015) Part 1: simple definition and calculation of accuracy, sensitivity and specificity. Emergency 3 (2):48–49

    Google Scholar 

  13. Bengio Y, Lamblin P, Popovici D, Larochelle H (2007) Greedy layer-wise training of deep networks. In: Advances in neural information processing systems, pp 153–160

  14. Bhardwaj H, Sakalle A, Bhardwaj A, Tiwari A (2019) Classification of electroencephalogram signal for the detection of epilepsy using innovative genetic programming. Expert Syst 36(1):e12338

    Article  Google Scholar 

  15. Bhurane A A, Dhok S, Sharma M, Yuvaraj R, Murugappan M, Acharya U R (2019) Diagnosis of parkinson’s disease from electroencephalography signals using linear and self-similarity features. Expert Systems Early View:e12472

  16. Binder DK, Haut SR (2013) Toward new paradigms of seizure detection. Epilepsy & Behavior 26(3):247–252

    Article  Google Scholar 

  17. Boden M (2002) A guide to recurrent neural networks and backpropagation. The Dallas project 24

  18. Capra M, Peloso R, Masera G, Ruo Roch M, Martina M (2019) Edge computing: A survey on the hardware requirements in the internet of things world. Future Internet 11(4):100

    Article  Google Scholar 

  19. Chicco D, Jurman G (2020) The advantages of the matthews correlation coefficient (mcc) over f1 score and accuracy in binary classification evaluation. BMC genomics 21(1):1–13

    Article  Google Scholar 

  20. Craik A, He Y, Contreras-Vidal JL (2019) Deep learning for electroencephalogram (eeg) classification tasks: a review. Journal of Neural Engineering 16(3):031001

    Article  Google Scholar 

  21. Daoud H, Bayoumi M (2019) Deep learning approach for epileptic focus localization. IEEE Transactions on Biomedical Circuits and Systems 14 (2):209–220

    Article  Google Scholar 

  22. Dastjerdi A V, Buyya R (2016) Fog computing: Helping the internet of things realize its potential. Computer 49(8):112–116

    Article  Google Scholar 

  23. Faust O, Hagiwara Y, Hong T J, Lih O S, Acharya U R (2018) Deep learning for healthcare applications based on physiological signals: A review. Computer Methods and Programs in Biomedicine 161:1–13

    Article  Google Scholar 

  24. Ferri R, Babiloni C, Karami V, Triggiani AI, Carducci F, Noce G, Lizio R, Pascarelli MT, Soricelli A, Amenta F, et al. (2021) Stacked autoencoders as new models for an accurate alzheimer’s disease classification support using resting-state eeg and mri measurements. Clin Neurophysiol 132(1):232–245

    Article  Google Scholar 

  25. Ghasemi F, Rezaee A, Rahmani A M (2019) Structural and behavioral reference model for iot-based elderly health-care systems in smart home. Int J Commun Syst 32(12):e4002

    Article  Google Scholar 

  26. Goel S S, Goel A, Kumar M, Moltó G (2021) A review of internet of things: qualifying technologies and boundless horizon. Journal of Reliable Intelligent Environments, pp 1–11

  27. Goldberger AL, Amaral LAN, Glass L, Hausdorff JM, Ivanov PCh, Mark RG, Mietus JE, Moody GB, Peng C-K, Stanley HE (2020) PhysioBank, PhysioToolkit and PhysioNet : Components of a New Research Resource for Complex Physiologic Signals. https://physionet.org/content/chbmit/1.0.0/, Accessed: 2020-12-16

  28. Goodfellow I, Bengio Y, Courville A (2016) Deep learning. MIT press

  29. Graves A, Schmidhuber J (2005) Framewise phoneme classification with bidirectional lstm and other neural network architectures. Neural Netw 18 (5-6):602–610

    Article  Google Scholar 

  30. Greff K, Srivastava RK, Koutník J, Steunebrink BR, Schmidhuber J (2016) Lstm: A search space odyssey. IEEE Transactions on Neural Networks and Learning Systems 28(10):2222–2232

    Article  MathSciNet  Google Scholar 

  31. Guo J-M, Markoni H (2019) Driver drowsiness detection using hybrid convolutional neural network and long short-term memory. Multimedia Tools and Applications 78(20):29059–29087

    Article  Google Scholar 

  32. Guo T, Xu Z, Yao X, Chen H, Aberer K, Funaya K (2016) Robust online time series prediction with recurrent neural networks. In: 2016 IEEE international conference on data science and advanced analytics (DSAA). IEEE, pp 816–825

  33. Gupta V, Pachori R B (2019) Epileptic seizure identification using entropy of fbse based eeg rhythms. Biomedical Signal Processing and Control 53:101569

    Article  Google Scholar 

  34. Habte TT, Saleh H, Mohammad B, Ismail M (2019) Iot for healthcare. In: Ultra low power ECG processing system for IoT devices. Springer, pp 7–12

  35. Hassanpour H, Shahiri M (2007) Adaptive segmentation using wavelet transform. In: 2007 international conference on electrical engineering. IEEE, pp 1–5

  36. Homan R W (1988) The 10-20 electrode system and cerebral location. American J EEG Technol 28(4):269–279

    Article  Google Scholar 

  37. Ilakiyaselvan N, Khan A N, Shahina A (2020) Deep learning approach to detect seizure using reconstructed phase space images. Journal of Biomedical Research 34(3):240

    Article  Google Scholar 

  38. Kannathal N, Acharya UR, Lim CM, Sadasivan PK (2005) Characterization of eeg—a comparative study. Computer Methods and Programs in Biomedicine 80(1):17–23

    Article  Google Scholar 

  39. Ke H, Chen D, Shah T, Liu X, Zhang X, Zhang L, Li X (2020) Cloud-aided online eeg classification system for brain healthcare: A case study of depression evaluation with a lightweight cnn. Software: Practice and Experience 50(5):596–610

    Google Scholar 

  40. Khamparia A, Singh K M (2019) A systematic review on deep learning architectures and applications. Expert Syst 36(3):e12400

    Article  Google Scholar 

  41. Kraemer FA, Braten AE, Tamkittikhun N, Palma D (2017) Fog computing in healthcare–a review and discussion. IEEE Access 5:9206–9222

    Article  Google Scholar 

  42. Kumar M, Dubey K, Pandey R (2021) Evolution of emerging computing paradigm cloud to fog: Applications, limitations and research challenges. In: 2021 11th international conference on cloud computing, data science & engineering (Confluence). IEEE, pp 257–261

  43. Kumar M, Sharma S C (2018) Deadline constrained based dynamic load balancing algorithm with elasticity in cloud environment. Computers & Electrical Engineering 69:395–411

    Article  Google Scholar 

  44. Kumar M, Sharma S C, Goel A, Singh S P (2019) A comprehensive survey for scheduling techniques in cloud computing. J Netw Comput Appl 143:1–33

    Article  Google Scholar 

  45. LeCun Y, Bengio Y, Hinton G (2015) Deep learning. Nature 521(7553):436

    Article  Google Scholar 

  46. Lever J (2016) Classification evaluation: It is important to understand both what a classification metric expresses and what it hides. Nat Methods 13 (8):603–605

    Article  Google Scholar 

  47. Lu D, Triesch J (2019) Residual deep convolutional neural network for eeg signal classification in epilepsy. arXiv preprint arXiv:1903.08100

  48. Michielli N, Acharya U R, Molinari F (2019) Cascaded lstm recurrent neural network for automated sleep stage classification using single-channel eeg signals. Computers in Biology and Medicine 106:71–81

    Article  Google Scholar 

  49. Mohammadi M, Al-Fuqaha A, Sorour S, Guizani M (2018) Deep learning for iot big data and streaming analytics: A survey. IEEE Communications Surveys & Tutorials 20(4):2923–2960

    Article  Google Scholar 

  50. Mora H, Gil D, Terol RM, Azorín J, Szymanski J (2017) An iot-based computational framework for healthcare monitoring in mobile environments. Sensors 17(10):2302

    Article  Google Scholar 

  51. NINDS (2021) Epilepsy: National Institute of Neurological Disorders and Stroke. https://www.ninds.nih.gov/Current-Research/Focus-Research/Focus-Epilepsy, Accessed: 2021-06-20

  52. Raghu S, Sriraam N, Hegde AS, Kubben PL (2019) A novel approach for classification of epileptic seizures using matrix determinant. Expert Syst Appl 127:323–341

    Article  Google Scholar 

  53. Robertson DGE, Dowling JJ (2003) Design and responses of butterworth and critically damped digital filters. J Electromyogr Kinesiol 13(6):569–573

    Article  Google Scholar 

  54. Salehinejad H, Sankar S, Barfett J, Colak E, Valaee S (2017) Recent advances in recurrent neural networks. arXiv preprint arXiv:1801.01078

  55. Sareen S, Sood SK, Gupta SK (2016) A cloud-based seizure alert system for epileptic patients that uses higher-order statistics. Comput Sci Eng 18 (5):56–67. https://doi.org/10.1109/MCSE.2016.82

    Article  Google Scholar 

  56. Sareen S, Sood SK, Gupta SK (November 2016) An automatic prediction of epileptic seizures using cloud computing and wireless sensor networks. J Med Syst 40 (11):1–18. https://doi.org/10.1007/s10916-016-0579-1

    Article  Google Scholar 

  57. Shoeb A, Guttag J (2010) Application of machine learning to epileptic seizure detection. In: Proceedings of the 27th international conference on international conference on machine learning, Omnipress, USA, ICML’10, pp 975–982. http://dl.acm.org/citation.cfm?id=3104322.3104446

  58. Singh K, Malhotra J (2018) Iot enabled epileptic seizure early detection system using higher order spectral analysis and c 4.5 decision tree classifier. In: 2018 5th international conference on computing for sustainable global development(IndiaCom-2018), BVICAM, New Delhi(INDIA), pp 1105–1110

  59. Singh K, Malhotra J (2019) Iot and cloud computing based automatic epileptic seizure detection using hos features based random forest classification. Journal of Ambient Intelligence and Humanized Computing Online First. https://doi.org/10.1007/s12652-019-01613-7

  60. Singh K, Malhotra J (2019) Stacked autoencoders based deep learning approach for automatic epileptic seizure detection. In: 2018 First international conference on secure cyber computing and communication (ICSCCC). IEEE, pp 249–254

  61. Singh K, Malhotra J (2021) Cloud based ensemble machine learning approach for smart detection of epileptic seizures using higher order spectral analysis. Phys Eng Sci Med 44(1):313–324

    Article  Google Scholar 

  62. Singh K, Malhotra J (2021) Deep learning based smart health monitoring for automated prediction of epileptic seizures using spectral analysis of scalp eeg. Physical and Engineering Sciences in Medicine, pp 1–13

  63. Singh K, Singh S, Malhotra J (2020) Spectral features based convolutional neural network for accurate and prompt identification of schizophrenic patients. In: Proceedings of the institution of mechanical engineers, part H: Journal of Engineering in Medicine, p 0954411920966937

  64. Subha DP, Joseph PK, Acharya R, Lim CM (2010) Eeg signal analysis: A survey. J Med Syst 34(2):195–212

    Article  Google Scholar 

  65. Thara DK, PremaSudha BG, Xiong F (2019) Epileptic seizure detection and prediction using stacked bidirectional long short term memory. Pattern Recogn Lett 128:529–535

    Article  Google Scholar 

  66. Ullah I, Hussain M, Aboalsamh H, et al. (2018) An automated system for epilepsy detection using eeg brain signals based on deep learning approach. Expert Syst Appl 107:61–71

    Article  Google Scholar 

  67. Upadhyay R, Padhy PK, Kankar PK (2016) Application of s-transform for automated detection of vigilance level using eeg signals. J Biol Syst 24 (01):1–27

    Article  MathSciNet  MATH  Google Scholar 

  68. Upadhyay R, Padhy PK, Kankar PK (2016) Eeg artifact removal and noise suppression by discrete orthonormal s-transform denoising. Computers & Electrical Engineering 53:125–142. https://doi.org/10.1016/j.compeleceng.2016.05.015

    Article  Google Scholar 

  69. Upadhyay R, Manglick A, Reddy DK, Padhy PK, Kankar PK (2015) Channel optimization and nonlinear feature extraction for electroencephalogram signals classification. Computers & Electrical Engineering 45:222–234

    Article  Google Scholar 

  70. Vařeka L, Mautner P (2017) Stacked autoencoders for the p300 component detection. Frontiers in Neuroscience 11:302

    Article  Google Scholar 

  71. Wang G, Deng Z, Choi K-S (2017) Detection of epilepsy with electroencephalogram using rule-based classifiers. Neurocomputing 228:283–290

    Article  Google Scholar 

  72. WHO (2021) Epilepsy: World Health Organization. https://www.who.int/mentalhealth/, Accessed: 2021-05-22

  73. Yamashita R, Nishio M, Do RKG, Togashi K (2018) Convolutional neural networks: An overview and application in radiology. Insights Into Imaging 9(4):611–629

    Article  Google Scholar 

  74. Yildirim O (2018) A novel wavelet sequence based on deep bidirectional lstm network model for ecg signal classification. Computers in Biology and Medicine 96:189–202

    Article  Google Scholar 

  75. Zhang J, Tian J, Cao Y, Yang Y, Xu X, Wen C (2019) Fine-grained ecg classification based on deep cnn and online decision fusion. arXiv preprint arXiv:1901.06469

  76. Zhao W, Zhao W, Wang W, Jiang X, Zhang X, Peng Y, Zhang B, Zhang G (2020) A novel deep neural network for robust detection of seizures using eeg signals. Computational and Mathematical Methods in Medicine 2020

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Kuldeep Singh.

Ethics declarations

Conflict of Interests

The authors of this research paper declare that they have no conflict of interest with any person or organization for carrying out this research work.

Additional information

Publisher’s note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Singh, K., Malhotra, J. Smart neurocare approach for detection of epileptic seizures using deep learning based temporal analysis of EEG patterns. Multimed Tools Appl 81, 29555–29586 (2022). https://doi.org/10.1007/s11042-022-12512-z

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11042-022-12512-z

Keywords

Navigation