Skip to main content
Log in

Investigating brain activity patterns during learning tasks through EEG and machine learning analysis

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

Abstract

The objective of this study was to analyze brain activity during different STEM (Science, Technology, Engineering, and Mathematics) activities in order to better understand brain activity and the feasibility to classifying between various activities. Electroencephalogram (EEG) brain data from twenty subjects were collected during the engagement of five distinct cognitive tasks (working memory, planning, arithmetic, functioning, mental flexibility, and cognitive flexibility). This data was then segmented into 4 s clips and analyzed by taking the power spectral densities of brain frequency waves. After testing numerous different training and testing k-intervals between the XGBoost, Random Forest, and Bagging Classifier, it was found that the method of using the Random Forest performed the highest at 91.07% testing accuracy during an interval size of two. When all four EEG channels work together during classification, cognitive flexibility was most easily recognizable. However, after comparing each task’s classification performance on singular locations of sensors, it was found that the right frontal lobe provided high classification accuracy toward mathematical processing and planning, the left frontal lobe performed well on cognitive flexibility and mental flexibility, and the left temporoparietal lobe was best during connections. It was also found that there are lots of connections between the frontal and temporoparietal lobes during STEM activities. Ultimately, this study establishes a better understanding for the implementation of machine learning in brain activity and helps to better understand the brain’s mechanisms.

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

Similar content being viewed by others

Data availability

The data that support the findings of this study are available on request from the corresponding author, Dr. Hwang.

References

  1. Mervosh S (2022) “The Pandemic Erased Two Decades of Progress in Math and Reading,” The New York Times, Sep. 01, 2022. Accessed: Jan. 07, 2024. [Online]. Available: https://www.nytimes.com/2022/09/01/us/national-test-scores-math-reading-pandemic.html

  2. Shabani K, Khatib M, Ebadi S (2010) Vygotsky’s zone of proximal development: instructional implications and teachers’ professional development. Engl Lang Teach 3(4):237–248

    Article  Google Scholar 

  3. Forsberg A, Blume CL, Cowan N (2021) The development of metacognitive accuracy in working memory across childhood. Dev Psychol 57(8):1297–1317. https://doi.org/10.1037/dev0001213

    Article  Google Scholar 

  4. Han J, Kelley T, Knowles JG (2021) Factors influencing student STEM learning: self-efficacy and outcome expectancy, 21st Century skills, and career awareness. J STEM Educ Res 4(2):117–137. https://doi.org/10.1007/s41979-021-00053-3

    Article  Google Scholar 

  5. Li Y, Wang K, Xiao Y, Froyd JE (2020) Research and trends in STEM education: a systematic review of journal publications. Int J STEM Educ 7(1):11. https://doi.org/10.1186/s40594-020-00207-6

    Article  Google Scholar 

  6. Elsayed M, Abdo S (2022) The effectiveness of learning mathematics according to the STEM approach in developing the mathematical proficiency of second graders of the intermediate school. Educ Res Int 2022:e5206476. https://doi.org/10.1155/2022/5206476

    Article  Google Scholar 

  7. Cheng J, Koszalka TA (2016) Cognitive flexibility theory and its application to learning resources. RIDLR project

  8. İlçin N, Tomruk M, Yeşilyaprak SS, Karadibak D, Savcı S (2018) The relationship between learning styles and academic performance in TURKISH physiotherapy students. BMC Med Educ 18(1):291. https://doi.org/10.1186/s12909-018-1400-2

    Article  Google Scholar 

  9. Li Y et al (2020) On computational thinking and STEM education. J STEM Educ Res 3(2):147–166. https://doi.org/10.1007/s41979-020-00044-w

    Article  Google Scholar 

  10. Swati S, Kumar M (2023) Analysis of multichannel neurophysiological signal for detecting epilepsy using deep-nets. Int J Inf Technol 15(3):1435–1441. https://doi.org/10.1007/s41870-023-01186-x

    Article  Google Scholar 

  11. Kumar PR, Shilpa B, Jha RK, Mohanty SN (2023) A novel end-to-end approach for epileptic seizure classification from scalp EEG data using deep learning technique. Int J Inf Technol 15(8):4223–4231. https://doi.org/10.1007/s41870-023-01428-y

    Article  Google Scholar 

  12. Khan AT, Khan YU (2021) Time domain based seizure onset analysis of brain signatures in pediatric EEG. Int J Inf Technol 13(2):453–458. https://doi.org/10.1007/s41870-020-00596-5

    Article  Google Scholar 

  13. Das P, Nanda S (2023) A novel multivariate approach for the detection of epileptic seizure using BCS-WELM. Int J Inf Technol 15(1):149–159. https://doi.org/10.1007/s41870-022-01126-1

    Article  Google Scholar 

  14. Nakra A, Duhan M (2022) Motor imagery EEG signal classification using long short-term memory deep network and neighbourhood component analysis. Int J Inf Technol 14(4):1771–1779. https://doi.org/10.1007/s41870-022-00866-4

    Article  Google Scholar 

  15. Qu X, Sun Y, Sekuler R, Hickey T (2018) EEG markers of STEM learning. In: 2018 IEEE Frontiers in Education Conference (FIE), San Jose, CA, USA: IEEE Press. pp. 1–9. doi: https://doi.org/10.1109/FIE.2018.8659031

  16. Fitzgibbon SP, Pope KJ, Mackenzie L, Clark CR, Willoughby JO (2004) Cognitive tasks augment gamma EEG power. Clin Neurophysiol 115(8):1802–1809. https://doi.org/10.1016/j.clinph.2004.03.009

    Article  Google Scholar 

  17. Wilson GF, Fisher F (1995) Cognitive task classification based upon topographic EEG data. Biol Psychol 40(1):239–250. https://doi.org/10.1016/0301-0511(95)05102-3

    Article  Google Scholar 

  18. Amin HU et al (2015) Feature extraction and classification for EEG signals using wavelet transform and machine learning techniques. Australas Phys Eng Sci Med 38(1):139–149. https://doi.org/10.1007/s13246-015-0333-x

    Article  Google Scholar 

  19. “PEBL: The Psychology Experiment Building Language.” Accessed: Jan. 07, 2024. [Online]. Available: https://pebl.sourceforge.net/

  20. Mueller ST, Piper BJ (2014) The Psychology Experiment Building Language (PEBL) and PEBL test battery. J Neurosci Methods 222:250–259. https://doi.org/10.1016/j.jneumeth.2013.10.024

    Article  Google Scholar 

  21. Gevins A, Smith ME, McEvoy LK, Leong H, Le J (1999) Electroencephalographic imaging of higher brain function. Philos Trans R Soc B Biol Sci. 354(138):1125–1133

    Article  Google Scholar 

  22. Singh Y, Singh J, Sharma R, Talwar A (2015) FFT transformed quantitative EEG analysis of short term memory load. Ann Neurosci 22(3):176–179. https://doi.org/10.5214/ans.0972.7531.220308

    Article  Google Scholar 

  23. Mohammed A, Kora R (2023) A comprehensive review on ensemble deep learning: opportunities and challenges. J. King Saud Univ Comput Inf. Sci. 35(2):757–774. https://doi.org/10.1016/j.jksuci.2023.01.014

    Article  Google Scholar 

  24. Biau G, Scornet E (2016) A random forest guided tour. TEST 25(2):197–227. https://doi.org/10.1007/s11749-016-0481-7

    Article  MathSciNet  Google Scholar 

  25. Chen T, Guestrin C (2016) XGBoost: a scalable tree boosting system. In: Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, in KDD ’16. New York, NY, USA: Association for Computing Machinery. p 785–794. https://doi.org/10.1145/2939672.2939785

  26. A comparative analysis of machine and deep learning techniques for EEG evoked emotion classification. springerprofessional.de. Accessed: Jan. 07, 2024. [Online]. Available: https://www.springerprofessional.de/en/a-comparative-analysis-of-machine-and-deep-learning-techniques-f/23607012

  27. Bentéjac C, Csörgő A, Martínez-Muñoz G (2021) A comparative analysis of gradient boosting algorithms. Artif Intell Rev 54(3):1937–1967. https://doi.org/10.1007/s10462-020-09896-5

    Article  Google Scholar 

  28. Harmony T (2013) The functional significance of delta oscillations in cognitive processing. Front Integr Neurosci. https://doi.org/10.3389/fnint.2013.00083

    Article  Google Scholar 

  29. Collins A, Koechlin E (2012) Reasoning, learning, and creativity: frontal lobe function and human decision-making. PLOS Biol 10(3):e1001293. https://doi.org/10.1371/journal.pbio.1001293

    Article  Google Scholar 

  30. Woolnough O et al (2023) Spatiotemporally distributed frontotemporal networks for sentence reading. Proc Natl Acad Sci 120(17):e2300252120. https://doi.org/10.1073/pnas.2300252120

    Article  Google Scholar 

Download references

Acknowledgements

We acknowledge the support from students at NIU who participated in the test as subjects.

Funding

This study was partially supported by 2023 UFA funding at NIU.

Author information

Authors and Affiliations

Authors

Contributions

Conceptualization: Jaejin Hwang, Ryan Cho; Methodology: Mobasshira Zaman, Ryan Cho; Formal analysis and investigation: Ryan Cho; Writing—original draft preparation: Ryan Cho; Writing—review and editing: Jaejin Hwang, Kyu Taek Cho, Ryan Cho; Funding acquisition: Jaejin Hwang, Kyu Taek Cho; Resources: Jaejin Hwang; Supervision: Jaejin Hwang.

Corresponding author

Correspondence to Jaejin Hwang.

Ethics declarations

Conflict of interest

The authors declare that they have no financial or non-financial interests that are directly or indirectly related to the work submitted for publication.

Supplementary Information

Below is the link to the electronic supplementary material.

Supplementary file1 (DOCX 14 KB)

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

Cho, R., Zaman, M., Cho, K.T. et al. Investigating brain activity patterns during learning tasks through EEG and machine learning analysis. Int. j. inf. tecnol. (2024). https://doi.org/10.1007/s41870-024-01856-4

Download citation

  • Received:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1007/s41870-024-01856-4

Keywords

Navigation