Next Article in Journal
A Hybrid Multi-Criteria Approach to the Vendor Selection Problem for Sensor-Based Medical Devices
Next Article in Special Issue
Differences in Tridimensional Shoulder Kinematics between Asymptomatic Subjects and Subjects Suffering from Rotator Cuff Tears by Means of Inertial Sensors: A Cross-Sectional Study
Previous Article in Journal
Advanced Modeling and Signal Processing Methods in Brain–Computer Interfaces Based on a Vector of Cyclic Rhythmically Connected Random Processes
Previous Article in Special Issue
Fast Sleep Stage Classification Using Cascaded Support Vector Machines with Single-Channel EEG Signals
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Classification Approach for Attention Assessment via Singular Spectrum Analysis Based on Single-Channel Electroencephalograms

School of Information Engineering, Guangdong University of Technology, Guangzhou 510006, China
*
Authors to whom correspondence should be addressed.
Sensors 2023, 23(2), 761; https://doi.org/10.3390/s23020761
Submission received: 12 November 2022 / Revised: 19 December 2022 / Accepted: 25 December 2022 / Published: 9 January 2023
(This article belongs to the Special Issue Human Signal Processing Based on Wearable Non-invasive Device)

Abstract

:
Attention refers to the human psychological ability to focus on doing an activity. The attention assessment plays an important role in diagnosing attention deficit hyperactivity disorder (ADHD). In this paper, the attention assessment is performed via a classification approach. First, the single-channel electroencephalograms (EEGs) are acquired from various participants when they perform various activities. Then, fast Fourier transform (FFT) is applied to the acquired EEGs, and the high-frequency components are discarded for performing denoising. Next, empirical mode decomposition (EMD) is applied to remove the underlying trend of the signals. In order to extract more features, singular spectrum analysis (SSA) is employed to increase the total number of the components. Finally, some typical models such as the random forest-based classifier, the support vector machine (SVM)-based classifier, and the back-propagation (BP) neural network-based classifier are used for performing the classifications. Here, the percentages of the classification accuracies are employed as the attention scores. The computer numerical simulation results show that our proposed method yields a higher classification performance compared to the traditional methods without performing the EMD and SSA.

1. Introduction

Our brain receives a lot of sensory data generated from the environment every day. It is essential to pay attention when these data are being received in order not to miss them for further processing [1]. In fact, attention can be understood as an attribute or a feature of perceptual mechanisms and it is used to perform multiple cognitive control. Moreover, it is one of the five basic factors affecting intelligence [2], and it is used to evaluate the intellectual ability of a human.
Nowadays, both parents in major cities work outside during the daytime and leave their children at home after school. According to the survey, China has 23 million children being left at home, and the total number of children separated from their parents is increasing year by year. With the development of Internet technology, parents learn more about their children via electronic means. An attention assessment helps parents to find out the interests of their children, and plan the development of their children. Therefore, an attention assessment plays an important role in education development. On the other hand, according to the latest report conducted by the CDC in the United States, there is a child with the autism in every 44 children. In addition, the total number of autistic patients in China is more than 10 million, in which more than 3 million of the autistic patients are children. Moreover, the prevalence of ADHD in the world is as high as 6–14%. Nevertheless, severe cases of ADHD have a shorter life expectancy by 25 years. Furthermore, ADHD usually affects men more than women. More precisely, 12.9% of men and 4.9% of women are diagnosed with ADHD. In fact, the attention assessment also plays an important role in the diagnosis of ADHD and autism. This is because participants with autism highly concentrate on their work if they are interested in. On the other hand, they are highly immersed in their work if they are not interested in.
It is worth noting that different medical officers sometimes give very different attention scores to the same participant doing the same task at the same time. Hence, it is very difficult to have a subjective and reliable attention assessment. As EEGs reflect the electrophysiological activity of the neurons [3], they contain the physiological and pathological information of the human brain. In particular, the α waves are related to the attention levels when the participants work on a particular task, the β waves are related to the emotional and cognitive status of the participants [4], the θ waves are related to the moral status of the participants [5], and the δ waves are related to the attention levels when the participants perform mental tasks [6]. Hence, EEGs are widely used for the understanding of brain activities [7] and the analysis of human emotions due to personality inference. As a result, EEGs are widely used for performing sleep-stage classification, monitoring physiological state, applying intelligent rehabilitation therapy, identifying personality characteristics [8], as well as performing the diagnosis and treatment of sleep-related diseases [9] via brain-computer interface (BCI) systems [10,11]. Recently, EEGs are employed for performing automatic attention assessment [12]. In particular, the participants wear a wearable and portable device for acquiring the EEGs when they are playing an electronic game. Then, an analysis is performed based on the EEGs. An indication of the attention level is reflected in the electronic game. However, this attention assessment is designed only for participants who play electronic games [13]. Nevertheless, children are not only playing electronic games, but they also do other activities at home. Therefore, it would be useful if the attention assessment can be performed for participants doing other activities. To address this issue, this paper proposes an attention assessment method for participants doing other activities.
At present, single-channel EEGs are used for the consumer-level applications. This is because single-channel EEGs are portable and easily acquired. In addition, the costs of single-channel EEG devices are affordable to consumers. More importantly, single-channel EEGs can operate at higher sampling rates under the same data transmission rate. This will yield a better classification performance. Hence, this paper employs single-channel EEGs for performing the classification.
It is worth noting that the traditional method uses infinite impulse response filters such as the Butterworth filter to suppress noise. However, these filters introduce nonlinear phase distortion to the extracted waves. Therefore, the classification performance based on the extracted waves is degraded. To address this issue, this paper performs the FFT on the EEGs. Then, only the corresponding FFT coefficients are retained. This operation behaves similarly to idea filtering. As the retained FFT coefficients are conjugate pairs, no phase distortion is introduced. Finally, the inverse FFT is computed to obtain the denoised EEGs.
EMD is a nonlinear and adaptive signal representation method that decomposes a signal into the sum of a small number of interpretable components. It has been used for performing the underlying trend extraction. In particular, as the last several components of the EMD exhibit slowly varying oscillations, discarding these components can remove the underlying trend of the EEGs due to the motion artifacts. Hence, this paper employs the EMD for removing the underlying trend of the EEGs.
To perform the four sleep-stage classifications [14,15], the traditional methods are based on decomposing the EEGs into the β waves, α waves, θ waves, γ waves, and δ waves. Then, the features are extracted from these brain waves. However, the total number of the extracted features is very limited. As a result, the classification accuracy is low. To address this issue, it is worth noting that the SSA is also a nonlinear and adaptive signal representation method that decomposes a signal into the sum of a small number of interpretable components. Hence, this paper employs the SSA to decompose each EMD component into further components. As the total number of components is increased, more features can be extracted. In particular, this paper also extracts 11 different features from each group of SSA components. The computer numerical simulation results show that our proposed method greatly improves the classification performance. In fact, SSA has been used for processing single-channel EEGs [16] and EOGs [17], as well as for performing high-precision seizure detection and EEG classification [18].
It is worth noting that the automatic attention assessment is in fact a regression problem. The common regression methods include the logistic regression method, polynomial regression method, and ridge regression method. Nevertheless, these regression methods require subjective and reliable reference values for the attention levels. Hence, the results obtained via these regression methods are not reliable. To address this issue, this paper proposes a classification approach to perform the attention assessment. In this case, the reference attention levels are not required.
The objective of this paper is to propose a method for performing a subjective and effective attention assessment with participants conducting various activities. The novelty and contribution of this paper are to propose a classification method to perform the regression task. In this case, reference values from medical officers are not required. In addition, this paper proposes to employ SSA to increase the total number of features to improve the classification accuracy. The outline of this paper is as follows: Section 2 reviews the existing nonlinear time–frequency analysis techniques. Section 3 presents our proposed method. Section 4 shows the computer numerical simulation results. Finally, a conclusion is summarized in Section 5.

2. Review on the Existing Nonlinear Time–Frequency Analysis Techniques

2.1. SSA

SSA is a recently proposed method for performing nonlinear and adaptive signal decomposition. Since no pre-defined kernel is required [9], it is found to be very useful for analyzing signals. As a result, it is widely used in the mathematics, physics, finance, meteorology, social science, and biomedical signal processing communities.
The procedures for performing the SSA are summarized as follows: First, it constructs a trajectory matrix using the given signal. Second, singular value decomposition (SVD) is applied to the trajectory matrix, and various components, such as the underlying trend, periodic, and noise components, are obtained. Then, the useful components are retained, while the rest of the components are discarded. Finally, diagonal averaging is performed. In particular, let N be the length of a signal. Let   x   = [ x 1 , x 2 , , x N ] T be the vector of this signal. Let L be the window length. Here, 1 < L     N / 2 . Define K = N     L   + 1 . Let   X D = [ x D , x D + 1 , , x D + L 1 ] T for D = 1 , , K be the D th segment of the signal. Let X = [ X 1 , X 2 ,…, X K ] be the trajectory matrix such that the D th column of X is X D . That is,
X = [ x 1           x 2                     x N L + 1 x 2           x 3                     x N L + 2                                                                     x L         x L + 1                     x N             ] .
It is worth noting that X is a Hankel matrix. The second step for performing the SSA is to apply SVD to X to obtain the various components. Let U and V be the left unitary matrix and the right unitary matrix obtained by applying SVD to X , respectively. However, the computational complexity is very large if SVD is applied to X directly. To address this issue, SVD is applied to the covariance matrix XX T to obtain U . Then, V is derived based on both U and X . Let Λ be the diagonal matrix obtained by performing SVD on XX T . It is worth noting that the singular values and the singular vectors of XX T are the squares of the singular values and the left singular vectors of X, respectively. That is,
XX T =   U Λ U T .
Let λ 1 , ,   λ L be the diagonal elements in Λ   . That is, Λ = diag ( λ 1 , ,   λ L )   . Here, λ i are sorted in descending order. That is, λ 1 λ L 0 . Let U = [ U 1 , ,   U L ] and V = [ V 1 , ,   V N L + 1 ] . Let
S i = λ i U i V i T .
It can be shown that X can be represented as the sum of S i . That is,
X = S i + + S L = i = 1 L λ i U i V i T .
It can be shown that
V i = X T U i λ i     f o r   i = 1 , , L .
Next, S i are grouped based on a certain criterion. Assume that the index set { 1 ,   2 , ,   L } is partitioned into a finite number of disjoint subsets. Let M be the total number of these disjoint subsets. Let I 1 , ,   I M be these disjointed subsets. Let X ^ k = i I k S i   for   k = 1 , , M . It can be shown that X can be represented as
X = X ^ 1 + + X ^ M .
However, only some terms are summed together to construct a useful signal. The third step for performing the SSA is to perform diagonal averaging on X ^ k . This process involves representing X ^ k as a one-dimensional vector. It can be seen from (6) that the sum of the elements in the same positions of all X ^ k is equal to the corresponding element in the trajectory matrix. Hence, applying diagonal averaging on each X ^ k to obtain the corresponding one-dimensional SSA component and then summing up all these one-dimensional SSA components together is equivalent to applying diagonal averaging to the trajectory matrix. Therefore, diagonal averaging is an inverse operation with respect to the Hankelization. Let x ^ a , b , k be an element in the ath row and the bth column of X ^ k . Let x ¯ t , k be the t th element in the k th one-dimensional SSA component. Performing diagonal averaging involves computing the average of all the elements along the t th off-diagonal of X ^ k as shown in Figure 1. Here, t = a + b 1 .
From Figure 1, we have:
{ x ¯ 1 , k = x ^ 1 , 1 , k x ¯ 2 , k = 1 2 ( x ^ 1 , 2 , k + x ^ 2 , 1 , k ) x ¯ 3 , k = 1 3 ( x ^ 1 , 3 , k + x ^ 2 , 2 , k + x ^ 3 , 1 , k )
Mathematically, diagonal averaging is equivalent to performing the following operations [19,20]:
x ¯ t , k = { 1 t m = 1 t x ^ m , t m + 1 , k                                                                                     for   1 t < L 1 L m = 1 L x ^ m , t m + 1 , k                                                                                       for   L t < K 1 N t + 1 m = t K + 1 L x ^ m , t m + 1 , k                                       for   K t < N .
Let x ¯ k = [ x ¯ 1 , k , x ¯ 2 , k x ¯ N , k ] T be the obtained one-dimensional SSA component.

2.2. EMD

Suppose that a signal is composed of a finite number of components. EMD is an algorithm for finding these components. More precisely, EMD is used to represent a signal as the sum of various components. These components are called intrinsic mode functions (IMFs). If the IMFs are different from the actual components, then mode mixing occurs. Here, the EMD does not require any pre-defined kernel for performing the decomposition. As the IMFs are only dependent on the signal itself, EMD is an adaptive signal decomposition method. On the other hand, it is worth noting that the decomposition is based on the time-scale characteristics of the given signal. As a signal with more extrema contains more high-frequency components than a signal with less extrema, EMD exploits the time–frequency characteristics of the signal. These excellent properties of EMD facilitate many science and engineering applications [21,22,23].
A function is said to be an IMF if it satisfies the following two conditions:
(1)
The absolute difference between the total number of extrema and the total number of zero-crossing points is no more than 1.
(2)
The area under the curve between two consecutive extrema is zero.
The procedures for performing the EMD are as follows:
Step 1
Initialization: Let r 0 ( t ) = x ( t ) and n = 1 .
Step 2
Compute the IMFs: Let c n (t) be the nth IMF. It is found using the following procedures:
(a)
Let d 0 ( t ) = r n 1 ( t ) and j = 1 .
(b)
Find the maxima and minima of d j 1 ( t ) .
(c)
The cubic spline function is used to interpolate among the maxima and minima to obtain the upper and lower envelope of d j 1 ( t ) , respectively. Let e max ( t ) and e min ( t ) be the upper and lower envelope of d j 1 ( t ) , respectively.
(d)
Calculate the mean of e max ( t ) and e min ( t ) . Let m ( t ) be this mean. That is, m ( t ) = e m a x ( t ) + e m i n ( t ) 2 .
(e)
Performing the sifting process via subtracting m ( t ) from d j 1 ( t ) . That is, d j ( t ) = d j 1 ( t ) m ( t ) .
(f)
A criterion is imposed to terminate the algorithm. Let SD = t | m ( t ) | 2 | d j 1 ( t ) | 2 . If SD < 0.3 , then let c n ( t ) = d j ( t ) and go to Step 3. Otherwise, increment the value of j and go back to Step 2b.
Step 3
Let r n ( t ) = r n 1 ( t ) c n ( t ) .
Step 4
If r n ( t ) is an IMF or a monotonic function, then the decomposition is completed. Otherwise, increment the value of n and go back to Step 2a.
Let N 1 be the total number of the obtained IMFs and r N 1 ( t ) be the residue. Then, x ( t ) can be represented as the sum of these N 1 IMFs and the monotonic residue as follow:
x ( t ) = i = 1 N 1 c i ( t ) + r N 1 ( t ) .
For simplicity reasons, let c N ( t ) = r N 1 ( t ) .

3. Our Proposed Method

Figure 2 shows the block diagram of our proposed method. The main idea of our proposed method is as follows: First, in order to perform the attention assessment, two sets of EEGs are acquired. They are the sets of EEGs where the participants perform different activities under the concentration state and the immersion state. Second, since the useful information of the EEGs is localized between 0 Hz and 50 Hz and the components outside 50 Hz can be understood as noise, FFT is used to perform the denoising. In particular, the FFT coefficients between 0 Hz and 50 Hz are retained and those outside 50 Hz are discarded. Third, EMD is used to perform the detrending. Fourth, FFT is applied again to obtain the various types of the brain waves. In particular, nine brain waves are obtained. Fifth, SSA is applied to decompose each brain wave and the detrended EEG into the various SSA components. Then, the grouping is performed. Overall, there are 22 grouped SSA components for each detrended EEG. Sixth, the features are extracted from each SSA grouped component. Seventh, the BP neural network-based classifier, random forest based-classifier, and SVM-based classifier are used to perform the training. Finally, the class of each test EEG is estimated. Due to randomness, the above operations are performed three times. The accuracy based on the average of these three classification results is taken as the final result.

3.1. Data Acquisition

It is worth noting that no database for performing the activity recognition using single-channel EEGs operated at 512 Hz can be found on the Internet. Hence, it is difficult to perform a fair comparison using the data in the public domain. Therefore, this paper builds a new database and the data is available on the Internet at this link: https://www.aliyundrive.com/s/Qhuc1ZFRkLr, accessed on 18 December 2022. In particular, the EEGs are acquired from 12 participants, including 9 boys and 3 girls. There were 9 participants from Guangzhou and 3 participants from Hong Kong. All of them have conducted the body test and they are certificated with a good health status. Each participant conducts seven activities. These seven activities are drawing, eating, doing computer exercises, playing electronic games, reading, playing toys, and watching television. Each activity is conducted twice with each time lasting for around 10 to 15 min. Here, each activity conducted at the first time and the second time are under the concentration state and the immersion state, respectively. For conducting the activities under the concentration state, there is no interruption to the participants. In addition, the surrounding environment is particularly quiet without any noise so that the participants can easily focus on the activities they performed. Moreover, since it is difficult for the participants to focus on the activities for a long period of time, different activities conducted by the individual participants are carried out on different days. Here, it is assumed that the attentions of the participants are independent of the day when they perform the activities. For conducting the activities under the immersion state, the participants are disturbed when they conduct these activities. For example, the ears of the participants are disrupted by feathers or they are talking to one another all the time.
Moreover, the NeuroSky TGAM1 chip is used as the sensor to acquire the single-channel EEGs with the sampling frequency operating at 512 Hz. Figure 3 shows the acquisition device. This EEG device has three contact points. The sensor is placed at the TP10 location near the right ear lobe because there is no bone there. Hence, the EEGs can be sensed by the electrode more easily. On the other hand, the other two contact points are the reference point (REF) and the ground point (GND). They are located at the forehead because the contact surface is large there. Hence, it can avoid poor contact. WiFi is used to transmit the EEGs acquired from this device to the xampp server built in the computer. The EEGs are segmented into pieces using an ideal rectangular window. Each piece of the EEGs lasted for one second. Hence, each piece of the EEGs consists of 512 points. Here, each piece of the EEGs is regarded as an individual sample. Within one second, it is assumed that the attention level of the participants remains unchanged. In this paper, the pieces of the EEGs acquired under the poor contact condition are removed. Table 1 and Table 2 show the total numbers of the retained samples when different participants are conducting different activities under the concentration state and the immersion state, respectively. It is found that about 13 to 806 pieces of the EEGs are retained.

3.2. FFT-Based Denoising

Figure 4 shows an example of a sample of the EEG when Danny is conducting the drawing activity under the concentration state. It is well known in the EEG community that the useful information of the EEG is localized in the frequency band between 0.5 Hz and 49 Hz. However, it can be seen from Figure 4 that there is a high-frequency noise above 50 Hz contaminating the EEG. Hence, it is required to remove this high-frequency noise. Although different IMFs are localized in different frequency bands, the IMFs have leakages in the frequency domain because these IMFs are not bandlimited. Moreover, as the mode-mixing phenomenon occurs [21,23], the obtained IMFs are not the corresponding brain waves. To address this issue, the FFT approach is applied. That is, the FFT is applied to the EEG and those coefficients higher than 50 Hz are set to zero. As the remained coefficients are bandlimited, this is equivalent to applying the ideal lowpass filtering to the EEG. In this case, the high-frequency artifacts are eliminated. Moreover, the corresponding brain waves can be extracted directly via the FFT approach.

3.3. Removing the Underlying Trend via the EMD

It is worth noting that the eye and muscular activities would introduce drift to the acquired EEGs. In fact, this drift can be characterized by the underlying trend of the EEGs. On the other hand, the EMD represents a signal as the sum of its IMFs with different IMFs localized in different frequency bands. It is well known that the underlying trend of a signal can be characterized by the sum of its last several IMFs. This is because the last several IMFs usually have large time scales and they are also low-frequency components. These properties are the same as those of the underlying trend [24]. To address this issue, this paper applies EMD to the denoised EEGs obtained in Section 3.2, and the last several IMFs corresponding to the underlying trend components and the low-frequency components of the EEGs are discarded. As a result, the effects of the eye and muscular activities are eliminated. More precisely, this paper removes the last two IMFs. Figure 5 shows the denoised EEG and the corresponding detrended EEG. It can be seen from Figure 5 that the average value of the denoised signal is not equal to zero. This implies that there is an underlying trend in the denoised signal. On the other hand, this is not the case for the detrended signal. This implies that the underlying trend of the denoised signal is effectively removed via the EMD approach.

3.4. Feature Extraction Based on the SSA

The EEGs consist of the various brain waves localized in different frequency bands. The frequency band of the δ wave is between 0.5 Hz and 4 Hz, that of the θ wave is between 4 Hz and 8 Hz, that of the α wave is between 8 Hz and 12 Hz, that of the sensory motor rhythm (SMR) wave is between 12 Hz and 14.99 Hz, that of the mid β wave is between 15 Hz and 19.99 Hz, that of the high β wave is between 20 Hz and 30 Hz, that of the low β wave is between 12 Hz and 19 Hz, that of the whole β wave is between 12 Hz and 30 Hz, and that of the γ wave is between 30 Hz and 49 Hz. To extract these waves from the EEG, an FFT approach is applied to the detrended EEGs obtained in Section 3.3. That is, the FFT is applied to the EEGs and the coefficients outside the corresponding frequency bands are set to zero. Then, the inverse FFT (IFFT) is applied to the processed signals to obtain the corresponding waves. Figure 6 shows the obtained brain waves when Danny is conducting the drawing activity under the concentration state.
It is worth noting that the FFT has been applied twice as discussed in Section 3.2 and Section 3.4, the first time to perform the denoising, the second time to extract the various waves from the denoised and the detrended EEGs. In fact, these two FFT operations cannot be combined. This is because the duration of the samples is one second. Hence, the frequency resolution of the FFT coefficients is 1 Hz. Even when the DC frequency of the samples is set to zero, the detrended performance is not good. Therefore, EMD is required to be employed to remove the underlying trend of the EEGs, where the detrended operation is performed between these two FFT operations.
Table 3 shows some common human behaviors and the brain waves responsible for these human behaviors. As the brain waves are related to the human behaviors, this paper extracts the features from these brain waves for performing the attention assessment. On the other hand, it is worth noting that more than one component can be obtained via performing the SSA. Hence, more features can be extracted by applying the SSA to these brain waves. In particular, the SSA is applied to both the detrended EEGs and the decomposed brain waves. Here, L is set at 6 for the detrended EEGs, so there are six SSA components for each detrended EEG. Then, these six SSA components are categorized into four groups. More precisely, the first component is put into the first group. The second and third components are put into the second group. The fourth and fifth components are put into the third group. Finally, the sixth component is put into the fourth group. Figure 7 shows these four groups of the SSA components. Moreover, L is set at 2 for these decomposed brain waves. Figure 8 shows these two sets of the SSA components decomposed from the brain waves. Since there are four groups of the SSA components decomposed from each detrended EEG as well as two sets of the SSA components decomposed from each brain wave and there are nine brain waves for each detrended EEG, there are 22 components in total for each detrended EEG.
Since the amplitudes of different brain waves are different, the amplitudes and energies of the SSA components are not used as features for performing the attention assessment. Instead, this paper employs other physical quantities such as the approximate entropy, the mean, the variance, the interquartile range, the mean absolute deviation, the range, the skewness, the kurtosis, the L 1 norm, the L 2 norm, and the L norm of the SSA components of each detrended EEG as the features. The details of these physical quantities are presented below.

3.4.1. Approximate Entropy

The approximate entropy is a physical quantity that is robust to the noise and the interference. Hence, it has been used to estimate the characteristics of the distribution of both a short random signal and a short deterministic signal acquired at both the noise environment and the interference environment [25]. On the other hand, as the EEGs behave like a random signal, the approximate entropy should be effective for analyzing the EEGs. However, it has not been used for performing the attention assessment yet. Therefore, this paper explores the feasibility and effectiveness of using the approximate entropy for performing the attention assessment. Let x ( t ) be an SSA component. Let m be the length of the marginal window of the SSA. Then, the SSA component is divided into a finite number of sub-sequences. Let X ( i ) be the i th sub-sequence. That is, X ( i ) = [ x ( i ) , x ( i + 1 ) , x ( i + 2 ) , , x ( i + m 1 ) ] T . Let N be the length of this SSA component. Let K be the total number of sub-sequences. Obviously, K = N m + 1   . Let d ij be the distance between X(i) and X(j). Here, d ij is defined as the maximum absolute difference between X(i) and X(j). Let r be a value between 0.25 and 0.75. In this paper, r is chosen as 0.5. Let SD be the standard deviation of the SSA component. Let P be a threshold. Then, P is selected as P = r × SD . For each i , there are K distances. Let C i m ( P ) be the percentage of the total number of distances having values greater than P. Let φ m ( P ) = 1 N m + 1 i = 1 N m + 1 log ( C i m ( P ) ) be the logarithmic average of C i m ( P ) . Finally, increment the value of m and repeat the above procedures. Then, we have φ m + 1 ( P ) . Define ApEn = φ m ( P ) φ m + 1 ( P ) as the approximate entropy.

3.4.2. Mean and Variance

Let X ¯ = i = 1 N x ( i ) N be the mean of x(t).
Let s 2 = i = 1 N ( x ( i )   X ¯ ) 2 N 1 be the variance of x(t).

3.4.3. Interquartile Range

Let x ˜ ( n ) be the ordered EEG sorted in ascending order. Let Q1, Q2, and Q3 be the lower quartile, the median, and the upper quartile of x ˜ ( n ) , respectively. That is, they are the 25th percentile, the 50th percentile, and the 75th percentile of x ˜ ( n ) , respectively. Let IQR = Q3 − Q1.

3.4.4. Mean Absolute Deviation

Let M d = i = 1 N | x ( i ) X ¯ | N be the mean absolute deviation of x ( n ) .

3.4.5. Range

Let R = x n max ( n ) x n min ( n ) be the range of x ( n ) .

3.4.6. Skewness and Kurtosis

Let Skew ( X ) = i = 1 N ( x ( i )   X ¯ s ) 3 N be the skewness of x ( n ) .
Let Kurt ( X ) = i = 1 N ( x ( i )   X ¯ s ) 4 N be the kurtosis of x ( n ) .

3.4.7. L1 Norm, L 2 Norm, and L Norm

Let | | X ( t ) | | 1 = n = 1 N | x ( n ) | be the L 1 norm of x ( n ) .
Let | | X ( t ) | | 2 = n = 1 N | x ( n ) | 2 be the L 2 norm of x ( n ) .
Let | | X ( t ) | | = | x ( n ) | n max be the L norm of x ( n ) .
It is worth noting that there are 11 features for each SSA component. As there are 22 components for each detrended EEG, the length of the feature vector is 242.
In order to verify whether these features are effective for performing the attention assessment, the ANOVA is performed on these features. The implementation was conducted using the Matlab statistical toolbox with the confidence level set at 95%. Let P be the probability of producing a statistical significance. Then, the power of the hypothesis testing refers to the percentage of the cases where P is smaller than one minus the confidence level. In this case, if P is less than 0.05, then these features are statistically significant. The hypothesis test results are shown in Table 4. It can be seen from Table 4 that many values of P are less than 0.05. In particular, it can be seen from the Table 4 that 195 values of P were less than 0.05. Hence, the power of the hypothesis testing was 80.58%. It can be concluded that these features are effective.

3.5. Classification

It is challenging to assess human attention via EEGs. This is because there is no standard method to score the degree of attention of the participants when they conduct the various activities. To address this issue, this paper employs the features extracted from the EEGs acquired from the various participants conducting the various activities under both the concentration state and the immersion state to train the classifiers. Here, three common classifiers, namely the random forest-based classifier, the SVM-based classifier, and the BP neural network-based classifier are employed for performing the classification. However, the total number of EEGs for a particular activity corresponding to the concentration state is different from that corresponding to the immersion state. Hence, there is a data imbalance issue. To address this issue, this paper employs 30% of all the EEGs for each activity for performing the testing. For the remaining 70% of all the EEGs for each activity, it first forms a preliminary training set. Then, only a part of the EEGs in this preliminary training set is taken out to construct the model for performing the classification. In particular, the total number of EEGs for each activity corresponding to the concentration state used for performing the training is taken to be the same as that corresponding to the immersion state. After performing the classification, the percentage of the total number of the EEGs that are classified correctly is computed. Here, it is assumed that the classification error is only due to the change of the state when the participant conducts the corresponding activity. Therefore, this percentage can be used to score human attention.

3.5.1. Random Forest-Based Classifier

The random forest is a bagging and a decision tree-based machine learning method [26]. Assume that there are N samples in the training set. The bootstrap method is used to select a sample at each iteration from these N samples randomly. To determine the splitting nodes in the decision tree, some features are selected randomly. The Gini index is computed to determine the optimal splitting node. These procedures are repeated until it cannot be further split. Finally, the above procedures are repeated and these decision trees form a random forest. Figure 9 shows the process for the formation of the random forest.
A decision tree in the random forest is a weak learner. It makes an individual decision. The overall decision is made by voting the majority decision among all the individual decisions. Since the samples are selected randomly and the features in each sample are also selected randomly, this approach can raise the generalization ability of the model.

3.5.2. BP Neural Network-Based Classifier

A multi-layer feedforward neural network consists of one input layer, one or more than one implicit layer, and one output layer. The implicit layer is also called the hidden layer. Training the neural network is finding the parameters in the neural network. The BP neural network is a neural network with its parameter trained by the error reverse propagation algorithm. In particular, the training composes of two major steps. The first step is the forward propagation of the signal and the second step is the BP of the error. For the first step, the input at the input layer is processed layer by layer and yields the output at the output layer. For the second step, if the output at the output layer does not match the desired output, then the error is back-propagated to the input. That is, the output is transmitted from the output layer back to the input layer through the hidden layer based on the error between the desirable output and the actual output. Here, the error is shared to all the nodes in all the layers. The weights and the thresholds of the nodes are updated via the fastest descent-based learning rule so that the total error in all the nodes is minimized. Figure 10 shows the diagram of the BP neural network [27].

3.5.3. SVM-Based Classifier

As the SVM is a powerful classification method, it has been widely used in many real-world pattern recognition and the machine learning applications [28]. The SVM maps the input feature vectors in a high dimensional space to the feature vectors in a low dimensional space via a nonlinear kernel function. As the dimension of the output of the kernel function is reduced, the required computational power for computing the product of the outputs of two kernel functions ( k ( x i , x j ) = φ ( x i ) φ ( x j ) ) is lower than that for the inner product between the weight matrix and the feaure vector. Hence, the SVM can significantly reduce the required computational power. After performing the nonlinear mapping, the linear classification method is applied in the low dimensional space. In general, the linearly separable recognition problem can be classified correctly using a linear hyperplane. To find this optimal linear hyperplane, the L optimization approach is employed. That is, the maximum distance between the feature vectors and the linear hyperplane is minimized. However, the feasible set of the optimization problem is empty if the recognition problem is nonlinearly separable. To address this issue, the penalty factor is introduced to modify the the loss function and the classification interval. Nevertheless, the classification performance of the SVM is highly dependent on the choice of the kernel function and the error penalty factor.

4. Computer Numerical Simulation Results

Table 5 and Table 6 show the percentages of the classification accuracies for 12 participants performing the various activities under the concentration state and the immersion state via the traditional methods, respectively. Here, the traditional methods refer to the methods of performing both the FFT-based denoising and the classifications via the above three classifiers but without applying the SSA and the EMD to the denoised EEGs. On the other hand, Table 7 and Table 8 show the percentages of the classification accuracies for these 12 participants performing the various activities under the concentration state and the immersion state via our proposed method, respectively. Here, our proposed method refers to the method of performing the FFT-based denoising, applying both the SSA and the EMD to the denoised EEGs, as well as performing the classifications via these three classifiers. Moreover, the average percentages of the classification accuracies over both these 12 participants and over these three classifiers for each activity under the concentration state and the immersion state yielded by the traditional methods and our proposed method are shown in Table 5, Table 6, Table 7 and Table 8. It can be seen from these tables that the average percentages of the classification accuracies over both these 12 participants and over these three classifiers yielded by our proposed method are higher than those yielded by the traditional methods for all the activities as well as for both the concentration state and the immersion state. Furthermore, it is found that the highest score recorded in the concentration state yielded by our method is 100. This demonstrates that our proposed method yields a better classification performance.
Moreover, for the activities conducted in the concentration states by our proposed method, the eating activity has the lowest average score which is 68.63, the playing toy activity has the second lowest average score which is 74.24, the drawing activity has the third lowest average score which is 83.66, the playing electronic game activity has the intermediate average score which is 86.26, the watching television activity has the third highest average score which is 86.61, the doing computer exercise activity has the second highest average score which is 88.60, and the reading activity has the highest average score which is 88.75. For the activities conducted in the concentration states by the traditional method, the eating activity has the lowest average score which is 68.07, the playing toy activity has the second lowest average score which is 69.53, the drawing activity has the third lowest average score which is 74.30, the playing electronic game activity has the intermediate average score which is 80.35, the watching television activity has the third highest average score which is 80.67, the doing computer exercise activity has the second highest average score which is 82.26, and the reading activity has the highest average score which is 82.37. For the activities conducted in the immersion states by our proposed method, the eating activity has the lowest average score which is 72.33, the playing toy activity has the second lowest average score which is 76.97, the watching television activity has the third lowest average score which is 86.80, the drawing activity has the intermediate average score which is 86.96, the playing electronic game activity has the third highest average score which is 88.04, the doing computer exercise activity has the second highest average score which is 88.05, and the reading activity has the highest average score which is 91.34. Here, it can be seen that there are the similar sorting orders for the activities yielded by both our proposed method and the traditional methods for both the concentration state and the immersion state. This demonstrates that our proposed method is reliable. Moreover, as it is required to pay more attention when performing the reading activity and the doing computer exercise activity compared to performing the eating activity and the playing toy activity, the obtained results are reasonable.
Furthermore, it is worth noting that it is not necessarily true for the average percentages of the classification accuracies over both these 12 participants and over these three classifiers for performing the various activities yielded by both our proposed method and the traditional methods under the concentration state to be higher than those under the immersion state.
Figure 11 shows the average percentages of the classification accuracies over both these 12 participants performing the various activities yielded by both our proposed method and the traditional methods with different classifiers under the concentration state. Likewise, Figure 12 shows the average percentages of the classification accuracies over both these 12 participants performing the various activities yielded by both our proposed method and the traditional methods with different classifiers under the immersion state. For the concentration state, the average percentages of the classification accuracies over both these 12 participants performing the various activities yielded by our proposed method based on the the BP neural network-based classifier, the random forest-based classifier, and the SVM-based classifier models are 82.04, 84.99, and 80.11, respectively. The average percentages of the classification accuracies over both these 12 participants performing the various activities yielded by the traditional method based on the the BP neural network-based classifier, the random forest-based classifier, and the SVM-based classifier models are 74.85, 79.80, and 78.46, respectively. For the immersion state, the average percentages of the classification accuracies over both these 12 participants performing the various activities yielded by our proposed method based on the the BP neural network-based classifier, the random forest-based classifier, and the SVM-based classifier models are 81.82, 87.86, and 85.65, respectively. The average percentages of the classification accuracies over both these 12 participants performing the various activities yielded by the traditional method based on the BP neural network-based classifier, the random forest-based classifier, and the SVM-based classifier models are 74.67, 79.87, and 79.53, respectively. It can be seen from these two figures that the random forest-based classifier yields the highest average percentages of the classification accuracies compared to the SVM-based classifier and the BP neural network-based classifier for both the concentration state and the immersion state as well as for both our proposed method and the traditional method. This is because the random forest introduces randomness in the selection of both the feature vectors and the features in the generation of the forest. Thus, the effect of the overfitting is small.
It is worth noting that the duration of each sample shown in the above computer numerical simulations is one second. It is interesting to see if the percentages of the classification accuracies would depend on the duration of the samples. Now, the duration of each sample is changed to three seconds, five seconds, and ten seconds. The percentages of the classification accuracies yielded by our proposed method via the various classifiers based on the EEGs at different durations of the samples acquired from Hejian performing the reading activity under the concentration state are shown in Table 9. It can be seen from Table 9 that the percentages of the classification accuracies are almost the same. In addition, the percentages of the classification accuracies based on the duration of the samples lasting for one second are the highest compared to the other durations of the samples for both the random forest-based classifier and the SVM-based classifier. Moreover, as some of the existing works are also based on the EEGs with the duration of the samples being equal to one second [29,30], this paper chooses the duration of the samples as one second.
Moreover, the total time taken required for performing the attention assessments for each individual for performing each activity under both the concentration state and the immersion state via the traditional methods with all three classifiers is shown in Table 10. Likewise, the total time taken required for performing the attention assessments for each individual for performing each activity under both the concentration state and the immersion state via our proposed method with all three classifiers is shown Table 11. Although our proposed method takes a longer time for performing the attention assessments compared to the traditional methods due to the time required for performing the extra operations on the SSA and the EMD, the extra time is affordable for medical applications.
Figure 13 and Figure 14 show the relationships between the percentage of the classification accuracy and the total number of neurons in the hidden layer of the BP neural network in our proposed method trained using the EEGs acquired from Hejian performing the reading activity under the concentration state on the first day and on the second day, respectively. It can be seen that the highest percentage of the classification accuracy is yielded when 10 neurons are used in the hidden layer of the BP neural network regardless of whether the EEGs are acquired on the first day or on the second day. Hence, this paper employs 10 neurons in the hidden layer of the BP neural network.
Figure 15 and Figure 16 show the relationships between the mean squares errors and the total number of trees at different total numbers of leaf nodes in the random forest in our proposed method trained using the EEGs acquired from Hejian performing the reading activity under the concentration state on the first day and on the second day, respectively. It can be seen that the lowest mean squares errors are achieved by using 10 leaf nodes and 29 trees for the EEGs acquired on the first day as well as by using 5 leaf nodes and 25 trees for the EEGs acquired on the second day. However, the mean squares errors are insensitive to both the total number of leaf nodes and the total number of trees used in the random forest if the total number of leaf nodes is less than 100 and the total number of trees is more than 10. This is true for the EEGs acquired on both the first day and the second day. Hence, this paper selects 5 leaf nodes and 30 trees in the random forest for performing the classification.
Table 12 shows the optimal parameters in the SVM in our proposed method trained using the EEGs acquired from Hejian performing the reading activity under the concentration state on both the first day and the second day. Here, the parameters to be investigated are the value of the box constraint, the type of the kernel functions, and the parameter in the kernel function. It can be seen from Table 11 that the optimal parameters in the SVM in our proposed method trained using the EEGs acquired on the first day are very different from those acquired on the second day.
Figure 17 shows the percentages of the classification accuracies yielded by our proposed method with three different classifiers trained using the EEGs acquired from Hejian performing the reading activity under the concentration state on both the first day and the second day. It can be seen that the percentages of the classification accuracies trained using the EEGs acquired on the first day are similar to those trained on the second day for all three classifiers. Hence, the dates of the measurements can be ignored for performing the classification.

5. Conclusions

The advantage of our proposed method is the ability to perform a subjective and effective attention assessment of the participants when conducting various activities. In particular, this paper proposes a classification method for performing the regression task so that it is not required to have reference values from medical officers. First, FFT is employed for performing denoising. Then, EMD is applied to remove the underlying trend. Next, SSA is employed to increase the total number of components for performing feature extraction. After that, three different types of classifiers, namely the random forest-based classifier, the SVM-based classifier, and the BP neural network-based classifier, are employed for performing the classification. Finally, the percentages of the classification accuracies are employed as the score for concentration or for immersion. The computer numerical simulation results show that the average percentages of the classification accuracies over both 12 participants and over three classifiers yielded by our proposed method are higher than those yielded by the traditional methods for all the activities as well as for both the concentration state and the immersion state. Moreover, it is found that the highest score recorded in the concentration state yielded by our method is 100. This demonstrates that our proposed method yields a better classification performance. In addition, there are similar sorting orders of the activities yielded by both our proposed method and the traditional methods for both the concentration state and the immersion state. This demonstrates that our proposed method is reliable. Furthermore, as it is required to pay more attention when performing the reading activity and the doing computer exercise activity compared to performing the eating activity and the playing toy activity, our obtained results are consistent with this result. Hence, our obtained results are reasonable. Moreover, it is found that it is not necessarily true for the average percentages of the classification accuracies over both these 12 participants and over these three classifiers for performing the various activities yielded by both our proposed method and the traditional methods under the concentration state to be higher than those under the immersion state. Finally, it is found that the random forest-based classifier yields the highest average percentages of the classification accuracies compared to the SVM-based classifier and the BP neural network-based classifier for both the concentration state and the immersion state as well as for both our proposed method and the traditional method.
The limitation of our proposed method is the hardware constraint. Here, only a single-channel EEG device is employed for performing the data acquisition. Hence, the information that can be extracted from the EEGs is limited. To address this issue, more types of signals such as image sequences and motion signals will be used in the future for performing the attention assessment. In particular, a camera and a motion sensor will be employed for acquiring the data. Then, the new set of features extracted from the image sequences and the motion signals will be added to the existing features extracted from the single-channel EEGs. At present, only a small amount of EEGs is acquired. That is why the percentages of the classification accuracies of some cases are 100. In the future, more measurements will be obtained. Hence, the percentages of the classification accuracies will be more reliable.

Author Contributions

Conceptualization, W.W. and B.W.-K.L.; methodology, W.W. and B.W.-K.L.; software, W.W.; validation, R.L., Z.L., Q.L. and J.S.; formal analysis, W.W. and B.W.-K.L.; investigation, W.W. and B.W.-K.L.; resources, C.Y.-F.H.; data curation, C.Y.-F.H.; writing—original draft preparation, W.W.; writing—review and editing, W.W. and B.W.-K.L.; visualization, W.W.; supervision, B.W.-K.L.; project administration, B.W.-K.L.; funding acquisition, B.W.-K.L. All authors have read and agreed to the published version of the manuscript.

Funding

This paper was supported partly by the National Nature Science Foundation of China (no. U1701266, no. 61671163, no. 62071128 and no. 61901123), the Team Project of the Education Ministry of the Guangdong Province (no. 2017KCXTD011), the Guangdong Higher Education Engineering Technology Research Center for Big Data on Manufacturing Knowledge Patent (no. 501130144), and the Hong Kong Innovation and Technology Commission, Enterprise Support Scheme (no. S/E/070/17).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Informed consent was obtained from all subjects involved in the study.

Data Availability Statement

The data will be provided based on the request manner.

Conflicts of Interest

The authors declare that there is no conflict of interest.

References

  1. Mohammadpour, M.; Mozaffari, S. Classification of EEG-Based Attention for Brain Computer Interface. In Proceedings of the 2017 3rd lranian Conference on Intelligent Systems and Signal Processing, Shahrood, Iran, 20–21 December 2017; pp. 34–37. [Google Scholar]
  2. Pai, W.; Mei, W.; Fan, W.; Xue-Bin, Q. Research on Attention Classification Based on Long Short-term Memory Network. In Proceedings of the 2020 5th International Conference on Mechanical, Control and Computer Engineering, Harbin, China, 25–27 December 2020; pp. 1152–1155. [Google Scholar]
  3. Teplan, M. Fundamentals of EEG measurement. Meas. Sci. Rev. 2002, 2, 1–11. [Google Scholar]
  4. Ray, W.J.; Cole, H.W. EEG alpha activity reflects attentional demands and beta activity reflects emotional and cognitive processes. Science 1985, 228, 750–752. [Google Scholar] [CrossRef] [PubMed]
  5. Schacter, D.L. EEG theta waves and psychological phenomena: A review and analysis. Biol. Psychol. 1977, 5, 47–82. [Google Scholar] [CrossRef] [PubMed]
  6. Harmony, T.; Fernández, T.; Silva, J.; Bernal, J.; Díaz-Comas, L.; Reyes, A.; Marosi, E.; Rodriguez, M.; Rodriguez, M. EEG delta activity: An indicator of attention to internal processing during performance of mental tasks. Int. J. Psychophysiol. 1996, 24, 161–171. [Google Scholar] [CrossRef]
  7. Wolpaw, J.R.; Birbaumer, N.; McFarland, D.J.; Pfurtscheller, G.; Vaughan, T.M. Brain–computer interfaces for communication and control. Clin. Neurophysiol. 2002, 113, 767–791. [Google Scholar] [CrossRef]
  8. Zhao, G.; Ge, Y.; Shen, B.; Wei, X.; Wang, H. Emotion Analysis for Personality Inference from EEG Signals. IEEE Trans. Affect. Comput. 2018, 9, 362–371. [Google Scholar] [CrossRef] [Green Version]
  9. Huang, Z.; Ling, B.W.-K. Sleeping stage classification based on joint quaternion valued singular spectrum analysis and ensemble empirical mode decomposition. Biomed. Signal Process. Control 2002, 71, 103086. [Google Scholar] [CrossRef]
  10. Delisle-Rodriguez, D.; Villa-Parra, A.C.; Bastos-Filho, T.; López-Delis, A.; Frizera-Neto, A.; Krishnan, S.; Rocon, E. Adaptive Spatial Filter Based on Similarity Indices to Preserve the Neural Information on EEG Signals during On-Line Processing. Sensors 2017, 17, 2725. [Google Scholar] [CrossRef] [Green Version]
  11. Liu, Y.; Li, M.; Zhang, H.; Wang, H.; Li, J.; Jia, J.; Wu, Y.; Zhang, L. A tensor-based scheme for stroke patients’ motor imagery EEG analysis in BCI-FES rehabilitation training. J. Neurosci. Methods 2014, 222, 238–249. [Google Scholar] [CrossRef]
  12. Shenjie, S.; Thomas, K.P.; Smitha, K.G.; Vinod, A.P. Two player EEG-based neurofeedback ball game for attention enhancement. In Proceedings of the 2014 IEEE International Conference on Systems, Man, and Cybernetics (SMC), San Diego, CA, USA, 5–8 October 2014; pp. 3150–3155. [Google Scholar]
  13. Khong, A.; Jiangnan, L.; Thomas, K.; Vinod, A.P. BCI based multi-player 3-D game control using EEG for enhancing attention and memory. In Proceedings of the 2014 IEEE International Conference on Systems, Man, and Cybernetics (SMC), San Diego, CA, USA, 5–8 October 2014; pp. 1847–1852. [Google Scholar]
  14. Mohammadi, S.; Enshaeifar, S.; Ghavami, M.; Sanei, S. Classification of awake, REM and NREM from EEG via singular spectrum analysis. In Proceedings of the 2015 37th Annual International Conference of the IEEE Engineering in Medicine and Biology Society, Milano, Italy, 25–29 August 2015; pp. 4769–4772. [Google Scholar]
  15. Mohammadi, S.; Kouchaki, S.; Ghavami, M.; Sanei, S. Improving time-frequency domain sleep EEG classification via singular spectrum analysis. J. Neurosci. Methods 2016, 273, 96–106. [Google Scholar] [CrossRef] [Green Version]
  16. Maddirala, A.; Shaik, R. Motion artifact removal from single channel electroencephalogram signals using singular spectrum analysis. Biomed. Signal Process. Control 2016, 30, 79–85. [Google Scholar] [CrossRef]
  17. Maddirala, A.; Shaik, R. Removal of EOG Artifacts from single channel EEG signals using combined singular spectrum analysis and adaptive noise canceler. IEEE Sens. J. 2016, 16, 8279–8287. [Google Scholar] [CrossRef]
  18. Ayain, S.; Saraoglu, H.; Kara, S. Singular Spectrum Analysis of Sleep EEG in Insomnia. J. Med. Syst. 2011, 35, 457–461. [Google Scholar]
  19. Golyandina, N.; Nekrutkin, V.; Zhigljavsky, A.A. Analysis of Time Series Structure: SSA and Related Techniques; CRC/Chapman & Hall: New York, NY, USA, 2001. [Google Scholar]
  20. Hassani, H. Singular spectrum analysis: Methodology and comparison. J. Data Sci. 2007, 5, 239–257. [Google Scholar] [CrossRef] [PubMed]
  21. Vijayasankar, A.; Kumar, P.R. Correction of blink artifacts from single channel EEG by EMD-IMF thresholding. In Proceedings of the 2018 Conference on Signal Processing and Communication Engineering Systems (SPACES), Vijayawada, India, 4–5 January 2018; pp. 176–180. [Google Scholar]
  22. Khare, S.K.; Gaikwad, N.B.; Bajaj, V. VHERS: A Novel Variational Mode Decomposition and Hilbert Transform-Based EEG Rhythm Separation for Automatic ADHD Detection. IEEE Trans. Instrum. Meas. 2022, 71, 1–10. [Google Scholar] [CrossRef]
  23. Mohguen, W.; El’hadi Bekka, R. Comparative Study of ECG Signal Denoising by Empirical Mode Decomposition and Thresholding Functions. In Proceedings of the 2019 6th International Conference on Electrical and Electronics Engineering (ICEEE), Istanbul, Turkey, 16–17 April 2019; pp. 126–130. [Google Scholar]
  24. Lin, P.; Kuang, W.; Liu, Y.; Ling, B.W.-K. Grouping and selecting singular spectrum analysis components for denoising via empirical mode decomposition approach. Circuits Syst. Signal Process. 2019, 38, 356–370. [Google Scholar] [CrossRef]
  25. Srinivasan, V.; Eswaran, C.; Sriraam, N. Approximate Entropy-Based Epileptic EEG Detection Using Artificial Neural Networks. IEEE Trans. Inf. Technol. Biomed. 2007, 11, 288–295. [Google Scholar] [CrossRef]
  26. Hu, L.; Zhao, K.; Zhou, X.; Ling, B.W.-K.; Liao, G. Empirical Mode Decomposition Based Multi-Modal Activity Recognition. Sensors 2020, 20, 6055. [Google Scholar] [CrossRef]
  27. Li, H. Network traffic prediction of the optimized BP neural network based on Glowworm Swarm Algorithm. Syst. Sci. Control. Eng. 2019, 7, 64–70. [Google Scholar] [CrossRef]
  28. Yang, X.; Yu, Q.; He, L.; Guo, T. The one-against-all partition based binary tree support vector machine algorithms for multi-class classification. Neurocomputing 2013, 113, 1–7. [Google Scholar] [CrossRef]
  29. Minasyan, G.R.; Chatten, J.B.; Harner, R.N. Detection of epileptiform activity in unresponsive patients using ANN. In Proceedings of the 2009 International Joint Conference on Neural Networks, Atlanta, GA, USA, 14–19 June 2009; pp. 2117–2124. [Google Scholar]
  30. AIa, K.; Byeon, J.G.; Timashev, S.F.; Vstovskiĭ, G.V.; Park, B.W. Functional variability of the autocorrelation structure of the EEG. Zhurnal Vyss. Nervn. Deiatelnosti Im. IP Pavlov. 2006, 56, 408–411. [Google Scholar]
Figure 1. The diagonal averaging operation.
Figure 1. The diagonal averaging operation.
Sensors 23 00761 g001
Figure 2. The block diagram of our proposed method.
Figure 2. The block diagram of our proposed method.
Sensors 23 00761 g002
Figure 3. The acquisition device.
Figure 3. The acquisition device.
Sensors 23 00761 g003
Figure 4. An example of a sample of the EEG when Danny is conducting the drawing activity under the concentration state.
Figure 4. An example of a sample of the EEG when Danny is conducting the drawing activity under the concentration state.
Sensors 23 00761 g004
Figure 5. The denoised signal and the detrended signal.
Figure 5. The denoised signal and the detrended signal.
Sensors 23 00761 g005
Figure 6. The obtained brain waves when Danny is conducting the drawing activity under the concentration state.
Figure 6. The obtained brain waves when Danny is conducting the drawing activity under the concentration state.
Sensors 23 00761 g006
Figure 7. The four groups of the SSA components.
Figure 7. The four groups of the SSA components.
Sensors 23 00761 g007
Figure 8. These two sets of the SSA components decomposed from the brain waves of a detrended EEG.
Figure 8. These two sets of the SSA components decomposed from the brain waves of a detrended EEG.
Sensors 23 00761 g008
Figure 9. The procedures for the formation of the random forest.
Figure 9. The procedures for the formation of the random forest.
Sensors 23 00761 g009
Figure 10. The BP neural network.
Figure 10. The BP neural network.
Sensors 23 00761 g010
Figure 11. The average percentages of the classification accuracies over both these 12 participants performing the various activities yielded by both our proposed method and the traditional methods with different classifiers under the concentration state.
Figure 11. The average percentages of the classification accuracies over both these 12 participants performing the various activities yielded by both our proposed method and the traditional methods with different classifiers under the concentration state.
Sensors 23 00761 g011
Figure 12. The average percentages of the classification accuracies over both these 12 participants performing the various activities yielded by both our proposed method and the traditional methods with different classifiers under the immersion state.
Figure 12. The average percentages of the classification accuracies over both these 12 participants performing the various activities yielded by both our proposed method and the traditional methods with different classifiers under the immersion state.
Sensors 23 00761 g012
Figure 13. The relationship between the percentage of the classification accuracy and the total number of neurons in the hidden layer of the BP neural network in our proposed method trained using the EEGs acquired from Hejian performing the reading activity under the concentration state on the first day.
Figure 13. The relationship between the percentage of the classification accuracy and the total number of neurons in the hidden layer of the BP neural network in our proposed method trained using the EEGs acquired from Hejian performing the reading activity under the concentration state on the first day.
Sensors 23 00761 g013
Figure 14. The relationship between the percentage of the classification accuracy and the total number of neurons in the hidden layer of the BP neural network in our proposed method trained using the EEGs acquired from Hejian performing the reading activity under the concentration state on the second day.
Figure 14. The relationship between the percentage of the classification accuracy and the total number of neurons in the hidden layer of the BP neural network in our proposed method trained using the EEGs acquired from Hejian performing the reading activity under the concentration state on the second day.
Sensors 23 00761 g014
Figure 15. The relationship between the mean squares error and the total number of trees at different total numbers of leaf nodes in the random forest in our proposed method trained using the EEGs acquired from Hejian performing the reading activity under the concentration state on the first day.
Figure 15. The relationship between the mean squares error and the total number of trees at different total numbers of leaf nodes in the random forest in our proposed method trained using the EEGs acquired from Hejian performing the reading activity under the concentration state on the first day.
Sensors 23 00761 g015
Figure 16. The relationship between the mean squares error and the total number of trees at different total numbers of leaf nodes in the random forest in our proposed method trained using the EEGs acquired from Hejian performing the reading activity under the concentration state on the second day.
Figure 16. The relationship between the mean squares error and the total number of trees at different total numbers of leaf nodes in the random forest in our proposed method trained using the EEGs acquired from Hejian performing the reading activity under the concentration state on the second day.
Sensors 23 00761 g016
Figure 17. The percentages of the classification accuracies yielded by our proposed method with three different classifiers trained using the EEGs acquired from Hejian performing the reading activity under the concentration state on both the first day and the second day.
Figure 17. The percentages of the classification accuracies yielded by our proposed method with three different classifiers trained using the EEGs acquired from Hejian performing the reading activity under the concentration state on both the first day and the second day.
Sensors 23 00761 g017
Table 1. The total numbers of the retained samples when different participants are conducting different activities under the concentration state.
Table 1. The total numbers of the retained samples when different participants are conducting different activities under the concentration state.
ParticipantDrawingEatingDoing Computer ExercisesPlaying Electronic GamesReadingPlaying ToysWatching TelevisionTotal
Danny512416585575484854553256
Lang5272145584744683703772988
Tim512764724775463864562925
Tong7562927237077645838064631
Hejian5541825715635645375973568
Qunqing5132605925925746505863767
Shuyun5961755025865236836003665
Xin271132862122551782881503
Yuyuan506294725515165986123284
Aidan2681542062552191992161517
Ben2761632552623041932621715
Him881161591091447891785
Total537917155454534554254940534633,604
Table 2. The total numbers of the retained samples when different participants are conducting different activities under the immersion state.
Table 2. The total numbers of the retained samples when different participants are conducting different activities under the immersion state.
ParticipantDrawingEatingDoing Computer ExercisesPlaying Electronic GamesReadingPlaying ToysWatching TelevisionTotal
Danny174252931681211921861159
Lang487802904814334024222595
Tim1151713142802202612701631
Tong4312624543553134853602660
Hejian3041584174934754554442746
Qunqing5032754255154705415223251
Shuyun5841163745684546013973094
Xin291212402632741771581424
Yuyuan3702684495404136024823124
Aidan1552281653062132002301497
Ben206842763482602142181606
Him1872042262112222442001494
Total380718923923452838684374388926,281
Table 3. The common human behaviors and the brain waves responsible for these human behaviors.
Table 3. The common human behaviors and the brain waves responsible for these human behaviors.
WavesFrequency RangeCommon Human Behaviors
δ 0.5 Hz–4 HzUnconscious level
θ 4 Hz–8 HzCreativity and imagination
α 8 Hz–12 HzUnconscious before falling asleep
SMR12 Hz–14.99 HzRelaxation and concentration
Mid β 15 Hz–19.99 HzThinking deeply
High β 20 Hz–30 HzExcitement and anxiety
γ 30 Hz–49 HzRelieving the pressure
Table 4. The values of P corresponding to different features extracted from the SSA components of a detrended EEG.
Table 4. The values of P corresponding to different features extracted from the SSA components of a detrended EEG.
FeaturesApproximate EntropyMeanInterquartile RangeMean Absolute DeviationRangeVarianceSkewnessKurtosis L 1 Norm L 2 Norm L Norm
EEG-SSA15.97 × 10−159.06 × 10−53.50 × 10−22.93 × 10−51.28 × 10−173.65 × 10−29.66 × 10−231.06 × 10−493.65 × 10−29.17 × 10−23.65 × 10−23
EEG-SSA26.49 × 10−34.51 × 10−82.75 × 10−11.43 × 10−22.73 × 10−94.98 × 10−71.41 × 10−509.94 × 10−154.99 × 10−74.53 × 10−46.54 × 10−9
EEG-SSA34.75 × 10−34.11 × 10−62.64 × 10−41.12 × 10−13.71 × 10−25.41 × 10−72.04 × 10−731.47 × 10−25.41 × 10−72.47 × 10−23.46 × 10−2
EEG-SSA44.49 × 10−197.14 × 10−95.73 × 10−291.35 × 10−12.69 × 10−107.02 × 10−33.21 × 10−51.28 × 10−507.03 × 10−32.24 × 10−24.27 × 10−11
High-β-SSA13.71 × 10−24.60 × 10−207.91 × 10−45.73 × 10−22.54 × 10−185.92 × 10−21.93 × 10−86.60 × 10−435.92 × 10−29.22 × 10−22.13 × 10−18
High-β-SSA21.65 × 10−14.60 × 10−207.02 × 10−41.31 × 10−11.27 × 10−193.49 × 10−72.52 × 10−383.38 × 10−253.48 × 10−79.57 × 10−22.47 × 10−25
Low-β-SSA11.38 × 10−47.50 × 10−211.86 × 10−26.01 × 10−35.24 × 10−151.73 × 10−31.44 × 10−151.95 × 10−321.73 × 10−31.67 × 10−13.56 × 10−15
Low-β-SSA21.77 × 10−87.50 × 10−213.93 × 10−22.81 × 10−34.14 × 10−161.96 × 10−141.37 × 10−334.58 × 10−151.96 × 10−146.08 × 10−26.82 × 10−20
Mid-β-SSA15.28 × 10−91.15 × 10−242.95 × 10−11.10 × 10−25.30 × 10−91.63 × 10−31.61 × 10−11.15 × 10−191.63 × 10−37.85 × 10−24.93 × 10−9
Mid-β-SSA23.61 × 10−41.15 × 10−243.99 × 10−11.46 × 10−22.87 × 10−61.54 × 10−54.13 × 10−319.97 × 10−81.54 × 10−54.44 × 10−28.17 × 10−10
β-SSA13.62 × 10−62.48 × 10−289.81 × 10−51.73 × 10−15.44 × 10−409.92 × 10−33.08 × 10−293.98 × 10−579.92 × 10−31.04 × 10−12.34 × 10−44
β-SSA23.16 × 10−12.48 × 10−281.97 × 10−41.24 × 10−11.79 × 10−51.36 × 10−23.61 × 10−241.21 × 10−81.36 × 10−21.55 × 10−14.34 × 10−9
γ -SSA11.97 × 10−43.21 × 10−13.84 × 10−31.36 × 10−11.05 × 10−11.24 × 10−17.83 × 10−27.68 × 10−121.24 × 10−13.25 × 10−22.24 × 10−1
γ -SSA21.22 × 10−13.21 × 10−12.46 × 10−31.44 × 10−12.07 × 10−38.36 × 10−22.12 × 10−41.60 × 10−88.36 × 10−24.04 × 10−23.64 × 10−4
ɑ-SSA11.77 × 10−163.23 × 10−12.94 × 10−21.60 × 10−91.67 × 10−52.89 × 10−42.03 × 10−62.66 × 10−42.89 × 10−41.31 × 10−31.87 × 10−5
ɑ-SSA23.54 × 10−63.23 × 10−11.49 × 10−23.41 × 10−112.04 × 10−149.81 × 10−164.32 × 10−31.67 × 10−89.81 × 10−164.59 × 10−66.23 × 10−14
θ -SSA16.45 × 10−38.77 × 10−79.28 × 10−33.81 × 10−96.34 × 10−34.77 × 10−33.46 × 10−31.44 × 10−14.77 × 10−35.23 × 10−35.36 × 10−3
θ -SSA25.64 × 10−38.77 × 10−71.35 × 10−13.79 × 10−41.82 × 10−41.09 × 10−32.46 × 10−119.33 × 10−51.09 × 10−37.74 × 10−23.27 × 10−5
δ -SSA11.67 × 10−171.84 × 10−18.43 × 10−281.96 × 10−243.24 × 10−241.41 × 10−264.86 × 10−29.59 × 10−21.41 × 10−261.97 × 10−272.83 × 10−24
δ -SSA21.45 × 10−81.84 × 10−15.90 × 10−178.29 × 10−214.98 × 10−132.84 × 10−161.06 × 10−16.84 × 10−22.84 × 10−161.55 × 10−181.01 × 10−13
SMR-SSA14.43 × 10−105.30 × 10−51.73 × 10−11.21 × 10−46.37 × 10−51.97 × 10−33.93 × 10−111.11 × 10−51.97 × 10−39.44 × 10−35.83 × 10−5
SMR-SSA22.57 × 10−45.30 × 10−52.29 × 10−15.13 × 10−58.28 × 10−132.01 × 10−129.11 × 10−96.09 × 10−112.01 × 10−122.27 × 10−39.75 × 10−13
Table 5. The percentages of the classification accuracies for 12 participants performing the various activities under the concentration state yielded by the traditional methods.
Table 5. The percentages of the classification accuracies for 12 participants performing the various activities under the concentration state yielded by the traditional methods.
ParticipantClassifierDrawingEatingDoing Computer ExercisesPlaying Electronic GamesReadingPlaying ToysWatching Television
DannyBP85.5350.0072.2285.6277.4858.0587.5
RF84.9137.5084.0983.6682.8859.7792.86
SVM83.6558.3074.6279.7477.4863.7988.10
LangBP83.2280.5688.8975.5391.8082.2877.48
RF87.0777.7888.5187.8890.5179.2886.55
SVM89.1279.1687.3686.7193.5979.2880.70
TongBP77.4476.7991.4878.5190.7873.0688.69
RF89.2378.0693.4390.0389.0183.3490.52
SVM85.1375.1090.5188.1691.8582.7085.63
HejianBP80.0747.2286.7781.7688.5863.5086.57
RF85.1463.8988.1093.6990.6854.9888.56
SVM80.4361.8188.3689.1993.0149.8887.81
ShuyunBP68.7560.9558.4166.4787.5956.9168.61
RF67.2458.0984.9672.7187.3555.9978.06
SVM65.3459.0582.8971.5486.8657.0974.72
TimBP66.6771.0188.7795.2481.3167.9377.36
RF66.6776.8192.9895.6488.8972.5786.83
SVM70.4872.4792.9896.8384.3475.1188.48
QunqingBP51.2178.2776.8266.4580.3868.7180.04
RF61.3793.5990.3676.7787.7176.2887.90
SVM66.0091.8886.9874.4187.0073.4187.90
XinBP65.0466.6781.0257.8156.2876.5473.61
RF74.3975.0080.0977.6169.2676.5470.83
SVM75.6158.3377.3170.8370.9979.0763.89
YuyuanBP86.1962.9666.9178.4062.9075.3780.46
RF82.8966.6777.5387.4570.9783.3474.25
SVM81.3866.6775.5686.6271.5075.9272.41
AidanBP56.9272.1666.6782.0964.5363.882.09
RF69.2382.7873.1682.7172.3471.90382.71
SVM66.6682.4172.7280.4261.777.6280.42
BenBP75.7652.3870.4663.6383.4953.2863.63
RF77.8863.6478.0678.5488.8955.7478.54
SVM76.6769.2674.6876.7787.352.1976.77
HimBP63.0956.2589.979.0186.6775.7679.01
RF69.0557.6495.9674.0798.0976.5274.07
SVM59.5269.4591.9279..0191.4375.7679..01
Mean:74.3068.0782.2680.3582.3769.5380.67
Table 6. The percentages of the classification accuracies for 12 participants performing the various activities under the immersion state via yielded by the traditional methods.
Table 6. The percentages of the classification accuracies for 12 participants performing the various activities under the immersion state via yielded by the traditional methods.
ParticipantClassifierDrawingEatingDoing Computer ExercisesPlaying Electronic GamesReadingPlaying ToysWatching Television
DannyBP72.3370.8372.3581.0484.6853.4582.14
RF82.3962.576.5292.8190.0959.7791.6
SVM89.3162.577.6584.9784.6963.2292.26
LangBP84.8165.2885.4476.9284.6166.3776.03
RF92.2959.7288.5184.3889.2387.3979.24
SVM91.8472.2291.5786.7195.1388.8981.58
TongBP77.6983.9786.8689.1089.3670.3281.35
RF77.4384.8183.7086.9292.2074.2080.43
SVM78.9884.8184.9190.9692.9178.5482.88
HejianBP76.8161.8077.7783.3393.2448.9087.31
RF84.7863.8983.3388.5192.5465.6991.29
SVM83.3356.2587.3087.8491.8465.4586.82
ShuyunBP63.6463.8166.3758.4888.3248.0673.89
RF70.2763.8174.6371.7394.8963.3576.39
SVM69.3265.8077.5869.4092.2158.2077.22
TimBP66.6776.8187.3794.4580.3066.6780.66
RF62.8671.0290.1896.8390.9176.7988.89
SVM61.9073.9187.0296.4391.4179.3288.48
QunqingBP71.3085.9085.9478.4985.1175.0587.05
RF76.3880.7783.5981.7288.4182.8288.32
SVM67.7786.3386.4678.0686.2979.7588.32
XinBP63.4175.0069.4565.6252.3870.3759.03
RF72.3691.6776.8571.8772.3071.6073.61
SVM73.9858.3375.9375.5274.8970.3765.27
YuyuanBP74.7744.4575.0685.3972.3172.4176.32
RF81.0874.0874.5781.2781.7270.3777.47
SVM76.2877.7874.8184.5777.9671.8576.55
AidanBP56.1270.679074.1171.6369.7961.72
RF65.46896.6760.0682.2773.9664.58
SVM67.9373.339561.1677.3179.6967.71
BenBP74.2471.7745.9974.3570.9755.5566.87
RF86.3679.9379.3283.3389.2556.4177.57
SVM81.3170.4177.6387.1882.7950.8571.92
HimBP60.3348.1172.8476.7784.6655.1990.61
RF63.9867.8377.9585.2586.2487.793.08
SVM68.8563.1979.8986.3483.8680.3395.55
Mean:74.1270.3180.4780.8884.4169.1280.00
Table 7. The percentages of the classification accuracies for 12 participants performing the various activities under the concentration state yielded by our method.
Table 7. The percentages of the classification accuracies for 12 participants performing the various activities under the concentration state yielded by our method.
ParticipantClassifierDrawingEatingDoing Computer ExercisesPlaying Electronic GamesReadingPlaying ToysWatching Television
DannyBP89.9476.3986.5390.0792.1556.7088.92
RF94.3741.6789.8492.7393.8459.4598.15
SVM89.9480.5693.690.2392.2548.1589.43
LangBP94.6580.1795.1296.595.3587.3980.23
RF93.4072.5797.0097.6796.7793.9991.52
SVM95.0158.0189.7796.2791.1184.6886.84
TongBP91.8077.0695.4983.9590.3184.9892.07
RF93.3490.5295.1696.3792.1790.5797.72
SVM94.4390.5294.6693.9787.4094.1292.19
HejianBP85.7755.5588.6988.0795.1157.8480.14
RF95.8155.0996.0791.1395.5557.8491.29
SVM76.7163.4389.482.5786.2168.6578.63
ShuyunBP82.8057.4577.3280.7780.1056.0282.35
RF86.1748.2385.7581.8390.1361.3587.62
SVM81.0348.9378.5672.6680.9064.2680.60
TimBP74.2375.3695.9297.1594.6477.2987.14
RF80.6389.8597.5095.1495.7574.5187.64
SVM76.0191.3099.7491.4687.6784.3189.64
QunqingBP80.7587.6191.8778.1685.7271.2090.80
RF86.1395.7297.1874.5791.8476.4791.56
SVM71.4389.3292.7773.4282.0475.1289.90
XinBP71.1483.3374.8680.2176.1973.3383.52
RF82.9325.0083.6288.0280.0891.5291.01
SVM64.6416.6778.2570.8464.0786.6779.96
YuyuanBP87.4566.6779.1186.7179.1570.3776.73
RF88.1266.6780.8093.6486.0582.7887.76
SVM82.4640.7478.4883.6271.3774.8276.37
AidanBP53.977.1485.8484.8595.5655.3977.29
RF72.3483.8195.2186.5894.4476.4197.07
SVM49.6478.5782.0950.2286.1155.969.23
BenBP80.6465.0383.8484.8192.5390.382.25
RF89.8461.7585.8686.9285.6383.6377.06
SVM98.4147.5486.8792.4186.2170.9180.08
HimBP85.7293.1885.1894.9590.2889.2893.06
RF94.2977.2796.395.9690.2889.2997.22
SVM96.1962.1285.1980.8181.9457.1495.14
Mean:83.6668.6388.6086.2688.7574.2486.61
Table 8. The percentages of the classification accuracies for 12 participants performing the various activities under the immersion state via yielded by our method.
Table 8. The percentages of the classification accuracies for 12 participants performing the various activities under the immersion state via yielded by our method.
ParticipantClassifierDrawingEatingDoing Computer ExercisesPlaying Electronic GamesReadingPlaying ToysWatching Television
DannyBP93.0850.0077.6592.8193.2963.7997.62
RF97.4962.5087.5010098.8980.4695.24
SVM96.2212.5076.1494.7796.5675.8698.81
LangBP96.3780.5596.5596.6797.1890.4478.06
RF97.0597.2299.6297.1198.7294.1783.65
SVM97.5110010098.0099.2399.0781.13
TongBP88.2182.7092.4692.2187.9488.8188.99
RF93.8586.9292.7093.4695.0490.8795.11
SVM82.8290.7295.1392.5398.5881.5189.60
HejianBP87.6863.8988.0986.2696.9755.2387.56
RF88.7759.7292.5990.9996.9774.2191.05
SVM93.4863.8991.2792.7998.1360.8291.05
ShuyunBP86.1863.8181.1276.0287.5960.7777.78
RF90.5377.1482.0180.3197.5763.5484.17
SVM88.6362.8686.7385.7797.8160.9688.06
TimBP80.0077.6894.3995.2492.9370.0494.24
RF88.5780.7994.7495.2498.9986.9295.48
SVM93.3365.2585.9696.8295.4565.8287.24
QunqingBP79.4785.6691.6668.3983.2282.0089.81
RF90.7388.8995.3181.5189.8385.8992.99
SVM88.9688.8986.2080.2192.2082.4192.57
XinBP68.9666.6777.7877.9768.0681.5068.75
RF82.0272.2288.4385.8090.2879.6378.47
SVM88.8952.7890.2887.2589.9375.9384.72
YuyuanBP81.9863.6078.1984.1680.5873.0175.17
RF87.3970.9787.9089.7188.9870.6588.74
SVM91.8967.6188.6491.7793.8281.5292.41
AidanBP83.3359.2394.5378.3880.8582.8172.15
RF89.3369.6996.1785.1691.4989.5872.15
SVM7680.7298.3684.9087.9478.1375.95
BenBP75.5183.3389.4584.0483.8757.2689.39
RF82.9987.1889.4590.1093.0166.6791.92
SVM69.3947.447374.5582.2664.9690.40
HimBP93.9182.1172.1190.6290.7483.3382.72
RF91.8888.3483.5190.1295.2485.5288.56
SVM68.1170.4674.2187.6679.3786.8893.19
Mean:86.9672.3388.0588.0491.3476.9786.80
Table 9. The percentages of the classification accuracies yielded by our proposed method via the various classifiers based on the EEGs at different durations of the samples acquired from Hejian performing the reading activity under the concentration state.
Table 9. The percentages of the classification accuracies yielded by our proposed method via the various classifiers based on the EEGs at different durations of the samples acquired from Hejian performing the reading activity under the concentration state.
Classifier1 s3 s5 s10 s
BP96.9897.4497.8395.67
RF99.5796.1597.8397.26
SVM86.2185.4682.6183.33
Table 10. The total times required for performing the attention assessments for each individual for performing each activity under both the concentration state and the immersion state via the traditional methods with all three classifiers.
Table 10. The total times required for performing the attention assessments for each individual for performing each activity under both the concentration state and the immersion state via the traditional methods with all three classifiers.
ParticipantDrawingEatingDoing Computer ExercisesPlaying Electronic GamesReadingPlaying ToysWatching Television
Danny709.70 s71.95 s927.71 s697.34 s641.60 s627.36 s635.24 s
Lang940.26 s275.26 s769.41 s894.02 s831.76 s709.91 s742.84 s
Tong1062.41 s515.44 s1069.46 s932.55 s942.4 s952.05 s1031.80 s
Hejian761.28 s312.02 s874.18 s927.25 s902.91 s883.16 s926.26 s
Shuyun1072.72 s270.45 s774.54 s1030.56 s868.76 s1146.33 s895.83 s
tim548.15 s227.59 s698.00 s655.50 s692.59 s583.30 s641.51 s
Qunqing924.83 s488.12 s894.13 s981.36 s922.29 s1057.49 s977.78 s
Xin516.40 s36.64 s469.02 s425.69 s475.37 s231.21 s402.45 s
Yuyuan824.14 s277.28 s842.77 s977.13 s835.07 s1088.47 s981.35 s
Aidan393.87 s357.31 s363.05 s515.95 s402.47 s359.22 s422.09 s
Ben444.68 s225.48 s505.39 s555.14 s538.93 s373.06 s450.18 s
Him262.02 s298.34 s357.24 s283.56 s347.62 s296.94 s263.68 s
Total54,318.57 s
Table 11. The total times required for performing the attention assessments for each individual for performing each activity under both the concentration state and the immersion state via our proposed method with all three classifiers.
Table 11. The total times required for performing the attention assessments for each individual for performing each activity under both the concentration state and the immersion state via our proposed method with all three classifiers.
ParticipantDrawingEatingDoing Computer ExercisesPlaying Electronic GamesReadingPlaying ToysWatching Television
Danny1148.42 s123.19 s1710.73 s1185.66 s1115.83 s1137.53 s1080.97 s
Lang1747.66 s456.14 s1421.33 s1618.29 s1498.82 s1256.50 s1315.50 s
Tong1845.90 s853.62 s1943.68 s1720.52 s1742.65 s1733.83 s1906.92 s
Hejian1331.78 s552.95 s1597.31 s1737.92 s1682.20 s1589.75 s1691.95 s
Shuyun1873.23 s538.36 s1319.43 s1831.15 s1508.13 s2066.58 s1464.77 s
tim906.35 s386.56 s1188.31 s1145.20 s1160.97 s947.82 s1092.37 s
Qunqing1515.19 s851.28 s1606.93 s1769.88 s1655.20 s1818.04 s1772.01 s
Xin900.74 s60.48 s835.49 s744.60 s843.07 s432.20 s794.56 s
Yuyuan1596.38 s462.60 s1495.88 s1868.94 s1572.73 s1905.77 s1876.69 s
Aidan661.08 s699.39 s694.03 s944.60 s744.41 s677.35 s787.90 s
Ben772.15 s387.60 s909.92 s899.57 s913.85 s628.86 s808.83 s
Him465.96 s506.74 s640.81 s488.96 s590.09 s522.33 s504.93 s
Total96,804.8 s
Table 12. The optimal parameters in the SVM in our proposed method trained using the EEGs acquired from Hejian performing the reading activity under the concentration state on both the first day and the second day.
Table 12. The optimal parameters in the SVM in our proposed method trained using the EEGs acquired from Hejian performing the reading activity under the concentration state on both the first day and the second day.
DateValue of the Box ConstraintType of the Kernel FunctionsParameter in the Kernel Function: Polynomial Order or Kernel Scale
First day23.891Polynomial2
Second day127.57Gaussian140.88
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

Wu, W.; Ling, B.W.-K.; Li, R.; Lin, Z.; Liu, Q.; Shao, J.; Ho, C.Y.-F. Classification Approach for Attention Assessment via Singular Spectrum Analysis Based on Single-Channel Electroencephalograms. Sensors 2023, 23, 761. https://doi.org/10.3390/s23020761

AMA Style

Wu W, Ling BW-K, Li R, Lin Z, Liu Q, Shao J, Ho CY-F. Classification Approach for Attention Assessment via Singular Spectrum Analysis Based on Single-Channel Electroencephalograms. Sensors. 2023; 23(2):761. https://doi.org/10.3390/s23020761

Chicago/Turabian Style

Wu, Weirong, Bingo Wing-Kuen Ling, Ruilin Li, Zhengjia Lin, Qing Liu, Jizhen Shao, and Charlotte Yuk-Fan Ho. 2023. "Classification Approach for Attention Assessment via Singular Spectrum Analysis Based on Single-Channel Electroencephalograms" Sensors 23, no. 2: 761. https://doi.org/10.3390/s23020761

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