Next Article in Journal
An Open-Source, Interoperable Architecture for Generating Real-Time Surgical Team Cognitive Alerts from Heart-Rate Variability Monitoring
Next Article in Special Issue
Optimal Combination of Mother Wavelet and AI Model for Precise Classification of Pediatric Electroretinogram Signals
Previous Article in Journal
Multispectral Imaging for Skin Diseases Assessment—State of the Art and Perspectives
Previous Article in Special Issue
Cross Dataset Analysis for Generalizability of HRV-Based Stress Detection Models
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

EEG Signal Complexity Measurements to Enhance BCI-Based Stroke Patients’ Rehabilitation

by
Noor Kamal Al-Qazzaz
1,*,
Alaa A. Aldoori
1,
Sawal Hamid Bin Mohd Ali
2,3,
Siti Anom Ahmad
4,5,
Ahmed Kazem Mohammed
1 and
Mustafa Ibrahim Mohyee
1
1
Department of Biomedical Engineering, Al-Khwarizmi College of Engineering, University of Baghdad, Baghdad 47146, Iraq
2
Department of Electrical, Electronic and Systems Engineering, Faculty of Engineering and Built Environment, Universiti Kebangsaan Malaysia, UKM, Bangi 43600, Selangor, Malaysia
3
Centre of Advanced Electronic and Communication Engineering, Department of Electrical, Electronic and Systems Engineering, Universiti Kebangsaan Malaysia, UKM, Bangi 43600, Selangor, Malaysia
4
Department of Electrical and Electronic Engineering, Faculty of Engineering, Universiti Putra Malaysia, UPM, Serdang 43400, Selangor, Malaysia
5
Malaysian Research Institute of Ageing (MyAgeing)TM, University Putra Malaysia, Serdang 43400, Selangor, Malaysia
*
Author to whom correspondence should be addressed.
Sensors 2023, 23(8), 3889; https://doi.org/10.3390/s23083889
Submission received: 4 February 2023 / Revised: 1 March 2023 / Accepted: 9 March 2023 / Published: 11 April 2023
(This article belongs to the Special Issue AI on Biomedical Signal Sensing and Processing for Health Monitoring)

Abstract

:
The second leading cause of death and one of the most common causes of disability in the world is stroke. Researchers have found that brain–computer interface (BCI) techniques can result in better stroke patient rehabilitation. This study used the proposed motor imagery (MI) framework to analyze the electroencephalogram (EEG) dataset from eight subjects in order to enhance the MI-based BCI systems for stroke patients. The preprocessing portion of the framework comprises the use of conventional filters and the independent component analysis (ICA) denoising approach. Fractal dimension ( F D ) and Hurst exponent ( H u r ) were then calculated as complexity features, and Tsallis entropy ( T s E n ) and dispersion entropy ( D i s p E n ) were assessed as irregularity parameters. The MI-based BCI features were then statistically retrieved from each participant using two-way analysis of variance (ANOVA) to demonstrate the individuals’ performances from four classes (left hand, right hand, foot, and tongue). The dimensionality reduction algorithm, Laplacian Eigenmap ( L E ), was used to enhance the MI-based BCI classification performance. Utilizing k-nearest neighbors (KNN), support vector machine (SVM), and random forest (RF) classifiers, the groups of post-stroke patients were ultimately determined. The findings show that L E with RF and KNN obtained 74.48% and 73.20% accuracy, respectively; therefore, the integrated set of the proposed features along with ICA denoising technique can exactly describe the proposed MI framework, which may be used to explore the four classes of MI-based BCI rehabilitation. This study will help clinicians, doctors, and technicians make a good rehabilitation program for people who have had a stroke.

1. Introduction

Common symptoms that have a substantial impact on the quality of life of stroke survivors include disability and cognitive impairment; stroke is the most frequent cause of disability and impairment [1]. Daily activities are significantly impacted by those impairments [2]. Recent studies have concentrated on developing effective therapies and rehabilitation programs for stroke victims. Helping the brain repair neuronal connections and make up for damaged circuits is the goal of therapy and rehabilitation. Though choosing the appropriate course of action can take weeks, it is still not yet possible to do so objectively [3].
Researchers have discovered in recent years that brain–computer interface (BCI) techniques can improve communication between the brain and computer by decoding brain neural signals [4,5]. There have been several attempts to investigate the application of BCI, but motor imagery (MI) has received the most attention since it causes the motor cortex to respond when a person mentally models a specific movement of limbs without activating their muscles [4]. Even in the presence of significant nerve injury, repetitive training based on MI encourages neuronal reorganization [6,7]. In conjunction with specific external assistive technologies, the MI-based system has the potential to significantly improve the quality of life for individuals with stroke, spinal cord injury, and amyotrophic lateral sclerosis [8,9].
Researchers used event-related desynchronization and event-related synchronization (ERD/ERS) to classify mental states [10,11], because the sensorimotor cortex attenuates oscillatory brain activity within specific frequency bands [12,13], which can be distinguished when the subject imagines moving different sides of the body [14,15]. EEG signals can be used to track a patient’s health and brain activity changes [16].
All prior research contributes significantly to the MI classification task. Classifiers such as support vector machines (SVM), linear discriminant analyses (LDA), and random forests (RF) have all been employed [5]. Nevertheless, most previous research only employs a single conventional filter during the preprocessing (denoising) stage, and most forecast MI EEG data analysis techniques overlook the benefits of using a hybrid filtering strategy for denoising the EEG signal before deploying algorithms. Most previous research has employed feature extraction approaches that are specific to a single domain, such as CSP or WT [17], during the feature extraction step. Existing research has not shown a variety of feature extraction and dimensionality reduction techniques to evaluate the MI EEG’s complexity and irregularity, an area where much opportunity exists to enhance classification accuracy.
Apart from other studies, in this work, the preprocessing stage was where the conventional filters and independent component analysis (ICA) denoising technique were initially applied. Then, nonlinear features were retrieved, such as fractal dimension ( F D ), Hurst exponent ( H u r ), and Tsallis entropy ( T s E n ), as well as dispersion entropy ( D i s p E n ), as dynamic entropy parameters. Two-way analysis of variance (ANOVA) was used to statistically analyze four MI-based classes. Due to the effectiveness of the used features, they were combined into C o m p E n integrated feature set. Laplacian Eigenmap ( L E ) dimensionality reduction algorithm was applied to the feature set to improve the classification performance of the motor imagery (MI)-based BCI stroke patients.
Not all of the time will a decision BCI MI-based EEG dataset system show promising outcomes; its advantages and disadvantages should be weighed carefully. In particular, unlike other methods that involve a great deal of training and expensive sensors, EEGs are a wireless, low-cost device that can automatically recognize MI from EEG data. When compared to magnetoencephalogram (MEG) systems, the proposed C o m p E n integrated feature set can investigate complexity and irregularity over the entire spectrum of MI-based EEG data with normal throughput and can be mastered by a greater number of users.
To the author’s knowledge, this work has addressed the contribution of the EEG role in the MI-based BCI interaction. This paper’s primary novelty, therefore, has two components. Its first objective is to suggest a wireless EEG system based on low-cost, automated EEG signals that can recognize MI. This can be accomplished by examining the complexity and irregularity over the entire spectrum of MI-based EEG data and proposing the C o m p E n integrated feature set. Second, the feature set was subjected to the Laplacian Eigenmap ( L E ) dimensionality reduction approach to improve classification performance in the development of the MI framework, which can be sensitive for detecting a four-MI-class (left hand, right hand, feet, and tongue) from eight patients.

2. Related Works

EEG is a non-invasive method for identifying conditions and symptoms that affect the brain. Numerous neurological conditions, including epilepsy, tumors, cerebrovascular lesions, depression, and trauma-related issues, can be diagnosed with its aid. An emerging method of direct brain-to-computer communication, known as EEG-based BCI, relies on the interpretation of features that are extracted from the EEG signal with higher resolution than those found in signals from other devices [18].
The EEG potentials recorded from the scalp’s surface are bioelectric signals produced by the neuronal activity of the brain. Many researchers have been concentrating on the fundamentals of BCI in recent years through the interpretation of EEG-based commands and have worked on controlling a device with this approach [18]. These research studies continue to contribute to raising the quality of life for those who are paralyzed or have lost limbs such as their arms and legs [19]. An EEG-based BCI system that Mabrouk et al. [20] have created shows the user’s EEG signals and accurately categorizes them as fictitious right and left hand movements.
According to studies conducted by [21], the active EEG frequency bands and brain regions that contribute to cognitive load fluctuate based on the learning state. Moreover, they reported variations in EEG frequency bands in specific brain regions under cognitive stress when performing activities involving human–computer interaction [22].
EEG is, therefore, trustworthy and among the most sensitive indicators of brain activities for determining mental burden brought on by cognitive processing [23].
Recognizing the most pronounced marks from EEG signals is essential to detecting and identifying brain features as well as assessing the EEG signal variable under evaluation [3]. From a clinical standpoint, the neurologist interprets the post-stroke patient’s EEG signal by looking at wave rhythms, amplitudes, asymmetries, changes in magnitudes, the presence of waves, and the ratio between waves [24,25].
The recorded wave activities could be distorted, though, by a variety of artifacts [26,27]. The abnormal behavior of the brain can typically be imitated or superimposed by these artifacts. Additionally, significant artifacts that conflict with EEG, such as eye blinks and ocular movements, cardiac artifacts, muscle activities, and noise from power lines, may cross EEG frequencies [28]. Thus, it is challenging to categorize EEG signals due to noise [29].
In order to improve our understanding of how the brain works, it is crucial to quantify the complexity of the EEG signal [30]. This allows us to obtain insight into the process and distinguishing characteristics of the signal. When examining the complexity changes caused by events in the functional areas of the brain, nonlinear parameters are very useful indicators [31]. It should be noted that nonlinear parameters are frequently employed for a range of neurophysiological investigations and applications utilizing EEG signals [32]. The EEG signal is difficult to acquire, process, and analyze due to its complexity and nonstationarity. When data processing for feature extraction is properly prioritized, significant information about the neurophysiological conditions in the brain can be gleaned.
Due to the numerous redundant data reductions and transformations involved in data processing, one must be extremely careful when selecting the best methodology to prevent information loss. Using advocates of nonlinear discrete dynamical systems, the authors of previously published studies have examined changes in the temporal dynamics of the EEG signal under moderate to demanding mental stimulation. However, it has been suggested that the brain in the majority of these cases functions as a nested network of coupled dynamical systems that maintains spatial and temporal dynamics and can be identified through nonlinear biomarkers of EEG signal [5,24].
The most recent techniques for EEG analysis for MI-based BCI are shown in Table 1, which also includes feature extraction and classification methods as well as various denoising techniques. Bandpass filters and notch filters have been used as denoising techniques in many studies, see [33,34,35], but blind source separation algorithms (BSS) have also been used with ICA in other studies (see [36,37,38]). As in [17,33,35,38], CSP was also the most widely used feature extraction technique. In reality, different EEG-based BCI datasets show differences in the brain regions associated with MI-BCI, making it difficult for conventional methods of feature extraction to demonstrate accurate classification of different classes.
As far as the authors of this article are aware, the majority of studies computed the nonlinear dynamical parameters. The complexity and irregularity characteristics used in this study, however, may aid in understanding how specific spatial information of brain functions changes over time [39]. The majority of EEG-BCI-based motor imagery studies published in the literature concentrate on separating left from right hand or foot motor imagery [19].
As a result, this issue could be resolved by using more effective features that are compatible with the complexity of the brain and that can be used to elicit the unique performance of subjects following motor imagery (MI)-based BCI rehabilitation.

3. Methods and Materials

This study’s methodology entails examining nonlinear MI-BCI EEG-based time series in an effort to find variations in complexity and entropy occurring during MI-BCI. Figure 1 shows the directions for the MI-based BCI framework, including the stages of preprocessing, feature extraction, statistical analysis, LE dimensionality reduction, and classification.

3.1. Data Description

The dataset used is BCI Competition IV dataset 2a, [22], which is a four-class (left hand, right hand, foot, and tongue) MI dataset from eight subjects donated by Graz University (Table 2), homepage (http://www.bbci.de/competition/iV accessed on 12 January 2023). To collect the dataset, 22 EEG channels and 3 EOG channels are employed at a sampling rate of 250 Hz. The original EEG with 22 channels is shown in Figure 2.
Each subject’s data consists of two sessions: a training session and a testing session. There are a total of 288 trials for the four classes in each session, with an average of 72 trials per class. Throughout the data collection process, 22 Ag/AgCl electrodes were used, and the amplifier’s sensitivity was adjusted to 100 V. The 8–32 Hz band is used to filter the raw EEG signal [23]. Because the alpha and beta frequency bands, which have been found to be the most pertinent for MI categorization, are included in the frequency band, it was chosen. BCI Competition IV [22] contains a thorough overview of the dataset.
A cross and a brief warning tone are displayed on the blank screen at the start of each trial (t = 0 s). An arrow that points left, right, below, or above shows on the screen two seconds later (t = 2 s) and remains there for four seconds. Up until the prompt arrow vanished from the screen (t = 6 s), the subject completed the necessary motor imaging tasks. Following a brief intermission, the screen became completely black for the following motion imagination experiment (Figure 3) [4].

3.2. Preprocessing Stage

Because the MI-based BCI was contaminated by so many different artifacts (Figure 4), conventional filtering and the independent component analysis (ICA) techniques have been used as described in the following sections.

3.2.1. Conventional Filtering

To obtain the EEG dataset, 22 scalp-area channels were used. Each channel of the acquired EEG datasets was processed individually using conventional filtering techniques in the first stage. The power line interference noise was eliminated using a notch filter at 50 Hz, and the band of the recorded EEG signals was limited using a band pass filter (BPF) with a frequency around (8–30) Hz.

3.2.2. Independent Component Analysis (ICA)

Therefore, the ICA technique has been utilized to identify and eliminate various artifacts from EEG data. First, the ICA algorithm and the linear mixing model were used since ICA is a potent statistical technique for separating mixed signals based on a number of presumptions. The most crucial premise is that the sources already in existence be statistically independent of one another, and the mixing procedure should be instantaneous and linear [42,43].
The goal of ICA is to estimate the set of n unknown components, s ( t ) = [ s 1 ( t ) , ,   s n ( t ) ] , which were linearly mixed by the matrix A , x ( t ) is the set of observations and x ( t ) = [ x 1 ( t ) , ,   x n ( t ) ] [42,44]. Where x ( t ) represents the EEGs, which are related to s ( t ) , t is the time or sample index, the ICA linear transform Equation is:
x ( t ) = As ( t )
where x ( t ) and s ( t ) are supposed to have zero mean. The ICA uses the higher-order statistics of x ( t ) to compute the demixing matrix W , which is the inverse matrix of   A , to be linearly represented the independent components. Then, under such assumptions, the ICs can be estimated by Equation (2) [42,44,45]:
y ( t ) = Wx ( t )
where y ( t ) = [ y 1 ( t ) , ,   y n ( t ) ] is the vector that estimate the ICs.
As a result, ICA is regarded as an effective method for identifying artifact components and brain activity components that may be affected more than other components [46,47,48].
In this study, denoising the EEG signals to increase characteristics during MI tasks was the main objective rather than isolating specific physiological activity. It is necessary to define a standard to compare ICs from various EEG epochs and participants and to identify which components are noise-sensitive [46,47,48]. This criterion was met by decomposing EEG data using the SOBI method, which was based on SOBI algorithm [49,50]. In order to extract the new component matrix   S ¯   and modify for various circumstances, the SOBI algorithm was chosen because of its robustness, speed of convergence, and minimal number of tunable parameters [51].
The ICA method is used to remove artifacts from EEG recordings; however, its implementation depends heavily on the user, because one of ICA’s biggest drawbacks is that it cannot identify the estimated origins. The application of the artifact detection metrics based on the estimation of cross correlation (XCorr) overcame this restriction. The data will be cleared of all artifactual ICs marked using XCorr (zeroing the artifactual ICs method). Equation (3) gives the correlation X C o r r between the interest-related EEG signal   x and the EOG noisy signal y .
X C o r r ( x , y ) = ( x x ¯ ) ( y y ¯ ) ( x x ¯ ) 2 ( y y ¯ ) 2
The original, artifact-free EEG data will be used to estimate the ICA for the artifactual free ICs, which will be reconfigured as the new dataset. As stated in Equation (4), the ICA calculated of the original, artifact-free EEG data was reconstructed from the ICA corrected EEG signals to create x ^ , the new data set, where s ^ ( t ) is the new component matrix.
x ^ ( t ) = A s ^ ( t )

3.3. Features Extraction

3.3.1. Complexity Analysis

The EEG signal is the key to determining the complexity of the nonlinear activity of the brain, which is why the human brain is regarded as a dynamical system. The EEG signal’s dynamical system state can be determined by calculating the signal’s complexity [49]. The F D and H u r nonlinear time series approaches [50] are extremely effective and accurate in describing the MI-based EEG times series [51], which is how physiological signal complexity is best evaluated.

Fractal Dimension ( FD )

Higuchi’s fractal dimension F D is a suitable technique for assessing biomedical signals [52] due to its reliance on a binary sequence and, frequently, decreased sensitivity to noise [53]. Since MI-based BCI rehabilitation uses EEG inputs, this work employed F D to look at such signals. The procedure to compute the H F D can be explained as follows:
Given a one dimensional time series X = x [ 1 ] , x [ 2 ] , ,   x [ N ] , the algorithm to compute the H F D can be described as follows [54]:
X k m = { x [ m ] ,   x [ m + k ] , x [ m + 2 k ] , , x [ m + N m k × k ] }
where k and m are integers, k indicates the discrete time interval between points, whereas m = 1 , 2 , , k represents the initial time value. For each of the k time series X k m , the length L m ( k ) can be computed as in Equation (6):
L m ( k ) = { ( i = 1 N m k | x [ m + i k ] x [ m + ( i 1 ) × k ] | ) ( N 1 ) N m k × k } k
where N is the length of the original time series X , and the term ( N 1 ) N m k × k represents the normalization factor. Then, the length of the curve for the time interval k is defined as the average of the k values L m ( k ) , for m = 1 , 2 , , k :
L ( k ) = 1 k × m = 1 k L m ( k )
Finally, the data should follow a straight line with a slope equal to the H F D of X when L ( k ) is plotted against 1 / k   on a double logarithmic scale, with k = 1 , 2 , , k m a x . Therefore, the slope of the line that least-squares fits the pairings { ln [ L ( k ) ] ,   ln ( 1 / k ) } is the definition of H F D . H F D results were displayed against a range of k m a x in order to select an appropriate value for the parameter k m a x . The H F D plateauing point is regarded as a saturation point, and that k m a x value ought to be chosen [55,56]. The greatest outcomes in this study were found while measuring the H F D of the EEG; k m a x = 20 . H F D was computed using 6-s windows (1500 samples).

Hurst Exponent ( H u r )

Numerous studies have looked at using the H u r to analyze EEG information from MI-based BCI rehabilitation [14]. The H u r is a metric for a time series’ long-memory characteristics [15,16]. The scalar depicts a time series’ relative propensity to either substantially regress to the mean (mean-reverting pattern) or cluster in a certain direction (trending pattern).
The H u r of time series, which serves as a gauge of long-range correlation, can be estimated using the R/S approach [17]. The following can be used to describe this technique.
  • Calculate the logarithmic retunes of detrended time series with length N = r 1 , where t has length of original time series.
    N i = log ( t i + 1 t i ) i = 1 , 2 . r 1
  • Split the time series into m adjoining subsets S j of length n, where m × n = N , and j = 1 , 2 , , m . The segments of each subset calls N k j , with k = 1 , 2 , , n .
    The average of each subset S j is counted by:
    M j = 1 n Σ k 1 n Σ j m N k j
  • Calculate the addition of deviation from the average for each subset of S j as:
    X k j = Σ i = 1 k Σ j = 1 m ( N i j M j ) , k = 1 , 2 . n
  • The mean relative range of any single subset is calculated as:
    R I j = m a x ( X k , j ) m i n ( X k , j ) , 1 < k < n
  • In this step, standard deviation of each subgroup is considered:
    S I j = sqrt ( 1 n Σ k = 1 n Σ j = 1 m ( N k j M j ) 2
  • The range R I j of each subset is rescaled by the related standard deviation S I j . Therefore, the average R S measures for each window with length n is:
    ( R S ) n = 1 m Σ j = 1 m ( R I j S I j )
    All above steps should be repeated for different time periods.
  • Plot log ( R S ) n versus log ( n ) : The slope of this graph shows the H u r [18].
    H u r values could be calculated using a rescaled range formula estimated by the above steps.
R R = ( 2 2 H 1 1 ) × n ^ H u r
where n is the number of data points and H u r is the average of all EEG signals [19,20,21]. While EEG signals exhibit considerable non-stationary properties, the R S technique only reliably calculates H u r for stationary time series [22]. Therefore, the non-stationarity of data issue needs to be addressed in order to examine the dynamical H u r of EEG signals [23]. To achieve this, processing the data inside a window size of 6 s is one option. This window size is big enough for the data to statistically behave like a stationary time series.

3.3.2. Entropy Analysis

Entropy is the rate of information generation in dynamical systems. Entropy [24] is a metric describing the unpredictable nature of information content. Entropy estimate is based on the idea of estimating the level of randomness in a time series. The usefulness of entropy-based characteristics for categorizing emotional-based EEG signal has been established in few investigations [24]. There are various methods for estimating entropy, including sample, permutation, and approximate methods. T s E n and D i s p E n were used for this investigation because they are reliable, effective, and computationally efficient parametric methods for directly estimating entropy from the time series of an EEG signal [57,58].

Tsallis Entropy ( T s E n )

The estimation of the EEG changes using time domain-dependent entropy has been shown extensively using T s E n entropies. For instance, T s E n was developed from the EEG of traumatic brain injury patients [17]. In this study, four classes of EEG signals from MI-based BCI rehabilitation were classified using T s E n . In this essay, we used Tsallis et al.’s definition of entropy to measure a signal’s degree of uncertainty [57].
S T = i = 1 N p ( x i ) l n q ( 1 p ( x i ) ) = 1 p q ( x i ) q 1  
where x i are information events, p ( x i ) are the probabilities of x i , and the q -logarithm function is defined as:
l n q ( x ) = x 1 q 1 1 q   x > 0 ,   q
Particularly, l n 1 ( x ) = l n ( x ) . T s E n is a better option for examining the entropy of a system for which it may not be accurate to assume intense qualities, because, while Shannon entropy has intensive properties, it is generally extensive [21]. The non-extensivity of the system being measured is quantified by the parameter q . Given the link shown in Equation (12), if the likelihood that the information events within the signal will occur is known, the quantity of information contained inside an EEG signal, or the signal’s entropy, can be approximated. To assess the likelihood of the information events in EEG recordings, examples of known physical information events observed in other natural signals can be employed. In particular, crucial spots (local peaks, minima, and discontinuities) seem to distinguish information events in natural signals [59]. Sneddon [21] offered the following approximation of Tsallis entropy for q = 2 , based on the observation that local critical points seem to designate information in natural signals:
S T S T = 1 1 N s i 2 σ 2  
where N is the total number of bins formed by the signal’s local critical points, s i 2 is the variance inside each of these bins, and σ 2 is the overall signal variance. The discrete derivative ( X i + 1 X i ) / Δ t was defined as having critical points at locations where it was equal to zero or changed sign from its initial value. Due to the relatively little length of the chosen EEG intervals utilized in the analyses reported, Sneddon’s approximation for Tsallis entropy was adopted [60].

Dispersion Entropy ( D i s p E n )

A new irregularity indicator known as D i s p E n was proposed by Rostaghi et al. [58] and is based on symbolic dynamics or patterns. Data are transformed into a new signal with just a few different patterns, and the analysis of dynamic time series is reduced to a distribution of symbol sequences. Its purpose was to address the drawbacks of other entropy measures such as sample entropy and permutation entropy. As a result, unlike other entropy measures, D i s p E n can distinguish between various biological and mechanical states and is sensitive to changes in simultaneous frequency and amplitude values [58]. The length m of templates, the number of classes c that determine the number of patterns or classes to be taken into account in the computation, and the time delay d are the three internal parameters that dictate how D i s p E n is calculated. For the latter parameter, it is advised to use the value d = 1 , and for m and c , use c m < N ; N is the length of the time series. When c is too high, slight variations in the signal might induce a change in class, making it susceptible to noise. When c is too low, always with c > 1 , signal values are too widely apart and lead to being assigned to the same class [58].
D i s p E n has been applied to a univariate signal X = x 1 , x 2 ,   ,   x n with length N to perform the D i s p E n algorithm. Firstly, x j ( j = 1 ,   2 , , N ) are mapped to c classes with integer indices from 1 to c . The classified signal is u j ( j = 1 , 2 , , N ) to compute the time series u i m , c of an embedding dimension m and time delay d . Each u i m , c is mapped to a dispersion pattern π v 0 v 1 v m 1 . The number of possible dispersion patterns assigned to each vector u i m , c is equal to c m , since the signal has m members and each member can be one of the integers from 1 to c . Therefore, for each of c m potential dispersion patterns π v 0 v 1 v m 1 , relative frequency is obtained as follows:
p ( π v 0 v 1 v m 1 ) = # { i | i N ( m 1 ) d , u i m , c   h a s   t y p e   π v 0 v m v m 1   } N ( m 1 ) d
where # means cardinality. In fact, p ( π v 0 v 1 v m 1 ) shows the number of dispersion patterns of π v 0 v 1 v m 1 that is assigned to u i m , c , divided by the total number of embedded signals with embedding dimension m . Finally, based on Shannon’s entropy, the D i s p E n can be calculated as in Equation (19) [58,61].
D i s p E n ( X , m , c , t ) = Σ π 1 c p ( π v 0 v m v m 1 ) × ln ( p ( π v 0 v m v m 1 )

3.4. Statistical Significance Analysis

To determine the level of statistical significance of the MI-based BCI EEG dataset, two-way ANOVA tests were run four times. Following that, the Kolmogorov–Smirnov test was used to determine normality, and the Levene’s test was used to determine homoscedasticity. Using Duncan’s test, the post-hoc comparison was carried out. ANOVAs in SPSS 22 were used for the statistical analysis. The findings of the T s E n and D i s p E n irregularity parameters and the F D and H u r as complexity features were compared to see if there was a statistically significant difference at the 0.05 (0.95%) confidence level.
A two-way ANOVA on the F D traits was performed during the first session of the ANOVA. In this analysis, the nonlinear features F D was the dependent variable, and the group factor (the individual MI-BCI performance from four classes (left hand, right hand, feet, and tongue)) among the eight subjects was the independent variable. All statistical tests had a significance level of p < 0.05 .
On the H u r characteristics, a two-way ANOVA was conducted during the second ANOVA session. In this analysis, the nonlinear complexity H u r feature was the dependent variable, and the group factor (individual MI-BCI performance from four classes (left hand, right hand, feet, and tongue)) among the eight subjects was the independent variable. All statistical tests had a significance level of p < 0.05 .
Two-way ANOVA was conducted on the T s E n characteristics in the third ANOVA session. In this analysis, the nonlinear characteristics T s E n served as the dependent variable, while the group factor (the individual MI-BCI performance from four classes (left hand, right hand, feet, and tongue)) among the eight individuals served as the independent variables. All statistical tests had a significance level of p < 0.05 .
On the D i s p E n characteristics, a two-way ANOVA was performed during the fourth ANOVA session. In this research, the nonlinear irregularity features D i s p E n were the dependent variable, while the group factor (the individual MI-BCI performance from four classes (left hand, right hand, feet, and tongue)) among the eight individuals served as the independent variables. All statistical tests had a significance level of p < 0.05 .

3.5. Laplacian Eigenmap ( L E ) Dimensionality Reduction Algorithm

Belkin et al. [62] suggested L E to identify the projection that respects the intrinsic geometrical structure from all the data points and also consists of labels because L E [62] has multi-class issues. In order to identify regional organization in the data, it creates a nearest neighbor graph. The graph’s vertex points represent the data’s points, and its edges represent the connections between those points’ neighborhoods. The similarity between neighboring points is represented by the edges’ non-negative weights. L E calculates eigenvalues and eigenvectors for the generalized eigenvector problem given the similarity matrix W :
L y = λ D y  
where   L = D W is the graph Laplacian, and D is the diagonal weight matrix with D D i i = j W j i [62]. Let the first r smallest eigenvectors of the preceding equation be y 1 , , y r . The i th row of Y = [ y 1 , , y r ] provides the new coordinate for point i . LE makes an effort to map related points as precisely as feasible. The objective function of LE is:
Y o p t = a r g m i n Y i j Y i Y j 2 W i j = t r ( Y T L Y )
with the constraint
Y T D Y = 1

3.6. Classification Stage

EEG data were thoroughly examined to identify the four classes: left hand, right hand, feet, and tongue among the eight subjects. Indeed, the accuracy of the classification results can be influenced by both the proper selection of dimensionality reduction techniques and the type of classifier. Three widely used classification methods for brain illnesses were used in this study: SVM, KNN, and RF.
The SVM classifier achieved its best performance using ten-fold cross-validation to optimize the complexity parameter C with values in the range of 4 log 10 ( C ) 4   in C values C   { 0.0001 ,   0.001 ,   0.01 ,   0.1 ,   0 ,   10 ,   100 ,   1000 ,   10 , 000 } on the training set. The greatest results for C values were obtained during testing when C was equal to 10. Multi-class SVM classifiers were developed using the radial basis function (RBF) kernel as their foundation. Additionally, the minimal misclassification rate from the training dataset was calculated to help choose the smoothing value for SVM training. The best value can only be found by methodically adjusting across several training sessions. As a result, the value in this study was changed between 0.1 and 1 at intervals of 0.1. The lowest misclassification rate was found to correspond to a value of σ = 0.5 [26].
The KNN classifier requires the specification of the parameter k. At 2-point intervals, the value of k was changed between 1 and 9. In order to train the classifier to find the ideal value of k, the value of k = 5 was chosen arbitrarily. The Euclidean distance was calculated as a measure of similarity for classifying each trial using KNN.
The RF classifier is an ensemble approach that predicts individual trees using a cluster of decision trees during training [63]. Instead of utilizing a Gini index and information gain, random forests selects the root node and partition the features at random. The classifier’s output is implemented depending on the majority of votes from trees. Random forests is an extension of bagging that is excellent at classifying motor imagery tasks based on EEG signals [64].
The accuracy of this dataset’s learning based on 10-fold cross-validation was represented by taking the average of all of these accuracies.

4. Results and Discussion

The MI-BCI EEG datasets would be examined, and the outcomes for each subject would be calculated using statistical analysis and classification methods in terms of accuracy and confusion matrix. The findings are as given in the following sections.

4.1. Results of Preprocessing Stage

Due to the wide diversity of EEG aberrations, it was possible to successfully suppress (red color) the original noisy (blue color) EEG signals by employing conventional filters and the ICA technique for each EEG channel separately (blue color). Figure 5 depicts the Midline Frontal (Fz channel) prior to and following use of the denoising technique.

4.2. Results of Features Extraction

The distribution and features of the four classes can be better understood with the aid of the features’ visualization presented below, which was taken from the EEG MI-based BCI dataset (left hand, right hand, foot, and tongue).

4.2.1. Complexity Analysis

The complexity features collected from the EEG MI-based BCI dataset are represented as a box plot for easy analysis. Figure 6 depicts the distribution of F D and H u r values, respectively, for the left hand, right hand, foot, and tongue for Subject 1, with the median F D and H u r values depicted by the innermost line in each box. Whiskers, the vertical lines on top and bottom of the boxes, can be used to gauge the degree of skew.

4.2.2. Entropy Analysis

Visualizing the entropy features that were derived from the EEG MI-based BCI dataset can be performed with the use of a box plot. Figure 7 contains a rectangular box that illustrates the distribution of T s E n and D i s p E n values for the left hand, right hand, foot, and tongue for Subject 1. The line that is contained within the rectangular box illustrates the median value for T s E n and D i s p E n , respectively. Whiskers are the lines that run vertically along the top and bottom of these boxes. They are a handy tool for determining how much the skewness has changed.

4.3. Results of Statistical Significance Analysis

ANOVA has been used to quantify significant EEG changes; H u r has been performed to check the significant difference based on H u r among all EEG channels, thus, to discriminate among the four MI-BCI rehabilitation tasks. Table 3 presents a comparative plot of H u r , which is sufficient to detect important patterns and to estimate the MI-BCI performance from four classes (left hand, right hand, feet, and tongue) of eight subjects individually.
H u r performance ( p < 0.05) can reveal an overview of the activities from each subject showing significant differences in left hand and tongue values for Subjects 1, 2, and 6 ( L H _ T S 1 , 2 , 6 ). Moreover, the significant differences in foot values were obtained for Subjects 3 and 5 ( F S 3 , 5 ) . For Subject 7, the significant differences were shown in right hand values ( R H S 7 ), and for Subject 8, effects were shown in tongue ( T S 8 ) during MI-BCI rehabilitation tasks.
ANOVA has been used to quantify significant EEG changes, F D has been performed to check the significant difference based on F D among all EEG channels, thus, to reveal the discrimination among four MI-BCI rehabilitation tasks. Table 4 presents a comparative plot of F D which is sufficient to detect important patterns and to estimate the MI-BCI performance from four classes (left hand, right hand, feet, and tongue) of eight subjects individually.
F D performance ( p < 0.05 ) can provide an overview of the activities from each subject showing significant differences in tongue values for Subjects 1 and 5 ( T S 1 , 5 ) and in right hand values for Subjects 2 and 8 ( F S 2 , 8 ) . Further inspection of the results showed a decrease in tongue values for Subject 6 ( R H S 6 ). However, for Subject 2 ( L H < T < F < R H ) , whereas for Subject 3 ( R H < L H < T < F ) . For Subject 7 ( L H < F < R H < T ) , for Subject 8 ( F < R H < L H < T ) , and for Subject 9 ( R H < T < F < L H ) during MI-BCI rehabilitation tasks.
In order to reveal and distinguish subjects across the four MI-BCI rehabilitation tasks, ANOVA has been utilized to measure important EEG changes. T s E n has also been performed to assess the significant difference based on T s E n among all EEG channels. A comparison plot of T s E n is shown in Table 5 that is enough for identifying significant trends and estimating the MI-BCI performance from four classes (left hand, right hand, feet, and tongue) of eight subjects separately.
T s E n performance ( p < 0.05 ) can reveal an overview of the activities from each subject showing significant differences in left-hand values for Subjects 1, 6, and 9 ( L H S 1 , 6 , 9 ). Another significant difference can be obtained in foot values for Subjects 2, 3, and 8 ( F S 2 , 3 , 8 ) . However, there were significant differences in tongue values for Subject 7 ( T S 7 ) and in feet and right-hand values for Subject 5 ( R H _ F S 5 ) .
ANOVA has been used to quantify significant EEG changes; D i s p E n has been performed to check the significant difference based on D i s p E n among all EEG channels in order to provide a valuable marker among four MI-BCI rehabilitation tasks. Table 6 shows a comparative plot of D i s p E n , which is sufficient to estimate the MI-BCI performance from four classes (left hand, right hand, feet, and tongue) of eight subjects individually.
D i s p E n performance ( p < 0.05 ) can provide an overview of the activities from each subject showing significant differences in right-hand values for Subjects 1 and 5 ( R H S 1 , 5 ); however, Subjects 1 and 2 could be differentiated through left hand and foot, respectively. Further inspection of the results showed significant differences in feet values for Subjects 2, 7, and 8 ( F S 2 , 7 , 8 ), and significant differences for Subjects 3 and 9 in left-hand values ( L H S 3 , 9 ); whereas, for Subject 9, significant differences in tongue ( T S 9 ) can be obtained during MI-BCI rehabilitation tasks.

4.4. Results of Classification Stage

F D and H u r complexity features and T s E n and D i s p E n irregularity features were combined into the C o m p E n integrated set due to effectiveness from the previous stage. Then, SVM, KNN, and RF were the three classifiers utilized to evaluate the performance of the C o m p E n integrated set of features.
The findings displayed in Table 7 clearly demonstrate that the KNN and RF classifiers were superior to SVM, with RF scoring slightly higher than KNN. Subject 5 has the highest accuracy overall, with a score of 87.27%, indicating a higher possibility of recovering from a stroke.
KNN and RF classifiers provided the highest accuracy for Subject 1. SVM provided acceptable accuracy for the tongue class but inadequate accuracy for the other classes (Figure 8).
For Subject 2, KNN and RF have similar results. With SVM only giving a good to moderate accuracy for RA, the best accuracy for LA is KNN, while RA, foot, and tongue is RF (Figure 9).
For Subject 3, the best results were the RF and KNN, respectively. While SVM gave faulty results except for RA, the best accuracy for the foot is KNN, while LA, RA, and tongue are RF (Figure 10).
For Subject 5, RF and KNN have the best accuracy, while SVM only has good accuracy for RA. However, KNN has the best accuracy for RA, while RF has the best accuracy for LA, foot, and tongue (Figure 11).
The results for Subject 6 are good for RF and KNN, but poor for all classes for SVM. While KNN has good accuracy in LA, RF provided the greatest results for the RA, foot, and tongue (Figure 12).
Although tongue received acceptable accuracy from all three classifiers, LA, RA, and foot received poor accuracy from all three, with SVM receiving the best accuracy. The most accurate technology overall is still RF (Figure 13).
KNN has generally good accuracy with foot and tongue for Subject 8. SVM only has good accuracy in foot, whereas RF also achieves acceptable results (Figure 14).
For subject 9, KNN and RF provided moderate and comparable accuracy, whereas SVM provided inadequate accuracy (Figure 15).

5. Conclusions

This investigation endeavors to encourage the way toward characterizing the emotional EEG based on MI-based BCI rehabilitation from the basic EEG channels. Twenty-two channels were utilized to record the EEG signs of four classes (left hand, right hand, feet, and tongue). In the present study, ICA has been used as a denoising technique, complexity features using F D and H u r , and irregularity parameters including T s E n and D i s p E n were computed from each EEG channel. Two-way ANOVA has been performed to characterize the MI-based BCI rehabilitation performance. L E dimensionality reduction algorithm was used to reduce the C o m p E n integrated feature set dimension. SVM, KNN, and RF classification algorithms were applied to enhance the performance of the MI-based BCI systems for stroke patients using EEG signal processing. There are several limitations on this study that need to be made clear. The sample size was small, to start with. Additionally, the patients’ follow-up was not extensive. In addition, longer series with follow-up are required. Despite these limitations, all of our findings agree with those of other researchers who have made useful discoveries. RF was the best with 74.48% average accuracy of multiple performance measures, obtaining good classification results for all subjects. However, KNN classifier exhibits better results with 73.20% average accuracy compared to the SVM. Therefore, using an LE dimensionality reduction method has many benefits, including simplified computation complexity and enhanced feature extraction. Consequently, the proposed framework utilizing ICA denoising method, complexity, and irregularity features, classifiers, particularly the RF technique, were a crucial role in enhancing BCI-based stroke patients’ rehabilitation. Therefore, results suggest that BCIs can be a helpful tool in the treatment of motor deficits. For those with a spinal cord injury, a BCI-controlled neuroprosthesis can restore the use of their upper extremities; for those who have suffered a stroke, a BCI-triggered visual or neuroprosthesis based on functional electrical stimulation (FES) can encourage their own recovery. In order to move forward with widespread implementation of BCI-controlled neuroprostheses, it must be established beyond reasonable doubt that the experimental results obtained in a controlled laboratory setting can be reliably reproduced under real-world conditions with minimal loss of performance and stability. There are tasks related to this research that need to be improved and can be further applied to obtain better identification of motor imagery (MI) tasks. Some ongoing and future directions of extending the research are outlined as: firstly, channel selection can be applied to point the most efficient electrodes. Secondly, another possible research direction is the application of the empirical mode decomposition method (EMD) as a denoising technique. Thirdly, other classifiers using deep learning methods can be considered to compare the classification performance.

Author Contributions

Methodology, N.K.A.-Q.; software, A.K.M.; writing—original draft preparation, N.K.A.-Q. and M.I.M.; visualization, A.A.A.; supervision, N.K.A.-Q. and S.A.A.; funding acquisition, S.H.B.M.A. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by University Kebangsaan Malaysia and Ministry of Education, Malaysia (FRGS/1/2021/TK0/UKM/01/4).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

http://www.bbci.de/competition/iV (Accessed on 17 October 2020).

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Al-Qazzaz, N.; Ali, S.H.; Ahmad, S.A.; Islam, S.; Mohamad, K. Cognitive impairment and memory dysfunction after a stroke diagnosis: A post-stroke memory assessment. Neuropsychiatr. Dis. Treat. 2014, 10, 1677–1691. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  2. Li, C.; Jia, T.; Xu, Q.; Ji, L.; Pan, Y. Brain-Computer Interface Channel-Selection Strategy Based on Analysis of Event-Related Desynchronization Topography in Stroke Patients. J. Health Eng. 2019, 2019, 3817124. [Google Scholar] [CrossRef] [Green Version]
  3. Djamal, E.C.; Ramadhan, R.I.; Mandasari, M.I.; Djajasasmita, D. Identification of post-stroke EEG signal using wavelet and convolutional neural networks. Bull. Electr. Eng. Inform. 2020, 9, 1890–1898. [Google Scholar] [CrossRef]
  4. Li, H.; Ding, M.; Zhang, R.; Xiu, C. Motor imagery EEG classification algorithm based on CNN-LSTM feature fusion network. Biomed. Signal Process Control 2021, 72, 103342. [Google Scholar] [CrossRef]
  5. Al-Qazzaz, N.K.; Alyasseri, Z.A.A.; Abdulkareem, K.H.; Ali, N.S.; Al-Mhiqani, M.N.; Guger, C. EEG feature fusion for motor imagery: A new robust framework towards stroke patients rehabilitation. Comput. Biol. Med. 2021, 137. [Google Scholar] [CrossRef]
  6. Lee, W.H.; Kim, E.; Gil Seo, H.; Oh, B.-M.; Nam, H.S.; Kim, Y.J.; Lee, H.H.; Kang, M.-G.; Kim, S.; Bang, M.S. Target-oriented motor imagery for grasping action: Different characteristics of brain activation between kinesthetic and visual imagery. Sci. Rep. 2019, 9, 1–14. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  7. Lebedev, M.A.; Nicolelis, M.A.L. Brain-Machine Interfaces: From Basic Science to Neuroprostheses and Neurorehabilitation. Physiol. Rev. 2017, 97, 767–837. [Google Scholar] [CrossRef]
  8. Cheng, N.; Phua, K.S.; Lai, H.S.; Tam, P.K.; Tang, K.Y.; Cheng, K.K.; Yeow, R.C.-H.; Ang, K.K.; Guan, C.; Lim, J.H. Brain-Computer Interface-Based Soft Robotic Glove Rehabilitation for Stroke. IEEE Trans. Biomed. Eng. 2020, 67, 3339–3351. [Google Scholar] [CrossRef]
  9. Mane, R.; Chouhan, T.; Guan, C. BCI for stroke rehabilitation: Motor and beyond. J. Neural Eng. 2020, 17, 041001. [Google Scholar] [CrossRef]
  10. Igasaki, T.; Takemoto, J.; Sakamoto, K. Relationship Between Kinesthetic/Visual Motor Imagery Difficulty and Event-Related Desynchronization/Synchronization. In Proceedings of the 2018 40th Annual International Conference of the IEEE Engineering in Medicine and Biology Society (EMBC), Honolulu, HI, USA, 8–21 July 2018; pp. 1911–1914. [Google Scholar]
  11. Savić, A.M.; Lontis, E.R.; Mrachacz-Kersting, N.; Popović, M.B. Dynamics of movement-related cortical potentials and sensorimotor oscillations during palmar grasp movements. Eur. J. Neurosci. 2019, 51, 1962–1970. [Google Scholar] [CrossRef]
  12. Wang, B.A.; Viswanathan, S.; Abdollahi, R.O.; Rosjat, N.; Popovych, S.; Daun, S.; Grefkes, C.; Fink, G.R. Frequency-specific modulation of connectivity in the ipsilateral sensorimotor cortex by different forms of movement initiation. Neuroimage 2017, 159, 248–260. [Google Scholar] [CrossRef] [PubMed]
  13. Balbi, M.; Xiao, D.; Vega, M.J.; Hu, H.; Vanni, M.P.; Bernier, L.-P.; LeDue, J.; MacVicar, B.; Murphy, T.H. Gamma frequency activation of inhibitory neurons in the acute phase after stroke attenuates vascular and behavioral dysfunction. Cell Rep. 2021, 34, 108696. [Google Scholar] [CrossRef] [PubMed]
  14. Jia, X.; Song, Y.; Yang, L.; Xie, L. Joint spatial and temporal features extraction for multi-classification of motor imagery EEG. Biomed. Signal Process Control 2021, 71, 103247. [Google Scholar] [CrossRef]
  15. Sadiq, M.T.; Yu, X.; Yuan, Z.; Zeming, F.; Rehman, A.U.; Ullah, I.; Li, G.; Xiao, G. Motor Imagery EEG Signals Decoding by Multivariate Empirical Wavelet Transform-Based Framework for Robust Brain–Computer Interfaces. IEEE Access 2019, 7, 171431–171451. [Google Scholar] [CrossRef]
  16. Gottlibe, M.; Rosen, O.; Weller, B.; Mahagney, A.; Omar, N.; Khuri, A.; Srugo, I.; Genizi, J. Stroke identification using a portable EEG device—A pilot study. Neurophysiol. Clin. 2020, 50, 21–25. [Google Scholar] [CrossRef] [PubMed]
  17. Selim, S.; Tantawi, M.M.; Shedeed, H.A.; Badr, A. A CSP\AM-BA-SVM Approach for Motor Imagery BCI System. IEEE Access 2018, 6, 49192–49208. [Google Scholar] [CrossRef]
  18. Ak, A.; Topuz, V.; Midi, I. Motor Imagery Eeg Signal Classification Using Image Processing Technique over Googlenet Deep Learning Algorithm for Controlling the Robot Manipulator. Biomed. Signal Process Control 2022, 72, 103295. [Google Scholar] [CrossRef]
  19. Rithwik, P.; Benzy, V.; Vinod, A. High accuracy decoding of motor imagery directions from EEG-based brain computer interface using filter bank spatially regularised common spatial pattern method. Biomed. Signal Process Control 2021, 72, 103241. [Google Scholar] [CrossRef]
  20. Mabrouk, M.S. Non-Invasive Eeg-Based Bci System for Left or Right Hand Movement. Majlesi J. Electr. Eng. 2011, 3, 46–52. [Google Scholar]
  21. Mazher, M.; Aziz, A.A.; Malik, A.S.; Amin, H.U. An EEG-Based Cognitive Load Assessment in Multimedia Learning Using Feature Extraction and Partial Directed Coherence. IEEE Access 2017, 5, 14819–14829. [Google Scholar] [CrossRef]
  22. Chellappan, K.; Mohsin, N.K.; Bin Ali, S.H.; Islam, S. Post-stroke brain memory assessment framework. In Proceedings of the the IEEE-EMBS Conference on Biomedical Engineering and Sciences, Langkawi, Malaysia, 17–19 December 2012. pp. 189–194. [Google Scholar] [CrossRef]
  23. Al-Qazzaz, N.K.; Ali, S.H.; Ahmad, S.A.; Chellappan, K.; Islam, S.; Escudero, J. Role of EEG as Biomarker in the Early Detection and Classification of Dementia. Sci. World J. 2014, 2014, 906038. [Google Scholar] [CrossRef]
  24. Al-Qazzaz, N.K.; Sabir, M.K.; Al-Timemy, A.H.; Grammer, K. An integrated entropy-spatial framework for automatic gender recognition enhancement of emotion-based EEGs. Med. Biol. Eng. Comput. 2022, 60, 531–550. [Google Scholar] [CrossRef] [PubMed]
  25. Al-Qazzaz, N.K.; Sabir, M.K.; Ali, S.H.B.M.; Ahmad, S.A.; Grammer, K. Multichannel Optimization With Hybrid Spectral- Entropy Markers for Gender Identification Enhancement of Emotional-Based EEGs. IEEE Access 2021, 9, 107059–107078. [Google Scholar] [CrossRef]
  26. Al-Qazzaz, N.K.; Ali, S.H.B.M.; Ahmad, S.A.; Islam, M.S.; Escudero, J. Discrimination of stroke-related mild cognitive impairment and vascular dementia using EEG signal analysis. Med. Biol. Eng. Comput. 2017, 56, 137–157. [Google Scholar] [CrossRef] [PubMed]
  27. Al-Qazzaz, N.K.; Ali, S.H.M.; Ahmad, S.A. Comparison of the Effectiveness of AICA-WT Technique in Discriminating Vascular Dementia EEGs. In Proceedings of the the 2018 2nd International Conference on BioSignal Analysis, Processing and Systems (ICBAPS), Ku-ching, Malaysia, 24–26 July 2018; pp. 109–112. [Google Scholar] [CrossRef]
  28. Alafeef, M.; Fraiwan, M. On the diagnosis of idiopathic Parkinson’s disease using continuous wavelet transform complex plot. J. Ambient. Intell. Humaniz. Comput. 2018, 10, 2805–2815. [Google Scholar] [CrossRef]
  29. Majidov, I.; Whangbo, T. Efficient Classification of Motor Imagery Electroencephalography Signals Using Deep Learning Methods. Sensors 2019, 19, 1736. [Google Scholar] [CrossRef] [Green Version]
  30. Al-Qazzaz, N.K.; Ali, S.H.M.; Ahmad, S.A. Entropy-Based EEG Markers for Gender Identification of Vascular Dementia Pa-tients. In Proceedings of the 3rd International Conference for Innovation in Biomedical Engineering and Life Sciences (ICIBEL), Kuala Lumpur, Malaysia, 6–7 December 2019; Ibrahim, F., Usman, J., Ahmad, M.Y., Hamzah, N., Eds.; Springer: Cham, Switzerland, 2019; Volume 81. [Google Scholar]
  31. Fraiwan, M.; Alafeef, M.; Almomani, F. Gauging human visual interest using multiscale entropy analysis of EEG signals. J. Ambient. Intell. Humaniz. Comput. 2020, 12, 2435–2447. [Google Scholar] [CrossRef]
  32. Liu, C.; Wang, H.; Lu, Z. EEG classification for multiclass motor imagery BCI. In Proceedings of the 2013 25th Chinese Control and Decision Conference (CCDC), Guiyang, China, 25–27 May 2013; pp. 4450–4453. [Google Scholar]
  33. Krishna, D.H.; Pasha, I.; Savithri, T.S. Classification of EEG Motor Imagery Multi Class Signals Based on Cross Correlation. Procedia Comput. Sci. 2016, 85, 490–495. [Google Scholar] [CrossRef] [Green Version]
  34. Narayan, Y. Motor-Imagery Eeg Signals Classificationusing Svm, Mlp and Lda Classifiers. Turk. J. Comput. Math. Educ. (TURCOMAT) 2021, 12, 3339–3344. [Google Scholar] [CrossRef]
  35. Rejer, I.; Górski, P. Independent component analysis in a motor imagery brain computer interface. In Proceedings of the IEEE EUROCON 2017—17th International Conference on Smart Technologies, Ohrid, Macedonia, 6–8 July 2017; pp. 126–131. [Google Scholar]
  36. Assi, E.B.; Rihana, S.; Sawan, M. 33% Classification Accuracy Improvement in a Motor Imagery Brain Computer Interface. J. Biomed. Sci. Eng. 2017, 10, 326–341. [Google Scholar] [CrossRef] [Green Version]
  37. Ghumman, M.K.; Singh, S. Performance evaluation of SVM-RBF classification method for brain-computer interface. J. Xi’an Univ. Arch. Technol 2020, 12, 841–848. [Google Scholar]
  38. Debanjan, P.; Chakraborty, M. A Novel Methodology to Study the Cognitive Load Induced Eeg Complexity Changes: Chaos, Fractal and Entropy Based Approach. Biom. Signal Process Control 2021, 64, 102277. [Google Scholar]
  39. Tangermann, M.; Müller, K.-R.; Aertsen, A.; Birbaumer, N.; Braun, C.; Brunner, C.; Leeb, R.; Mehring, C.; Miller, K.J.; Müller-Putz, G.R.; et al. Review of the BCI competition IV. Front. Neurosci. 2012, 6, 55. [Google Scholar]
  40. Zhao, X.; Liu, D.; Ma, L.; Liu, Q.; Chen, K.; Xie, S.; Ai, Q. Deep CNN model based on serial-parallel structure optimization for four-class motor imagery EEG classification. Biomed. Signal Process. Control. 2021, 72, 103338. [Google Scholar] [CrossRef]
  41. James, C.J.; Hesse, C.W. Independent component analysis for biomedical signals. Physiol. Meas. 2004, 26, R15–R39. [Google Scholar] [CrossRef]
  42. VIGÁRIO, R.; OJA, E. Independence: A new criterion for the analysis of the electromagnetic fields in the global brain? Neural Netw. 2000, 13, 891–907. [Google Scholar] [CrossRef]
  43. Javier, E.; Hornero, R.; Abásolo, D.; Fernández, A. Blind Source Separation to Enhance Spectral and Non-Linear Features of Magnetoencephalogram Recordings. Application to Alzheimer’s Disease. Med. Eng. Phys. 2001, 7, 872–879. [Google Scholar]
  44. Escudero, J.; Hornero, R.; Abasolo, D.; Fernandez, A.; Lopez-Coronado, M. Artifact Removal in Magnetoencephalogram Background Activity With Independent Component Analysis. IEEE Trans. Biomed. Eng. 2007, 54, 1965–1973. [Google Scholar] [CrossRef] [Green Version]
  45. Escudero, J.; Hornero, R.; Poza, J.; Abásolo, D.; Fernández, A. Assessment of classification improvement in patients with Alzheimer’s disease based on magnetoencephalogram blind source separation. Artif. Intell. Med. 2008, 43, 75–85. [Google Scholar] [CrossRef] [Green Version]
  46. Cichocki, A.; Shishkin, S.L.; Musha, T.; Leonowicz, Z.; Asada, T.; Kurachi, T. Eeg Filtering Based on Blind Source Separation (Bss) for Early Detection of Alzheimer’s Disease. Clin. Neurophysiol. 2005, 116, 729–737. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  47. Jin, S.-H.; Jeong, J.; Jeong, D.-G.; Kim, D.-J.; Kim, S.Y. Nonlinear dynamics of the EEG separated by independent component analysis after sound and light stimulation. Biol. Cybern. 2002, 86, 395–401. [Google Scholar] [CrossRef]
  48. Al-Qazzaz, N.K.; Ali SH, B.M.; Ahmad, S.A. Recognition Enhancement of Dementia Patients’ Working Memory Using Entropy-Based Features and Local Tangent Space Alignment Algorithm. In Advances in Non-Invasive Biomedical Signal Sensing and Processing with Machine Learning; Springer International Publishing: Cham, Switzerland, 2023; pp. 345–373. [Google Scholar]
  49. Belouchrani, A.; Abed-Meraim, K.; Cardoso, J.-F.; Moulines, E. A blind source separation technique using second-order statistics. IEEE Trans. Signal Process. 1997, 45, 434–444. [Google Scholar] [CrossRef] [Green Version]
  50. Naeem, M.; Brunner, C.; Leeb, R.; Graimann, B.; Pfurtscheller, G. Seperability of four-class motor imagery data using independent components analysis. J. Neural Eng. 2006, 3, 208–216. [Google Scholar] [CrossRef] [Green Version]
  51. Affinito, M.; Carrozzi, M.; Accardo, A.; Bouquet, F. Use of the fractal dimension for the analysis of electroencephalographic time series. Biol. Cybern. 1997, 77, 339–350. [Google Scholar] [CrossRef]
  52. Esteller, R.; Vachtsevanos, G.; Echauz, J.; Litt, B. A comparison of waveform fractal dimension algorithms. IEEE Trans. Circuits Syst. I Fundam. Theory Appl. 2001, 48, 177–183. [Google Scholar] [CrossRef] [Green Version]
  53. Higuchi, T. Approach to an irregular time series on the basis of the fractal theory. Phys. D Nonlinear Phenom. 1988, 31, 277–283. [Google Scholar] [CrossRef]
  54. Doyle, T.L.A.; Dugan, E.L.; Humphries, B.; Newton, R.U. Discriminating between elderly and young using a fractal dimension analysis of centre of pressure. Int. J. Med. Sci. 2004, 1, 11–20. [Google Scholar] [CrossRef] [Green Version]
  55. Klonowski, W.; Olejarczyk, E.; Stepien, R. Epileptic Seizures’ in Economic Organism. Phys. A Stat. Mech. Its Appl. 2004, 342, 701–707. [Google Scholar] [CrossRef]
  56. Tsallis, C. Possible generalization of Boltzmann-Gibbs statistics. J. Stat. Phys. 1988, 52, 479–487. [Google Scholar] [CrossRef]
  57. Rostaghi, M.; Azami, H. Dispersion Entropy: A Measure for Time-Series Analysis. IEEE Signal Process Lett. 2016, 23, 610–614. [Google Scholar] [CrossRef]
  58. Xiang, J.; Li, C.; Li, H.; Cao, R.; Wang, B.; Han, X.; Chen, J. The detection of epileptic seizure signals based on fuzzy entropy. J. Neurosci. Methods 2015, 243, 18–25. [Google Scholar] [CrossRef]
  59. McBride, J.; Zhao, X.; Nichols, T.; Vagnini, V.; Munro, N.; Berry, D.; Jiang, Y. Scalp EEG-Based Discrimination of Cognitive Deficits After Traumatic Brain Injury Using Event-Related Tsallis Entropy Analysis. IEEE Trans. Biomed. Eng. 2012, 60, 90–96. [Google Scholar] [CrossRef]
  60. Azami, H.; Escudero, J. Amplitude- and Fluctuation-Based Dispersion Entropy. Entropy 2018, 20, 210. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  61. Belkin, M.; Niyogi, P. Laplacian eigenmaps and spectral techniques for embedding and clustering. Adv. Neural Inf. Process. Syst. 2001, 14, 585–591. [Google Scholar]
  62. Leo, B. Random forests. Mach. Learn. 2001, 45, 5–32. [Google Scholar]
  63. Steyrl, D.; Scherer, R.; Faller, J.; Müller-Putz, G.R. Random forests in non-invasive sensorimotor rhythm brain-computer interfaces: A practical and convenient non-linear classifier. Biomed. Eng. / Biomed. Tech. 2015, 61, 77–86. [Google Scholar] [CrossRef]
  64. Vakharia, V.; Castelli, I.E.; Bhavsar, K.; Solanki, A. Bandgap prediction of metal halide perovskites using regression machine learning models. Phys. Lett. A 2022, 422, 1–9. [Google Scholar] [CrossRef]
Figure 1. The suggested study’s block diagram.
Figure 1. The suggested study’s block diagram.
Sensors 23 03889 g001
Figure 2. Distribution of EEG electrodes using the 10–20 system on the left and insertion of three monopolar EOG electrodes on the right [40].
Figure 2. Distribution of EEG electrodes using the 10–20 system on the left and insertion of three monopolar EOG electrodes on the right [40].
Sensors 23 03889 g002
Figure 3. From BCI Competition IV dataset 2a, one trial timing scheme is provided for the MI experimental paradigm based on EEG [41].
Figure 3. From BCI Competition IV dataset 2a, one trial timing scheme is provided for the MI experimental paradigm based on EEG [41].
Sensors 23 03889 g003
Figure 4. The original EEG with 22 channels of the MI-based BCI Competition IV dataset 2a.
Figure 4. The original EEG with 22 channels of the MI-based BCI Competition IV dataset 2a.
Sensors 23 03889 g004
Figure 5. Fz channel before and after using preprocessing stage.
Figure 5. Fz channel before and after using preprocessing stage.
Sensors 23 03889 g005
Figure 6. (a) The F D distribution of features and (b) the H u r distribution of features for each of the eight people who took part in the EEG MI-based BCI dataset.
Figure 6. (a) The F D distribution of features and (b) the H u r distribution of features for each of the eight people who took part in the EEG MI-based BCI dataset.
Sensors 23 03889 g006
Figure 7. (a) The T s E n distribution of features and (b) the D i s p E n distribution of features for each of the eight people who took part in the EEG MI-based BCI dataset.
Figure 7. (a) The T s E n distribution of features and (b) the D i s p E n distribution of features for each of the eight people who took part in the EEG MI-based BCI dataset.
Sensors 23 03889 g007
Figure 8. Confusion matrices for the (a) KNN, (b) SVM, and (c) RF classifiers to demonstrate the MI-BCI performance from the first subject’s four classes (left hand, right hand, feet, and tongue).
Figure 8. Confusion matrices for the (a) KNN, (b) SVM, and (c) RF classifiers to demonstrate the MI-BCI performance from the first subject’s four classes (left hand, right hand, feet, and tongue).
Sensors 23 03889 g008
Figure 9. Confusion matrices for the (a) KNN, (b) SVM, and (c) RF classifiers to demonstrate the MI-BCI performance from the second subject’s four classes (left hand, right hand, feet, and tongue).
Figure 9. Confusion matrices for the (a) KNN, (b) SVM, and (c) RF classifiers to demonstrate the MI-BCI performance from the second subject’s four classes (left hand, right hand, feet, and tongue).
Sensors 23 03889 g009
Figure 10. Confusion matrices for the (a) KNN, (b) SVM, and (c) RF classifiers to demonstrate the MI-BCI performance from the third subject’s four classes (left hand, right hand, feet, and tongue).
Figure 10. Confusion matrices for the (a) KNN, (b) SVM, and (c) RF classifiers to demonstrate the MI-BCI performance from the third subject’s four classes (left hand, right hand, feet, and tongue).
Sensors 23 03889 g010aSensors 23 03889 g010b
Figure 11. Confusion matrices for the (a) KNN, (b) SVM, and (c) RF classifiers to demonstrate the MI-BCI performance from the fifth subject’s four classes (left hand, right hand, feet, and tongue).
Figure 11. Confusion matrices for the (a) KNN, (b) SVM, and (c) RF classifiers to demonstrate the MI-BCI performance from the fifth subject’s four classes (left hand, right hand, feet, and tongue).
Sensors 23 03889 g011
Figure 12. Confusion matrices for the (a) KNN, (b) SVM, and (c) RF classifiers to demonstrate the MI-BCI performance from the sixth subject’s four classes (left hand, right hand, feet, and tongue).
Figure 12. Confusion matrices for the (a) KNN, (b) SVM, and (c) RF classifiers to demonstrate the MI-BCI performance from the sixth subject’s four classes (left hand, right hand, feet, and tongue).
Sensors 23 03889 g012
Figure 13. Confusion matrices for the (a) KNN, (b) SVM, and (c) RF classifiers to demonstrate the MI-BCI performance from the seventh subject’s four classes (left hand, right hand, feet, and tongue).
Figure 13. Confusion matrices for the (a) KNN, (b) SVM, and (c) RF classifiers to demonstrate the MI-BCI performance from the seventh subject’s four classes (left hand, right hand, feet, and tongue).
Sensors 23 03889 g013aSensors 23 03889 g013b
Figure 14. Confusion matrices for the (a) KNN, (b) SVM, and (c) RF classifiers to demonstrate the MI-BCI performance from the eighth subject’s four classes (left hand, right hand, feet, and tongue).
Figure 14. Confusion matrices for the (a) KNN, (b) SVM, and (c) RF classifiers to demonstrate the MI-BCI performance from the eighth subject’s four classes (left hand, right hand, feet, and tongue).
Sensors 23 03889 g014
Figure 15. Confusion matrices for the (a) KNN, (b) SVM, and (c) RF classifiers to demonstrate the MI-BCI performance from the ninth subject’s four classes (left hand, right hand, feet, and tongue).
Figure 15. Confusion matrices for the (a) KNN, (b) SVM, and (c) RF classifiers to demonstrate the MI-BCI performance from the ninth subject’s four classes (left hand, right hand, feet, and tongue).
Sensors 23 03889 g015
Table 1. State-of-the-art: various denoising, feature extraction, and classification approaches are used in EEG analysis for MI-based BCI.
Table 1. State-of-the-art: various denoising, feature extraction, and classification approaches are used in EEG analysis for MI-based BCI.
StudyDenoising TechniqueFeature ExtractionClassifiers
Liu et al. [33]Bandpass filter (0.5–100) Hz, notch filterCSPSVM, KNN
Krishna et al. [34]Moving average filter, band pass filterCross-correlationSVM, KNN, LDA, NB, DT
Rejer et al. [36]FastICA algorithmPower bandSVM
Assi et al. [37]Temporal filtering, spatial filtering, K means-ICABand power, DWT-band power, DWT-coherence, DWT-PLVLDA and SVM
Selim et al. [17]Butterworth filterCSPSVM
Ghumman et al. [38]ICACSPSVM
Narayan et al. [35]Butterworth filter (8 to 30) Hz, notch filter, ICACSP, PCASVM, LDA
Al-Qazzaz et al. [5]Conventional filtering, AICA
WT denoising technique
Time domain, frequency
domain, entropy domain
SVM, KNN, RF
Table 2. Sociodemographic information is displayed for the subjects with SAQ scores, (age in years, SAQ mean ± standard deviation SD).
Table 2. Sociodemographic information is displayed for the subjects with SAQ scores, (age in years, SAQ mean ± standard deviation SD).
Subject IDSexAgeHandedness
S1Female22Right
S2Female24Right
S3Male26Right
S5Male24Right
S6Female23Right
S7Male25Left
S8Male23Right
S9Male17Right
Table 3. The average values (mean ± SD) of Hur to estimate the MI-BCI performance from four classes (left hand, right hand, feet, and tongue) of eight subjects individually.
Table 3. The average values (mean ± SD) of Hur to estimate the MI-BCI performance from four classes (left hand, right hand, feet, and tongue) of eight subjects individually.
H u r LARAFootTongue p Value
S10.863 ± 0.0450.86 ± 0.0540.874 ± 0.0410.854 ± 0.040.05
S20.815 ± 0.0610.894 ± 0.0580.899 ± 0.0560.82 ± 0.0540.05
S30.843 ± 0.0690.792 ± 0.0490.785 ± 0.0610.795 ± 0.0570.05
S50.894 ± 0.0430.873 ± 0.0440.847 ± 0.0650.872 ± 0.0550.05
S60.775 ± 0.0510.806 ± 0.0450.808 ± 0.060.794 ± 0.0490.05
S70.879 ± 0.0480.835 ± 0.0460.872 ± 0.0450.877 ± 0.0460.05
S80.807 ± 0.0560.757 ± 0.0520.777 ± 0.0550.719 ± 0.0510.05
S90.739 ± 0.0540.758 ± 0.0490.768 ± 0.0680.775 ± 0.0540.05
Table 4. The average values (mean ± SD) of FD to estimate the MI-BCI performance from four classes (left hand, right hand, feet, and tongue) of eight subjects individually.
Table 4. The average values (mean ± SD) of FD to estimate the MI-BCI performance from four classes (left hand, right hand, feet, and tongue) of eight subjects individually.
F D LARAFootTongue p Value
S11.658 ± 0.0671.654 ± 0.0451.728 ± 0.0771.575 ± 0.0420.05
S21.569 ± 0.0711.758 ± 0.0651.679 ± 0.0711.6 ± 0.0880.05
S31.635 ± 0.0821.575 ± 0.0721.881 ± 0.0391.852 ± 0.050.05
S51.714 ± 0.0751.694 ± 0.0731.682 ± 0.1161.621 ± 0.0850.05
S61.647 ± 0.0791.668 ± 0.0881.635 ± 0.0761.649 ± 0.0570.05
S71.59 ± 0.0951.65 ± 0.0691.606 ± 0.0531.671 ± 0.070.05
S81.473 ± 0.0611.388 ± 0.0651.374 ± 0.0531.643 ± 0.0830.05
S91.65 ± 0.0861.447 ± 0.0981.607 ± 0.0631.588 ± 0.0980.05
Table 5. The average values (mean ± SD) of TsEn to estimate the MI-BCI performance from four classes (left hand, right hand, feet, and tongue) of eight subjects individually.
Table 5. The average values (mean ± SD) of TsEn to estimate the MI-BCI performance from four classes (left hand, right hand, feet, and tongue) of eight subjects individually.
T s E n LARAFootTongue p Value
S13.096 ± 0.1813.169 ± 0.1123.15 ± 0.0973.173 ± 0.0780.05
S23.169 ± 0.0883.164 ± 0.1553.115 ± 0.1743.153 ± 0.120.05
S33.153 ± 0.1013.205 ± 0.0713.066 ± 0.1793.112 ± 0.0820.05
S53.134 ± 0.0993.105 ± 0.1923.1 ± 0.2513.169 ± 0.1140.05
S63.048 ± 0.1593.132 ± 0.0783.107 ± 0.1133.093 ± 0.2860.05
S73.198 ± 0.1023.156 ± 0.0673.151 ± 0.1123.12 ± 0.1110.05
S83.151 ± 0.0983.193 ± 0.0973.091 ± 0.4183.129 ± 0.1540.05
S93.078 ± 0.143.157 ± 0.0953.117 ± 0.1163.159 ± 0.0890.05
Table 6. The average values (mean ± SD) of DispEn to estimate the MI-BCI performance from four classes (left hand, right hand, feet, and tongue) of eight subjects individually.
Table 6. The average values (mean ± SD) of DispEn to estimate the MI-BCI performance from four classes (left hand, right hand, feet, and tongue) of eight subjects individually.
D i s p E n LARAFootTongue p Value
S11.382 ± 0.0121.379 ± 0.0281.385 ± 0.0031.385 ± 0.0010.05
S21.385 ± 0.0011.382 ± 0.0171.38 ± 0.0251.385 ± 0.0030.05
S31.384 ± 0.0031.385 ± 0.0011.385 ± 0.0011.385 ± 0.0010.05
S51.385 ± 0.0021.383 ± 0.0041.383 ± 0.0091.385 ± 0.0020.05
S61.382 ± 0.0091.385 ± 0.0011.385 ± 0.0021.377 ± 0.0330.05
S71.385 ± 0.0031.385 ± 0.0011.384 ± 0.0041.384 ± 0.0060.075
S81.384 ± 0.0031.385 ± 0.0031.348 ± 0.1611.385 ± 0.0020.05
S91.383 ± 0.0061.384 ± 0.0031.385 ± 0.0021.385 ± 0.0020.05
Table 7. Performance comparison of SVM, KNN, and RF classifiers from four classes (left hand, right hand, feet, and tongue) of eight subjects individually.
Table 7. Performance comparison of SVM, KNN, and RF classifiers from four classes (left hand, right hand, feet, and tongue) of eight subjects individually.
SubjectsSVM Accuracy %KNN Accuracy %RF Accuracy %SVM Precision %KNN Precision %RF Precision %SVM Recall
%
KNN Recall
%
RF Recall %
S153.483.6384.8456.3353.4183.7183.6376.4976.82
S250.976.5977.4257.8650.9176.8276.5977.4377.42
S333.174.7775.6846.333.1174.2374.7775.4775.68
S546.0684.0987.2760.7546.0684.0984.0987.1487.27
S636.7472.2773.4843.5736.7472.3372.2773.4573.48
S743.8658.9361.5142.643.8658.5658.9461.2661.52
S841.8174.8474.1643.4141.8274.4874.8573.8974.16
S936.7460.4561.5136.4336.7460.2760.4561.3761.52
Average42.8373.274.4848.4142.8373.0673.273.3173.48
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Al-Qazzaz, N.K.; Aldoori, A.A.; Ali, S.H.B.M.; Ahmad, S.A.; Mohammed, A.K.; Mohyee, M.I. EEG Signal Complexity Measurements to Enhance BCI-Based Stroke Patients’ Rehabilitation. Sensors 2023, 23, 3889. https://doi.org/10.3390/s23083889

AMA Style

Al-Qazzaz NK, Aldoori AA, Ali SHBM, Ahmad SA, Mohammed AK, Mohyee MI. EEG Signal Complexity Measurements to Enhance BCI-Based Stroke Patients’ Rehabilitation. Sensors. 2023; 23(8):3889. https://doi.org/10.3390/s23083889

Chicago/Turabian Style

Al-Qazzaz, Noor Kamal, Alaa A. Aldoori, Sawal Hamid Bin Mohd Ali, Siti Anom Ahmad, Ahmed Kazem Mohammed, and Mustafa Ibrahim Mohyee. 2023. "EEG Signal Complexity Measurements to Enhance BCI-Based Stroke Patients’ Rehabilitation" Sensors 23, no. 8: 3889. https://doi.org/10.3390/s23083889

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop