Skip to main content
Log in

Mental arithmetic task load recognition using EEG signal and Bayesian optimized K-nearest neighbor

  • Original Research
  • Published:
International Journal of Information Technology Aims and scope Submit manuscript

Abstract

Cognitive load recognition during mental arithmetic activity facilitates to observe and identify the brain’s response towards stress stimulus. As a result, an efficient mental load characterization approach using electroencephalogram (EEG) signal and Bayesian optimized K-Nearest Neighbor (BO-KNN) has been proposed in this work. The study has been conducted on a recorded EEG dataset of 30 healthy subjects who were exposed to an arithmetic questioner. To obtain artifacts free EEG signal, the Savitzky–Golay filtering approach has been utilized. Further, the decomposition of the extracted EEG signal has been carried out using stationary wavelength transform. In this work, the entropy based feature extraction has been performed followed by F-score based feature selection. Top 40 features having the highest precedence have been used for classification using BO-KNN. The rigorous experimental analysis has been performed to analyze the effectiveness of the proposed method over other state-of-the-art methods and it shows that the classification accuracy is substantially improved.

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

Similar content being viewed by others

References

  1. Yaribeygi H, Panahi Y, Sahraei H, Johnston TP, Sahebkar A (2017) The impact of stress on body function: a review. EXCLI J 16:1057

    Google Scholar 

  2. Lin CT, King JT, Fan JW, Appaji A, Prasad M (2017) The influence of acute stress on brain dynamics during task switching activities. IEEE Access 6:3249–55

    Article  Google Scholar 

  3. Jenke R, Peer A, Buss M (2014) Feature extraction and selection for emotion recognition from EEG. IEEE Trans Affect comput 5(3):327–39

    Article  Google Scholar 

  4. Sharma LD, Saraswat RK, Sunkaria RK (2021) Cognitive performance detection using entropy-based features and lead-specific approach. Signal, Image and Video Processing 1–8. https://doi.org/10.1007/s11760-021-01927-0

  5. Al-Shargie F, Tang TB, Badruddin N, Kiguchi M (2015) Mental stress quantification using EEG signals. International Conference for Innovation in Biomedical Engineering and Life Sciences. Springer, Singapore, pp 15–9

    Google Scholar 

  6. Alonso J, Romero S, Ballester M, Antonijoan R, Mañanas M (2015) Stress assessment based on EEG univariate features and functional connectivity measures. Physiol Meas 36(7):1351

    Article  Google Scholar 

  7. Vanitha V, Krishnan P (2017) Real time stress detection system based on EEG signals. Biomedical Research pp, S271--S275

  8. Asif A, Majid M, Anwar SM (2019) Human stress classification using EEG signals in response to music tracks. Comput Biol Med 107:182–96

    Article  Google Scholar 

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

  10. Fatimah B, Pramanick D, Shivashankaran P (2020) Automatic detection of mental arithmetic task and its difficulty level using EEG signals. In: 2020 11th International Conference on Computing, Communication and Networking Technologies (ICCCNT). IEEE, 1-6

  11. Fatimah B, Javali A, Ansar H, Harshitha B, Kumar H (2020) Mental Arithmetic Task Classification using Fourier Decomposition Method. In: 2020 International Conference on Communication and Signal Processing (ICCSP). IEEE, 0046-50

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

    Article  Google Scholar 

  13. 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, 199-204

  14. Savitzky A, Golay MJ (1964) Smoothing and differentiation of data by simplified least squares procedures. Anal Chem 36(8):1627–39

    Article  Google Scholar 

  15. Luo J, Ying K, Bai J (2005) Savitzky–Golay smoothing and differentiation filter for even number data. Signal Process 85(7):1429–34

    Article  Google Scholar 

  16. Sharma LD, Sunkaria RK (2016) A robust QRS detection using novel pre-processing techniques and kurtosis based enhanced efficiency. Measurement 87:194–204

    Article  Google Scholar 

  17. Nason GP, Silverman BW (1995) The stationary wavelet transform and some statistical applications. Wavelets and statistics. Springer, New York, pp 281–99

    Chapter  Google Scholar 

  18. Sharma LD, Sunkaria RK (2018) Inferior myocardial infarction detection using stationary wavelet transform and machine learning approach. Signal Image Video Process 12(2):199–206

    Article  Google Scholar 

  19. Sharma LD, Sunkaria RK (2018) Stationary wavelet transform based technique for automated external defibrillator using optimally selected classifiers. Measurement 125:29–36

    Article  Google Scholar 

  20. Richman JS, Moorman JR (2000) Physiological time-series analysis using approximate entropy and sample entropy. American Journal of Physiology-Heart and Circulatory Physiology 278(6):H2039–H2049

  21. Alcaraz R, Rieta JJ (2007) Bidomain sample entropy to predict termination of atrial arrhythmias. In: 2007 IEEE International Symposium on Intelligent Signal Processing. IEEE, 1–6

  22. Sharma L, Sunkaria R (2020) Myocardial infarction detection and localization using optimal features based lead specific approach. IRBM 41(1):58–70

    Article  Google Scholar 

  23. Stam C (2000) Brain dynamics in theta and alpha frequency bands and working memory performance in humans. Neurosci Lett 286(2):115–8

    Article  Google Scholar 

  24. Yentes JM, Hunt N, Schmid KK, Kaipust JP, McGrath D, Stergiou N (2013) The appropriate use of approximate entropy and sample entropy with short data sets. Ann Biomed Eng 41(2):349–65

    Article  Google Scholar 

  25. Sharma LD, Sunkaria RK (2019) Detection and delineation of the enigmatic U-wave in an electrocardiogram. International Journal of Information Technology, 1–8. https://doi.org/10.1007/s41870-019-00287-w

  26. Mittal K, Aggarwal G, Mahajan P (2019) Performance study of K-nearest neighbor classifier and K-means clustering for predicting the diagnostic accuracy. Int J Inf Technol 11(3):535–40

    Google Scholar 

  27. Sharma LD, Sunkaria RK, Kumar A (2017) Bundle branch block detection using statistical features of qrs-complex and k-nearest neighbors. In: 2017 Conference on Information and Communication Technology (CICT). IEEE, 1-4

  28. Mockus J, Tiesis V, Zilinskas A (1978) The application of Bayesian methods for seeking the extremum. Towards Glob Optim 2(117–129):2

    MATH  Google Scholar 

  29. Snoek J, Larochelle H, Adams RP (2012) Practical bayesian optimization of machine learning algorithms. arXiv preprint arXiv:12062944

  30. García-Martínez B, Martínez-Rodrigo A, Zangróniz R, Pastor J, Alcaraz R (2017) Symbolic analysis of brain dynamics detects negative stress. Entropy 19(5):196

    Article  Google Scholar 

  31. García-Martínez B, Martínez-Rodrigo A, Zangróniz Cantabrana R, Pastor García J, Alcaraz R (2016) Application of entropy-based metrics to identify emotional distress from electroencephalographic recordings. Entropy 18(6):221

    Article  MathSciNet  Google Scholar 

  32. Jebelli H, Hwang S, Lee S (2018) EEG-based workers’ stress recognition at construction sites. Autom Constr 93:315–24

    Article  Google Scholar 

  33. Xin L, Zetao C, Yunpeng Z, Jiali X, Shuicai W, Yanjun Z (2016) Stress state evaluation by an improved support vector machine. Neurophysiology 48(2):86–92

    Article  Google Scholar 

Download references

Acknowledgements

This work is funded under the Technical Education Quality Improvement Program (TEQIP-III) and carried out under CRS application ID: 1- 5730990370. This work is technically sponsored by RGEMS, VIT-AP University.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Himanshu Chhabra.

Ethics declarations

Conflict of interest

There is no conflict of interest.

Ethical declarations

All the necessary guidelines were followed while recording the data used in this research work. All the participants were informed that their data would be used only for research purposes.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Sharma, L.D., Chhabra, H., Chauhan, U. et al. Mental arithmetic task load recognition using EEG signal and Bayesian optimized K-nearest neighbor. Int. j. inf. tecnol. 13, 2363–2369 (2021). https://doi.org/10.1007/s41870-021-00807-7

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s41870-021-00807-7

Keywords

Navigation