arXiv:2609.11695cs.NISep 2026

Manuscript Offprint

arXiv:2609.11695

Electroencephalography Signal Analysis for Human Activities Classification: A Solution Based on Machine Learning and Motor Imagery

Tarciana C de Brito Guerra, Taline Nóbrega, Edgard Morya, Allan de M. Martins, Vicente A de Sousa

Tarciana C. de Brito Guerra 1,∗^{1,*} ID^{ID}, Taline Nóbrega 1^{1} ID^{ID}, Edgard Morya 2^{2} ID^{ID}, Allan de M. Martins 1^{1} ID^{ID} and Vicente A. de Sousa Jr. 1^{1} ID^{ID}

check for updates

Citation: Brito Guerra, T.C.; Nóbrega, T.; Morya, E.; Martins, A. M.; de Sousa, V.A., Jr. Electroencephalography

Signal Analysis for Human Activities

Classification: A Solution Based on

Machine Learning and Motor Imagery.

Sensors 2023, 1, 0. https://doi.org/

arXiv:2609.11695v1

Academic Editors: Georg Fischer and Sung-Phil Kim

Received:

Revised:

Accepted:

Published:

Figure

Copyright: © 2023 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).

1^{1} Graduate Program in Electrical and Computer Engineering (PPgEEC), Federal University of Rio Grande do Norte, Natal 59078-970, Brazil; taline.nobrega@gmail.com (T.N.); allan@dca.ufrn.br (A.M.M.); vicente.sousa@ufrn.br (V.A.S.J.)

2^{2} Graduate Program in Neuroengineering, Edmond and Lily Safra International Institute of Neuroscience, Santos Dumont Institute, Macaíba 59280-000, Brazil; edgard.morya@isd.org.br (E.M.)

Abstract: Electroencephalography (EEG) is a fundamental tool for understanding the brain’s electrical activity related to human motor activities. Brain-Computer Interface (BCI) uses such electrical activity to develop assistive technologies, especially those directed at people with physical disabilities. However, extracting signal features and patterns is still complex, sometimes delegated to machine learning (ML) algorithms. Therefore, this work aims to develop a ML based on the Random Forest algorithm to classify EEG signals from subjects performing real and imagery motor activities. The interpretation and correct classification of EEG signals allow the development of tools controlled by cognitive processes. We evaluated our ML Random Forest algorithm using a consumer and a research-grade EEG system. Random Forest efficiently distinguishes imagery and real activities and defines the related body part, even with consumer-grade EEG. However, interpersonal variability of the EEG signals negatively affects the classification process.

Keywords: EEG; machine learning; random forest; motor imagery; mindwave; V-AMP

1. Introduction

The World Health Organization (WHO) published the Global Disability Action Plan in 2015 [1]. The document presents statistical data and establishes objectives and action plans to promote quality of life for people with some disabilities. The main goals involve removing barriers and improving access to health services and programs. People with disabilities represent about 15% of the world population, which will increase due to longer life expectancy and continuous technological advances [1].

The development of assistive technologies promotes accessibility and rehabilitation [2]. The WHO on Disability [2] suggests research actions for developing technological devices to provide accessibility and rehabilitation. These devices could be a simple crutch, cane, or even a more complex solution, such as Brain-Computer Interface (BCI).

The advances in neuroscience associated with digital signal processing and biomedical instrumentation allow a better understanding of the brain’s functions [3]. These studies enable the development of systems capable of translating biological signals into digital responses [4]. Hans Berger recorded the first brain electrical activity from a human scalp [5]. Years later, Grey Walter described the first BCI. He implanted electrodes directly into the motor cortex and recorded brain activity. The results showed the possibility of predicting body movement by analyzing the brain’s signal [5,6].

The results of these researches stimulated interest in BCI, as they led to the possibility of implementing systems capable of helping impaired people, such as people with quadriplegia

Sensors 2023, 1, 0. https://doi.org/10.3390/s1010000

https://www.mdpi.com/journal/sensors

2 of 22

and some degenerative disease, for example, Amyotrophic Lateral Sclerosis (ALS) [7]. BCI is also used in other proposals, such as the control of Unmanned Aerial Vehicles (UAV) [8]. Therefore, its relevance is not limited to applications for people with physical and motor limitations [9].

BCI systems use electroencephalogram (EEG) to acquire brain electrical activity through non-invasive electrodes and safe and low-cost procedures [3,7]. This method has an excellent temporal resolution, allowing applications in many fields [10].

Extracting information robustly and reliably from EEG signals can be challenging [11]. Most projects generally consider the properties of EEG signals in the time, frequency, and space domains [12]. The objective is to identify the features of the signals associated with the brain activity of interest so that it is possible to control a BCI based on the user's intentions. Thus, processing these signals considers two fundamental steps: feature extraction and classification [3].

Another problem involving BCI is rapid data manipulation; the user must experience real-time interactions that mimic the body's natural actions [13]. The natural interaction with the external environment occurs from communicating the Central Nervous System (CNS) with the muscles through the Peripheral Nervous System (PNS). This communication is efferent - from CNS to PNS (control of voluntary movement); and afferent—from the sensory system to the CNS (sensation and perception). Any damage to these pathways can result in sensorimotor problems and permanent damage to motor control [9].

EEG is widely used to control BCI. However, these signals are very susceptible to noise, and pattern identification is complex [13]. In this context, it is possible to use data analysis to interpret these signals adequately. Studies show that machine learning algorithms efficiently explore and classify neural activities [14]. These algorithms automatically classify the data, allowing more practical applications, and it is less dependent on trained professionals [14].

The acquisition protocols used to collect EEG signals usually involve motor tasks, sensory stimuli, such as image and sound presentation, and activities that comprise mental simulation of a motor act, also known as motor imagery [9]. The protocol depends on the application of interest. BCI implemented for people with some motor disability generally aims to implement acquisition protocols independent of motor control. The use of motor imagery makes it possible, for example, for a person with paraplegia to control a neuroprosthesis since the signal to be collected does not depend on the remaining muscle activity [15].

Thus, applications with this type of protocol not only benefit the control of devices through EEG signals but also allow the rehabilitation of people with motor disabilities [15]. This type of rehabilitation is possible due to neuronal plasticity, which is the ability of neurons to establish new connections from new stimuli, which may come from the organism itself or the external environment [7]. The brain can learn new functions and adapt itself, even when some regions have functional impairment [15].

The rest of this paper is structured as follows. Section 2 shows the research background and the related works, while Section 3 focuses on our proposed solution, including the details of signal processing and Machine Learning (ML) structure. Section 4 gives information on the experiment setup and the measurement protocol, and Section 5 shows the results. Finally, Section 6 describes our conclusions and final remarks.

References (25)