Skip to main content

Advertisement

Log in

Classification of arithmetic mental task performances using EEG and ECG signals

  • Published:
The Journal of Supercomputing Aims and scope Submit manuscript

Abstract

In this study, a classification is done for electroencephalogram (EEG) and electrocardiogram (ECG) records belong to arithmetic tasks with good and bad performances. Thus, it is aimed to evaluate the differentiation in mental arithmetic activity performance using EEG and ECG signals. First of all, EEG signals, taken from 36 subjects and labeled as good and bad performance according to the number of procedures performed within the same period, are divided into sections of 10 s. Sub-components are obtained using wavelet transform for segmented electroencephalogram and electrocardiogram recordings. The feature set is created by calculating the energy of the wavelet components from electroencephalogram recordings belong to 19 channels. The obtained feature set is classified by using logistic regression, support vector machines (SVM), linear discriminant analysis, and k-nearest neighborhood (k-NN) methods. The feature extraction process is repeated for electrocardiogram signals recorded during the arithmetic mental task, resulting in an extended feature set. The classification process in the expanded space is repeated using the same features. As a result of the analysis, it is observed that wavelet-based features are effective in determining mental activity performance. High accuracy classification is done by k-NN and SVM, respectively. For only EEG signals, the best classification result is obtained with k-NN with 97.22% accuracy, and for EEG and ECG signals are used together, the best result is obtained with k-NN with 99% accuracy. Features extracted from ECG signals have increased classification accuracy.

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

Data availability

The data used in the study is open access. Data are taken from the PhysioNet database.

References

  1. Mathur P, Chakka VK (2022) Graph signal processing based cross-subject mental task classification using multi-channel EEG signals. IEEE Sens J 22(8):7971–7978

    Article  Google Scholar 

  2. Leuthardt EC, Schalk G, Wolpaw JR, Ojemann JG, Moran DW (2004) A brain–computer interface using electrocorticographic signals in humans. J Neural Eng 1(2):63

    Article  Google Scholar 

  3. Krepki R, Curio G, Blankertz B, Müller KR (2007) Berlin brain–computer interface—The HCI communication channel for discovery. Int J Hum Comput Stud 65(5):460–477

    Article  Google Scholar 

  4. Übeyli ED (2009) Combined neural network model employing wavelet coefficients for EEG signals classification. Digital Signal Process 19(2):297–308

    Article  Google Scholar 

  5. Amin HU, Malik AS, Ahmad RF, Badruddin N, Kamel N, Hussain M, Chooi WT (2015) Feature extraction and classification for EEG signals using wavelet transform and machine learning techniques. Australas Phys Eng Sci Med 38(1):139–149

    Article  Google Scholar 

  6. Zarjam P, Epps J, Lovell NH (2012) Characterizing mental load in an arithmetic task using entropy-based features. In: 2012 11th International Conference on Information Science, Signal Processing and their Applications (ISSPA. IEEE, pp. 199–204

  7. Nai-Jen H, Palaniappan R (2004) Classification of mental tasks using fixed and adaptive autoregressive models of EEG signals. In: The 26th Annual International Conference of the IEEE Engineering in Medicine and Biology Society vol 1. IEEE, pp. 507–510

  8. Liang NY, Saratchandran P, Huang GB, Sundararajan N (2006) Classification of mental tasks from EEG signals using extreme learning machine. Int J Neural Syst 16(01):29–38

    Article  Google Scholar 

  9. Turner JR, Sims J, Carroll D, Morgan RK, Hewitt JK (1987) A comparative evaluation of heart rate reactivity during MATH and a standard mental arithmetic task. Int J Psychophysiol 5(4):301–303

    Article  Google Scholar 

  10. KutluOnay F, Köse C (2017) Classification of functional near-infrared imaging based hemodynamic patterns recorded at mental arithmetic and resting. Eng Sci (NWSAENS) 13(1):27–36

    Google Scholar 

  11. Wen Y, Qi X, Cui S, Chen C, Chen M, Zhao J, Wang G (2019) A multi-channel NIRS system for prefrontal mental task classification employing deep forest algorithm. In: 2019 IEEE Biomedical Circuits and Systems Conference (BioCAS), pp 1–4

  12. Palaniappan R (2005) Brain computer interface design using band powers extracted during mental tasks. In: Conference Proceedings. 2nd International IEEE EMBS Conference on Neural Engineering, pp 321–324

  13. Yu X, Zhang J, Xie D, Wang J, Zhang C (2009) Relationship between scalp potential and autonomic nervous activity during a mental arithmetic task. Auton Neurosci 146(1–2):81–86

    Article  Google Scholar 

  14. Wang Q, Sourina O (2013) Real-time mental arithmetic task recognition from EEG signals. IEEE Trans Neural Syst Rehabil Eng 21(2):225–232

    Article  Google Scholar 

  15. Ergün E, Aydemir O (2020) A new evolutionary preprocessing approach for classification of mental arithmetic based EEG signals. Cogn Neurodyn 14(5):609–617

    Article  Google Scholar 

  16. Yu J, Liu GY, Wen WH, Chen CW (2020) Evaluating cognitive task result through heart rate pattern analysis. Healthcare Technol Lett 7(2):41–44

    Article  Google Scholar 

  17. Rahman MM, Chowdhury MA, Fattah SA (2018) An efficient scheme for mental task classification utilizing reflection coefficients obtained from autocorrelation function of EEG signal. Brain informatics 5(1):1–12

    Article  Google Scholar 

  18. Gupta A, Agrawal RK, Kirar JS, Andreu-Perez J, Ding WP, Lin CT, Prasad M (2019) On the utility of power spectral techniques with feature selection techniques for effective mental task classification in noninvasive BCI. IEEE Trans Syst Man Cybern Syst 51(5):3080–3092

    Article  Google Scholar 

  19. Hekmatmanesh A, Wu H, Motie-Nasrabadi A, Li M, Handroos H (2019) Combination of discrete wavelet packet transform with detrended fluctuation analysis using customized mother wavelet with the aim of an imagery-motor control interface for an exoskeleton. Multimedia Tools Appl 78:30503–30522

    Article  Google Scholar 

  20. Siviero I, Brusini L, Menegaz G, Storti SF (2022) Motor-imagery EEG signal decoding using multichannel-empirical wavelet transform for brain computer interfaces. In: 2022 IEEE-EMBS International Conference on Biomedical and Health Informatics (BHI), IEEE, pp. 1–4

  21. Zyma I, Tukaev S, Seleznov I, Kiyono K, Popov A, Chernykh M, Shpenkov O (2019) Electroencephalograms during mental arithmetic task performance. Data 4(1):14

    Article  Google Scholar 

  22. Graps A (1995) An introduction to wavelets. IEEE Comput Sci Eng 2(2):50–61

    Article  Google Scholar 

  23. Mallat SG (1989) A theory for multiresolution signal decomposition: the wavelet representation. IEEE Trans Pattern Anal Mach Intell 11(7):674–693

    Article  MATH  Google Scholar 

  24. Ocak H (2009) Automatic detection of epileptic seizures in EEG using discrete wavelet transform and approximate entropy. Expert Syst Appl 36(2):2027–2036

    Article  Google Scholar 

  25. Kehtarnavaz N, Kim N (2011) Digital signal processing system-level design using LabVIEW. Elsevier

    Google Scholar 

  26. Dehbozorgi L, Farokhi F (2010) Notice of Retraction: effective feature selection for short-term earthquake prediction using neuro-fuzzy classifier. In: 2010 Second IITA International Conference on Geoscience and Remote Sensing vol 2. IEEE, pp. 165–169

  27. Bramer M (2007) Principles of data mining, vol 180. Springer, London

    MATH  Google Scholar 

  28. Kubat M (2017) An introduction to machine learning. Springer International Publishing AG, Cham. https://doi.org/10.1007/978-3-319-63913-0

    Book  MATH  Google Scholar 

  29. Press SJ, Wilson S (1978) Choosing between logistic regression and discriminant analysis. J Am Stat Assoc 73(364):699–705

    Article  MATH  Google Scholar 

  30. Bishop CM (2006) Pattern recognition and machine learning. Springer, NY

    MATH  Google Scholar 

  31. Fielding AH (2006) Cluster and classification techniques for the biosciences. Cambridge University Press

    Book  Google Scholar 

  32. Michie D, Spiegelhalter DJ, Taylor CC (1994) Machine learning. Neural Stat Classif 13(1994):1–298

    MATH  Google Scholar 

Download references

Funding

The authors did not receive support from any organization for the submitted work.

Author information

Authors and Affiliations

Authors

Contributions

EB contributed to conceptualization, methodology, software, and validation. CO contributed to conceptualization, visualization, and investigation. EUE contributed to writing—original draft preparation, writing—reviewing and editing, and investigation.

Corresponding author

Correspondence to Canan Oral.

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

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

Bergil, E., Oral, C. & Ergül, E.U. Classification of arithmetic mental task performances using EEG and ECG signals. J Supercomput 79, 15535–15547 (2023). https://doi.org/10.1007/s11227-023-05294-0

Download citation

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11227-023-05294-0

Keywords

Navigation