Skip to main content

Advertisement

Log in

IoT and cloud computing based automatic epileptic seizure detection using HOS features based random forest classification

  • Original Research
  • Published:
Journal of Ambient Intelligence and Humanized Computing Aims and scope Submit manuscript

Abstract

Epilepsy, a fatal neurological disorder, has been emerged as a worldwide problem and is one of the major risks to human lives. There exists an urgent need for an efficient technique for early detection of epileptic seizures at its initial stage in order to save the lives of thousands of epileptic patients annually. Now a days, internet of things in combination with machine learning techniques and cloud computing services has emerged as a powerful technology to resolve many problems in healthcare sector. This paper also presents an automatic epileptic seizure detection system and its layered architecture for early detection of epileptic seizures using existing communication technologies in collaboration with machine learning and cloud computing. This model transmits sensed EEG signals from patient’s scalp to cloud through 4G cellular network or Wi-Fi network. At cloud, EEG signals are processed using Fast Walsh Hadamard transform and higher order spectra (HOS) based feature extraction for extracting higher order statistics and entropy-based features. The correlation-based feature selection algorithm has been employed for reducing the dimensionality of EEG datasets so as to tackle the problem of large volume of data and to reduce delays in service offered to the end user. Random Forest algorithm has been employed for classification of EEG signals into three different seizure stages, viz., normal, preictal and ictal. For performance analysis, other well-known machine learning algorithms like Bayes Net, Naïve Bayes, Multilayer Perceptron, Radial Basis function neural network and C4.5 Decision Tree are also considered. The simulation and testing results show that Random Forest classifier provides maximum values of classification accuracy of 99.40%, sensitivity of 99.40% and specificity of 99.66%, minimum mean square error of 0.0871 along with optimum training time of 20 ms, which makes this model more real time compatible, thereby making HOS features based Random Forest algorithm’s cloud model an efficient technique for early and automatic detection of epileptic seizures in real time.

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

Similar content being viewed by others

References

  • AbdulGhaffar A, Mostafa SM, Alsaleh A, Sheltami T, Shakshuki EM (2019) Internet of things based multiple disease monitoring and health improvement system. J Ambient Intell Hum Comput. https://doi.org/10.1007/s12652-019-01204-6

    Article  Google Scholar 

  • Acharya UR, Molinari F, Sree SV, Chattopadhyay S, Ng KH, Suri JS (2012) Automated diagnosis of epileptic eeg using entropies. Biomed Signal Process Control 7(4):401–408. https://doi.org/10.1016/j.bspc.2011.07.007

    Article  Google Scholar 

  • Alickovic E, Subasi A, Initiative ADN, et al. (2019) Automatic detection of Alzheimer disease based on histogram and random forest. In: International conference on medical and biological engineering, Springer, pp 91–96

  • Alotaiby T, El-Samie FEA, Alshebeili SA (2015) Ahmad I (2015) A review of channel selection algorithms for eeg signal processing. EURASIP J Adv Signal Process 1:66. https://doi.org/10.1186/s13634-015-0251-9

    Article  ADS  Google Scholar 

  • 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  CAS  ADS  Google Scholar 

  • Azimi I, Rahmani AM, Liljeberg P, Tenhunen H (2017) Internet of things for remote elderly monitoring: a study from user-centered perspective. J Ambient Intell Hum Comput 8(2):273–289. https://doi.org/10.1007/s12652-016-0387-y

    Article  Google Scholar 

  • 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

    PubMed Central  PubMed  Google Scholar 

  • Bentlemsan M, Zemouri E, Bouchaffra D, Yahya-Zoubir B, Ferroudji K (2014) Random forest and filter bank common spatial patterns for eeg-based motor imagery classification. In: 2014 5th International conference on intelligent systems, modelling and simulation, pp 235–238. https://doi.org/10.1109/ISMS.2014.46

  • Cheng J, Greiner R (2001) Learning Bayesian belief network classifiers: Algorithms and system. In: Conference of the Canadian society for computational studies of intelligence. Springer, pp 141–151

  • Chua K, Chandran V, Acharya UR, Lim C (2009) Automatic identification of epileptic electroencephalography signals using higher-order spectra. Proc Inst Mech Eng [H] 223(4):485–495

    Article  CAS  Google Scholar 

  • Chua KC, Chandran V, Acharya UR, Lim CM (2010) Application of higher order statistics/spectra in biomedical signals—a review. Med Eng Phys 32(7):679–689

    Article  PubMed  Google Scholar 

  • Cui S, Duan L, Qiao Y, Xiao Y (2018) Learning eeg synchronization patterns for epileptic seizure prediction using bag-of-wave features. J Ambient Intell Hum Comput. https://doi.org/10.1007/s12652-018-1000-3

    Article  Google Scholar 

  • Cutler A, Cutler DR, Stevens JR (2012) Random forests. In: Ensemble machine learning. Springer, pp 157–175

  • Darwish A, Hassanien AE, Elhoseny M, Sangaiah AK, Muhammad K (2017) The impact of the hybrid platform of internet of things and cloud computing on healthcare systems: opportunities, challenges, and open problems. J Ambient Intell Hum Comput. https://doi.org/10.1007/s12652-017-0659-1

    Article  Google Scholar 

  • Emotiv (2018) Emotiv EPOC wearable EEG Headset. https://www.emotiv.com/epoc/. Accessed 01 Apr 2018

  • Fraiwan L, Lweesy K, Khasawneh N, Wenz H, Dickhaus H (2012) Automated sleep stage identification system based on time-frequency analysis of a single eeg channel and random forest classifier. Comput Methods Progr Biomed 108(1):10–19

    Article  Google Scholar 

  • Freestone DR, Karoly PJ, Cook MJ (2017) A forward-looking review of seizure prediction. Curr Opin Neurol 30(2):167–173

    Article  PubMed  Google Scholar 

  • Gajic D, Djurovic Z, Di Gennaro S, Gustafsson F (2014) Classification of eeg signals for detection of epileptic seizures based on wavelets and statistical pattern recognition. Biomed Eng Appl Basis Commun 26(02):1450021

    Article  Google Scholar 

  • Holmes G, Donkin A, Witten IH (1994) Weka: a machine learning workbench. In: Proceedings of ANZIIS ’94—Australian New Zealand intelligent information systems conference, pp 357–361. https://doi.org/10.1109/ANZIIS.1994.396988

  • Homan RW, Herman J, Purdy P (1987) Cerebral location of international 10–20 system electrode placement. Electroencephalogr Clin Neurophysiol 66(4):376–382. https://doi.org/10.1016/0013-4694(87)90206-9

    Article  CAS  PubMed  Google Scholar 

  • Hu W, Cao J, Lai X, Liu J (2019) Mean amplitude spectrum based epileptic state classification for seizure prediction using convolutional neural networks. J Ambient Intell Hum Comput. https://doi.org/10.1007/s12652-019-01220-6

    Article  Google Scholar 

  • IEC (2018) Indian Epilepsy Centre, New Delhi. http://www.indianepilepsycentre.com/what-is-epilepsy.html. Accessed 01 Feb 2018

  • Islam SMR, Kwak D, Kabir MH, Hossain M, Kwak K (2015) The internet of things for health care: a comprehensive survey. IEEE Access 3:678–708. https://doi.org/10.1109/ACCESS.2015.2437951

    Article  Google Scholar 

  • Jaiswal AK, Banka H (2017a) Epileptic seizure detection in eeg signal with gmodpca and support vector machine. Bio-Med Mater Eng 28(2):141–157

    Article  CAS  Google Scholar 

  • Jaiswal AK, Banka H (2017b) Local pattern transformation based feature extraction techniques for classification of epileptic eeg signals. Biomed Signal Process Control 34:81–92. https://doi.org/10.1016/j.bspc.2017.01.005

    Article  Google Scholar 

  • Jaiswal AK, Banka H (2018a) Epileptic seizure detection in eeg signal using machine learning techniques. Aust Phys Eng Sci Med 41(1):81–94. https://doi.org/10.1007/s13246-017-0610-y

    Article  Google Scholar 

  • Jaiswal AK, Banka H (2018b) Local transformed features for epileptic seizure detection in eeg signal. J Med Biol Eng 38(2):222–235. https://doi.org/10.1007/s40846-017-0286-5

    Article  Google Scholar 

  • Jia S, Hu X, Sun L (2013) The comparison between random forest and support vector machine algorithm for predicting \(\beta\)-hairpin motifs in proteins. Engineering 5(10):391

    Article  Google Scholar 

  • Klok AB, Edin J, Cesari M, Olesen AN, Jennum P, Sorensen HBD (2018) A new fully automated random-forest algorithm for sleep staging. In: 2018 40th annual international conference of the ieee engineering in medicine and biology society (EMBC), pp 4920–4923. https://doi.org/10.1109/EMBC.2018.8513413

  • Korting TS (2006) C4. 5 algorithm and multivariate decision trees. Image Processing Division, National Institute for Space Research–INPE Sao Jose dos Campos–SP, Brazil

  • Litt B, Esteller R, Echauz J, D’Alessandro M, Shor R, Henry T, Pennell P, Epstein C, Bakay R, Dichter M, Vachtsevanos G (2001) Epileptic seizures may begin hours in advance of clinical onset: a report of five patients. Neuron 30(1):51–64. https://doi.org/10.1016/S0896-6273(01)00262-8

    Article  CAS  PubMed  Google Scholar 

  • Liu Q, Zhao X, Hou Z, Liu H (2017) Epileptic seizure detection based on the kernel extreme learning machine. Technol Health Care 25(S1):399–409

    Article  CAS  PubMed  Google Scholar 

  • Malasinghe LP, Ramzan N, Dahal K (2019) Remote patient monitoring: a comprehensive study. J Ambient Intell Hum Comput 10(1):57–76. https://doi.org/10.1007/s12652-017-0598-x

    Article  Google Scholar 

  • Manogaran G, Lopez D (2017) A survey of big data architectures and machine learning algorithms in healthcare. Int J Biomed Eng Technol 25(2–4):182–211

    Article  Google Scholar 

  • McDonald AD, Lee JD, Schwarz C, Brown TL (2014) Steering in a random forest: Ensemble learning for detecting drowsiness-related lane departures. Hum Factors 56(5):986–998

    Article  PubMed  Google Scholar 

  • 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  PubMed Central  ADS  PubMed  Google Scholar 

  • Moreira MWL, Rodrigues JJPC, Carvalho FHC, Chilamkurti N, Al-Muhtadi J, Denisov V (2019) Biomedical data analytics in mobile-health environments for high-risk pregnancy outcome prediction. J Ambient Intell Hum Comput 10(10):4121–4134. https://doi.org/10.1007/s12652-019-01230-4

    Article  Google Scholar 

  • NeuroSky (2018) NeuroSky MindWave EEG Headset. https://www.neurosky.com/biosensors/eeg-sensor/biosensors/. Accessed 01 Apr 2018

  • Neurotech (2016) Neurotech Hardware Roundup 2016. http://www.autodidacts.io/neurotech-hardware-roundup-eeg-bci-tdcs-neurofeedback/. Accessed 05 Apr 2018

  • Nikias CL, Mendel JM (1993) Signal processing with higher-order spectra. IEEE Signal Process Mag 10(3):10–37

    Article  ADS  Google Scholar 

  • NINDS (2018) National Institute of Neurological Disorders and Stroke. https://www.ninds.nih.gov/Current-Research/Focus-Research/Focus-Epilepsy. Accessed 25 Jan 2018

  • Orosco L, Correa AG, Laciar E (2013) A survey of performance and techniques for automatic epilepsy detection. J Med Biol Eng 33(6):526–537

    Article  Google Scholar 

  • 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

    Article  Google Scholar 

  • Pop I (2006) An approach of the naive bayes classifier for the document classification. Gen Math 14(4):135–138

    MathSciNet  Google Scholar 

  • Rokach L (2010) Ensemble-based classifiers. Artif Intell Rev 33(1):1–39. https://doi.org/10.1007/s10462-009-9124-7

    Article  MathSciNet  Google Scholar 

  • Samiee K, Kovács P, Gabbouj M (2015) Epileptic seizure classification of eeg time-series using rational discrete short-time fourier transform. IEEE Trans Biomed Eng 62(2):541–552. https://doi.org/10.1109/TBME.2014.2360101

    Article  PubMed  Google Scholar 

  • Sareen S, Sood SK, Gupta SK (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 

  • 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 

  • Sathyanarayana S, Satzoda RK, Sathyanarayana S, Thambipillai S (2018) Vision-based patient monitoring: a comprehensive review of algorithms and technologies. J Ambient Intell Hum Comput 9(2):225–251. https://doi.org/10.1007/s12652-015-0328-1

    Article  Google Scholar 

  • Seijas C, Caralli A, Villazana S (2013) Neuropathology classifier based on higher order spectra. J Comput Commun 1(04):28

    Article  Google Scholar 

  • Senagi K, Jouandeau N, Kamoni P et al (2017) Using parallel random forest classifier in predicting land suitability for crop production. J Agric Inform 8(3):23–32

    Google Scholar 

  • 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

  • Singh K, Agrawal S (2011) Performance evaluation of five machine learning algorithms and three feature selection algorithms for ip traffic classification. IJCA Spec Issue Evol Netw Comput Commun 1:25–32

    Google Scholar 

  • Singh K, Agrawal S (2011) Comparative analysis of five machine learning algorithms for ip traffic classification. In: 2011 International conference on emerging trends in networks and computer communications (ETNCC), pp 33–38. https://doi.org/10.1109/ETNCC.2011.5958481

  • 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), Bharati Vidyapeeth’s Institute of Computer Applications and Management (BVICAM), New Delhi (INDIA), pp 1105–1110

  • Sokolova M, Japkowicz N, Szpakowicz S (2006) Beyond accuracy, f-score and roc: a family of discriminant measures for performance evaluation. In: Australasian joint conference on artificial intelligence, Springer, pp 1015–1021

  • Song Y, Crowcroft J, Zhang J (2012) Automatic epileptic seizure detection in eegs based on optimized sample entropy and extreme learning machine. J Neurosci Methods 210(2):132–146. https://doi.org/10.1016/j.jneumeth.2012.07.003

    Article  PubMed  Google Scholar 

  • Subasi A, Ahmed A, Aličković E, Hassan AR (2019) Effect of photic stimulation for migraine detection using random forest and discrete wavelet transform. Biomed Signal Process Control 49:231–239

    Article  Google Scholar 

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

    Article  PubMed  Google Scholar 

  • Ting KM (2017) Confusion matrix. In: Encyclopedia of machine learning and data mining, pp 260–260

  • Upadhyay R, Manglick A, Reddy D, Padhy P, Kankar P (2015) Channel optimization and nonlinear feature extraction for electroencephalogram signals classification. Comput Electr Eng 45:222–234

    Article  Google Scholar 

  • Wang L, Xue W, Li Y, Luo M, Huang J, Cui W, Huang C (2017) Automatic epileptic seizure detection in eeg signals using multi-domain feature extraction and nonlinear analysis. Entropy 19(6):222

    Article  ADS  Google Scholar 

  • WHO (2018) World Health Organization. https://www.who.int/mentalhealth/neurology/epilepsy/en/. Accessed 27 Jan 2018

  • Xiaofeng Liu, Aimin Jiang, Ning Xu (2017) Automated epileptic seizure detection in eegs using increment entropy. In: 2017 IEEE 30th Canadian conference on electrical and computer engineering (CCECE), pp 1–4. https://doi.org/10.1109/CCECE.2017.7946705

  • Yuvaraj R, Acharya UR, Hagiwara Y (2018) A novel parkinson’s disease diagnosis index using higher-order spectra features in eeg signals. Neural Comput Appl 30(4):1225–1235

    Article  Google Scholar 

  • Zhang Y, Xin Y, Li Q, Ma J, Li S, Lv X, Lv W (2017) Empirical study of seven data mining algorithms on different characteristics of datasets for biomedical classification applications. BioMed Eng OnLine 16(1):125. https://doi.org/10.1186/s12938-017-0416-x

    Article  PubMed Central  PubMed  Google Scholar 

Download references

Acknowledgements

The authors of this paper are highly grateful to Research and Development laboratory of Guru Nanak Dev University, Amritsar, Punjab, India for providing research facilities to carry out this research work. Also, the authors would like to thank the reviewers in advance for their invaluable comments and suggestions.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Kuldeep Singh.

Ethics declarations

Conflict of interest

The authors declare that they have no conflict of interest.

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. IoT and cloud computing based automatic epileptic seizure detection using HOS features based random forest classification. J Ambient Intell Human Comput 14, 15497–15512 (2023). https://doi.org/10.1007/s12652-019-01613-7

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s12652-019-01613-7

Keywords

Navigation