Nothing Special   »   [go: up one dir, main page]

Next Article in Journal
Functional Sensing Interfaces of PEDOT:PSS Organic Electrochemical Transistors for Chemical and Biological Sensors: A Mini Review
Previous Article in Journal
Implicit Calibration Using Probable Fixation Targets
Previous Article in Special Issue
Design of User-Customized Negative Emotion Classifier Based on Feature Selection Using Physiological Signal Sensors
You seem to have javascript disabled. Please note that many of the page functionalities won't work as expected without javascript enabled.
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Automated Recognition of Epileptic EEG States Using a Combination of Symlet Wavelet Processing, Gradient Boosting Machine, and Grid Search Optimizer

1
State Key Laboratory of Virtual Reality Technology and Systems, Beihang University, Beijing 100191, China
2
Automation Science and Electrical Engineering, Beihang University, Beijing 100191, China
*
Author to whom correspondence should be addressed.
Sensors 2019, 19(2), 219; https://doi.org/10.3390/s19020219
Submission received: 17 November 2018 / Revised: 23 December 2018 / Accepted: 3 January 2019 / Published: 9 January 2019
(This article belongs to the Special Issue Sensors for Biosignal Processing)

Abstract

:
Automatic recognition methods for non-stationary electroencephalogram (EEG) data collected from EEG sensors play an essential role in neurological detection. The integrated approaches proposed in this study consist of Symlet wavelet processing, a gradient boosting machine, and a grid search optimizer for a three-class classification scheme for normal subjects, intermittent epilepsy, and continuous epilepsy. Fourth-order Symlet wavelets are adopted to decompose the EEG data into five frequencies sub-bands, such as gamma, beta, alpha, theta, and delta, whose statistical features were computed and used as classification features. The grid search optimizer is used to automatically find the optimal parameters for training the classifier. The classification accuracy of the gradient boosting machine was compared with that of a conventional support vector machine and a random forest classifier constructed according to previous descriptions. Multiple performance indices were used to evaluate the proposed classification scheme, which provided better classification accuracy and detection effectiveness than has been recently reported in other studies on three-class classification of EEG data.

1. Introduction

Epilepsy is one of the most common neurological disorders, with one person in every 100 worldwide suffering from this disease [1]. Epileptic episodes are a clinical manifestation of paroxysmal abnormal ultra-synchronized electrical activity in the brain, which is iterative, sudden, and temporary. The automated detection of an epileptic episode and subsequent alert can aid neurologists who are monitoring treatment in busy neurological wards, and could help to ensure patient safety [2]. However, the time frequencies of epileptic episodes are uncertain, and their clinical manifestations are not easy to detect.
In an early system for testing and monitoring patients for epilepsy, researchers attempted to use sensors [3] to collect biological data from the patient’s surface, including electrocardiogram (ECG), electromyography (EMG) [4,5], motion data [6], and electrodermography (EDG). These data can be collected by wearable systems, including E-textiles [7]; capacitive sensing [8]; polymer materials, such as carbon nanotube (CNT)-polydimethylsiloxane (PDMS) [9]; Ag/AgCl electrodes [10]; and micro-needle arrays [11]. Wearable sensor systems can non-invasively monitor the biological signals of epileptic patients for long periods. However, in contrast to these types of biological data, brain signals can directly provide more information about changes in the brain.
Therefore, approaches to directly obtain epilepsy information from the brain have been researched, including positron emission tomography (PET), single photon emission computed tomography (SPECT), magnetic resonance imaging (MRI), and functional magnetic resonance imaging (fMRI) [12]. Currently, most studies focus on the use of video-electroencephalograms (EEGs) [13,14]. EEGs not only display temporal information, but also provide spatial information on electrical activity in the brain. The video-EEG technique has been considered a gold standard tool for the study of epilepsy. The real time information on an epileptic episode reflected by EEG cannot currently be replaced by any other physiological brain function monitoring method. As the physiological processes of seizure are typically non-stationary, dynamic, and nonlinear, the differentiation of rhythmic discharges from nonstationary processes brings great challenges to the analysis of EEG signals.
In general, the automated detection of EEG signals includes the two core tasks of feature extraction and classification. The extracted features can be divided into four categories: Statistical features, fractal dimension features, entropy features, and time-frequency domain features. Several studies have used combined time and frequency features for the automatic recognition of non-stationary EEG at the onset of epilepsy. Gotman was a pioneer in the exploration of automatic seizure detection technology based on EEG, and to capture transient behavior during long-term EEG monitoring, he decomposed the EEG into half waves and recorded the typical peak value as a morphological feature [15]. A classic example is the Welch spectral analysis method introduced into the feature analysis of epileptic seizure detection. Tzallas et al. used different time-frequency domain methods to extract the power spectrum density of computerized EEG signals during epileptic seizures [16]. Independent components analysis (ICA) [17] and linear discriminant analysis have also been reported for EEG signal extraction, while a multiscale radial basis function algorithm recently showed promising results in the decoding of EEG of epileptic seizures [18]. After consideration of the above-mentioned literature, Polat et al. proposed a hybrid model for seizure detection using a fast Fourier transform (FFT) for feature extraction [19]. To a certain degree, the most commonly used FFT reflects the frequency characteristics of the entire signal. Using FFT can process smooth and slow-changing signals over time. However, the FFT has several disadvantages: It can only show the overall behavior of the signals, and it cannot reflect the frequency variations of non-stationary EEGs using a fixed window function. Therefore, the short-time Fourier transform (STFT) was used to extract the frequency features from the raw EEG recording. The STFT algorithm performed time-frequency analysis of non-stationary EEG signals by adjusting different time windows to avoid the disadvantages of the FFT [20,21]. The original signals were truncated into smaller sections and windowed, and the discrete Fourier transform was applied to the signals. Under the assumption that the windowed signals represent stationary signals in different finite time widths, the power spectrum at different time periods can be calculated. The STFT treated non-stationary EEG as stationary signals and superimposed a series of short signals. In another approach, Boashash et al. extracted statistical and image features according to their time-frequency distribution to handle multichannel EEG from neonates [22]. A sensitivity of the criterion is that it is taken into consideration in the feature selection, resulting in a reduction in computational cost and improvement in detection performance [23]. Flexible wavelet transforms and the fractal dimension of the time-frequency method were also used for the detection of seizure segments in long-term EEG [24,25,26,27,28,29]. It is an analysis method that combines both the time and frequency domains. The wavelet transform decomposes the signal into different frequency bands, and expresses the nature and characteristics of the signal according to the “wavelet family” in these different frequency bands. The wavelet transform generally performs better than the FFT and STFT without prior knowledge. Discrete wavelet transforms (DWTs) have the ability to capture the frequency information in epileptic EEG, and many researchers have used Daubechies wavelets to analyze epileptic EEG signals, as they considered the Daubechies-4 wavelets to be similar to the spike wave of the EEG signals. The above literature indicates that the wavelet transform is the most commonly used method for extracting EEG features, although this extraction method ignores the overall statistical information. Therefore, we aimed to find an EEG analysis method that combines frequency information and statistical information.
For the automatic detection of EEG by machine learning, most studies have adopted a supervised learning paradigm. Regardless of the category of the input EEGs, the EEGs used to train classifiers are labeled according to prior knowledge. He et al.’s neural network (NN) classification technique used machine learning applied in the field of brain science [30]. Boser et al. [31], Fu et al. [32], and Gue et al. [14] all used support vector machines (SVMs) to identify the EEG signals of epilepsy patients, and obtained a relatively good recognition performance. Brabanter et al. proposed a least squares support vector machine (LS-SVM) to classify two-class seizure and non-seizure EEG signals from the small seizure dataset of Bonn University. They obtained 98.0–99.5% accuracy using a radial basis function (RBF) kernel, and 99.5–100% accuracy using a Morlet kernel [33]. Sun et al. used an Ada-Boost classifier to achieve good accuracy for spike detection of epileptic seizures [34]. However, the choice of a suitable strategy for machine learning is a difficult one, and numerous classification strategies have been developed for seizure detection, including random forests (RF), K-nearest neighbors (KNN) [35], and Bayesian neural networks [36]. The classification results indicate that these pattern recognition systems can achieve high levels of classification accuracy, from 93% to 99.66%. Nevertheless, these accuracy scores are the results of two-class EEGs classification, and the above mentioned schemes are relatively inconvenient and time consuming for practical clinical applications. Recently, Wang et al. explored a three-class classification problem, analyzing continuous ictal epilepsy patients, intermittent epilepsy patients, and healthy subjects. Using an SVM-based recognition system, they achieved an accuracy of 93.9% for the Bonn datasets [37]. However, the optimizer is not used to optimize the parameters in the process of training the model. It only relies on its own experience to adjust the parameters of the classified model. Therefore, a more effective classification scheme needs to be developed to solve the multi-class classification problem presented in this work.
After completing the feature extraction and classification procedures, it is also essential to perform a reasonable assessment to verify their accuracy. In the studies of machine learning for the assessment of EEG, the pursuit of high classification accuracy in a recognition system does not satisfy comprehensive assessment of the classification performance of the classifiers. Additional performance metrics revealing the causes of error in classification are also important in epilepsy detection. Recognition systems achieving high levels in these verification indicators could help fill gaps in the analysis of seizure monitoring devices, and reduce the rate of missed detections in clinical situations [38]. The Mayo Clinic and University of Pennsylvania hosted a competition to find robust seizure detection systems in 2014. Participants used SVM and random forest (RF) machine learning techniques on canine and human cortical electroencephalogram (ECoGs) datasets, and gained high sensitivity and low false-positive rates [39,40].
The remainder of the paper is organized as follows. In Section 2, we introduce a process flow of the proposed scheme for seizure EEG detection. In Section 3, we apply time-frequency and statistical methods to real EEG data after first preprocessing it. This study adopts the principal component analysis (PCA) method to reduce the dimensionality of the EEG features. We build the novel automatic gradient boosting machine (GBM) recognition system using 10-fold cross-validation (CV). In Section 4, we apply the automatic detection method to real EEG data to classify the three categories of seizure, light-seizure, and non-seizure EEGs to verify the effectiveness of the machine learning system. We compared and analyzed the performance of the GBM, SVM, and RF classifiers. The experimental results are analyzed using accuracy, confusion matric (CM), precision–recall curve (PRC), receiver operating characteristic (ROC), and the area under the curve (AUC) generated from the sensitivity and specificity. At last, the contributions of this research and future work are summarized in Section 5.

2. Proposed Scheme for Seizure EEG Detection

The automatic integrated epileptic seizure EEG classifier proposed in this paper comprises five major modules, as illustrated in Figure 1. In the first step, signals are collected from EEG sensors in the monitoring module. In the second step, the data are entered in the preprocessing module for denoising. In the next step, a wavelet transform is adopted to analyze the time-frequency information of epilepsy, which avoids the shortcomings of the Fourier, STFT, and Welch spectral analyses. The Symlet wavelet is used to decompose the EEG signals into the γ, β, α, θ, and δ sub-bands. Then, the statistical information of the five sub-bands is extracted to generate the features for the feature extraction and selection module. PCA is applied to reduce the feature dimensionality, which is beneficial with respect to the computer runtime. Most previous studies have applied recognition algorithms to the Bonn epilepsy dataset, which is classified into seizure EEG epochs and non-seizure EEG epochs for two-class classification. Such two-class classification schemes are not ideal for practical applications because, in reality, there are multiple degrees of epileptic seizures. To obtain an efficient three-class classification scheme, we propose a GBM to classify the dataset. Labeled testing data are fed into the feature classification module. Then, a grid search optimizer (GSO) is performed to search for the best hyper-parameter values and to optimize the recognition system. We also implemented two other state-of-the-art machine learning classifiers, a support vector machine (SVM) and a random forest (RF), and compared them with the GBM classifiers. Finally, we used multiple performance indices to evaluate the scheme, and an evaluation module to detect the performance of the classifier. The comparison demonstrates that the GBM classifier is the most effective for identifying epileptic-state EEG. This recognition scheme not only ran faster than the SVM and RF, but also effectively avoided the misdiagnoses or missed diagnoses caused by the manual tuning of parameters. Our auxiliary medical diagnostic system can directly recognize three classifications from epilepsy EEG signals: Continuous ictal epilepsy patients, intermittent epilepsy patients, and healthy subjects.

3. Scheme Implementation

3.1. Real Epilepsy EEG Dataset

This study used an open-source database available from the University of Bonn to extract the key features for detecting continuous ictal epilepsy patients, intermittent epilepsy patients, or healthy volunteers using EEG signals [41,42]. These datasets have been widely used to test many methods and can be considered as a benchmark for developing seizure detection schemes.
The high-quality open source epilepsy datasets are divided into five subsetss of ictal scalp EEG signals {F, N, O, Z, and S}, which are collected by 25 subjects. Among them, both subsets {O} and {Z} are provided by five healthy volunteers, with eyes open and closed, respectively, and were collected from scalp surface EEG. Subsets {FN} and {S} contain EEGs from epileptic patients, of which subsets {FN} were, respectively, recorded in seizure-free intervals from five patients and subset {S} includes seizure activity recorded from all intracranial sites. All EEG signals were extracted by the 128-channel amplifier system with an average common reference. Each subset contained 100 samples of EEG signals from 5 subjects. The raw EEG signals were recorded using an international standard 10–20 system with a 173.61 Hz sampling frequency using 12-bit resolution. The age of the subjects ranged from 19 to 60 years. They were all right-handed, and the locations of the epileptogenic foci for each subject were identified by experienced neurologists or epileptologists.
The five EEG datasets {F, N, O, Z, S} were subjected to standard normalization procedures and were combined into three types: {S}, {FN}, and {OZ}, according to the level of disease, which is continuous ictal epilepsy patients, intermittent epilepsy patients, or healthy volunteers, respectively. More detailed information about the five EEG datasets {F, N, O, Z, S} is provided in Table 1.
The major goal of the system proposed in this paper is to classify the existing EEG signals into the three types: {FN}, {OZ}, and {S}. First, the raw EEG signals were preprocessed using the open source toolbox, EEGlab, running under MATLAB. This involves several steps, including Butterworth filtering, removal of artifacts, baseline corrections, and separation of the data into segments [43].

3.2. Feature Extraction Using the Symlet Wavelet

The Discrete Wavelet Transform (DWT) analysis was able to accommodate the properties of non-stationary signals. The effective frequency range obtained after band pass filtering was 0 to 50 Hz. The DWT decomposes the EEG scalp signals at time t, expressed as:
s ( t ) = ( s 1 ( t ) , s 2 ( t ) , , s n ( t ) ) T = ( s 11 s 1 p s n 1 s n p ) , ( i = 1 , 2 , , n )
where s ( t ) represents the n × p EEG signals, k = 1 , 2 , , n / 2 , s n ( t ) is the nth channel of EEG, and p is the number of scales, into the wavelet, ω p , k ( t ) , and scaling, φ p , k ( t ) , functions defined, respectively, as follows:
ω p , k ( t ) = 2 p / 2 ω ( 2 p t k )
φ p , k ( t ) = 2 p / 2 φ ( 2 p t k ) , p , k Z
The DWT results in a hierarchy of decompositions at four levels, as illustrated in Figure 2. At each level, p , the approximation can be calculated using (4):
D p ( t ) = k Z C ( p , k ) ω p , k ( t )
Here, C ( p , k ) = + s ( t ) ω p , k ( t ) d t denotes the wavelet coefficients.
EEG signal s ( t ) can be defined as the sum of all detail coefficients [44]. At level P , the detail coefficients with exponents, p P , represent fine details, whereas those with p > P represent the coarse details. The coarse detail is also called the approximation, A p ( t ) , of signal, s ( t ) , and is defined as A p ( t ) = p > P D p ( t ) . As the level, P , increases, the resolution, 2 P , decreases and A p ( t ) contains only the low frequency features of the EEG.
In this study, the Symlet wavelet was used to extract a specific frequency band from EEG signals. The Symlet wavelet is an improvement on the Daubechies wavelet, which addresses the disadvantage of the approximate asymmetry present within the Daubechies wavelet. The support range and vanishing moment of the Symlet wavelet are 2N-1 and N, respectively. The Symlet wavelet basis has better regularity than Daubechies, and this can reduce the phase distortion in the analysis and reconstruction of non-stationary signals, such as EEGs [45].
Figure A1a–c of Appendix A show the SW visual decomposition process for the continuous epilepsy {S}, intermittent epilepsy {FN}, and healthy subject {OZ} EEGs. The raw EEGs shown in the first column are divided into several feature segments according to the frequency ranges of γ (25–50 Hz), β (12–25 Hz), α (6–12 Hz), θ (3–6 Hz), and δ (0–3 Hz). In the first decomposition process, the detail coefficient, d 1 , and approximation coefficient, a 1 , are generated. Next, a 1 is injected into the SW to generate detail coefficient, d 2 , and approximation coefficient, a 2 . The other wavelet coefficients are obtained in a similar way. The decompositions for {S}, {FN}, and {OZ} of the EEG datasets are shown in rows 2 to 6 of Figure A1a–c.
The mean and standard deviations show the density of the center and range of possible EEG signal values, and are respectively defined as follows. In practice, it is necessary to extract statistical information from the time–frequency features of EEG signals, which can be understood as continuous random variables [46]:
mean = + s ( t ) P ( s ( t ) ) d s ( t )
S T = + ( s ( t ) ω ) 2 P ( s ( t ) ) d s ( t )
The absolute value of the EEG is taken to avoid negative energy. To ensure the credibility of the test results, arithmetic average processing was performed for the above three groups of data and they were compressed into single column matrices. The energy mean, number of cases, and variance of the {FN}, {OZ}, and {S} EEGs are shown in Table 2. EEGs in {S} have the largest standard deviation and highest mean energy.
When extracting features, it is also necessary to use PCA after the Symlet wavelet to obtain low-dimensional features. PCA ensures the information is as relevant as possible. It constructs a new feature subspace from the information derived from the existing features. This procedure reduces the computational load on the recognition system and increases the computational efficiency.

3.3. Classifier Implementation

There are many machine learning pattern classifiers that could be used to classify EEG data, and it is difficult to choose the most suitable one for the analysis of multi-class epilepsy EEG data. In the following section, we discuss the most widely used SVM and RF classifiers as well as the GBM classifier proposed in this paper.

3.3.1. Gradient Boosting Machine

In this study, the gradient boosting machine algorithm is used to train the classifier. The GBM is a method for the gradual enhancement or improvement of error. It was designed by Friedman [47], who considered estimation of the functional dependence, y = η ( s ( t ) ) . The loss function describes the level of robustness of the classification model. The best method to improve the classification model is to make the loss function descend at its gradient direction [48,49]. In this study, the GBM was used to train the classifier. We expressed the EEG training by M = { m p R k , p = 1 , 2 , , N } , where N is the number of EEG of the dataset, and m p expresses the feature vector of the pth EEG. In the model of the construction process, loss function, ψ ( y , η ) , is minimized as follows:
η ( s ( t ) ) = y = arg min ψ ( y , η )
The function estimate, y = i = 1 M y i , is parametrized with y i , which is defined as a boost. We created a greedy strategy that estimates y k = y k 1 + Δ k · ξ ( s ( t ) ¯ , θ k ) at each recursion, where ξ ( s ( t i ) ¯ , θ ) is called the base learner; that is, a decision tree. The function is built as follows:
( Δ k , θ k ) = arg min Δ , θ i = 1 N ψ ( y ( i ) , η k 1 ) + Δ · ξ ( s ( t i ) ¯ , θ )
While this optimization problem is hard for a general loss function and the base learners, Friedman suggested a new function, ξ ( s ( t ) ¯ , θ ) , which is the function that is the closest to being parallel to the negative gradient along the observed data, whereby the optimization task becomes a classic least-squares minimization. Table 3 lists the pseudo code of GBM.

3.3.2. Parameter Optimization and CV

• Parameter optimization
The GBM identification algorithm generates decision tree and boosting parameters during the training process. Although the GBM classifier does not result in much over-fitting as the decision tree grows, the high learning rate still causes over-fitting of the classification model. If we reduce the learning rate and increase the decision tree blindly, the calculations can be very expensive and take a long time to run. This paper proposes an improved GSO to optimize the parameters of the GBM classification model to improve the classification performance of the GBM classifier. The specific steps are as follows.
First, we used a long-distance step size for a rough search over a large range. Second, the mesh was built on the coordinate system, with its mesh nodes being the corresponding parameter pairs of the decision trees and boosting. The optimal parameters and recognition accuracy were output when there was a set of parameters that met the requirements; we selected the parameter with the smallest penalty parameter as a more selective object when multiple sets of parameters met the requirements. Next, a second accurate search was performed in small steps on the set of parameters: The above steps were repeated with the step set to 0.1 to find the global optimal hyper-parameters. A flowchart of this proposed parameter optimization is shown in Figure 3.
Generally, the default value for the learning rate is 0.1; however, for different problems, values between 0.05 and 0.2 can determine the optimal number of decision trees at the current learning rate. In this study, the optimal learning rates determined by the GSO algorithm was found to be 0.06.
• 10-fold CV
The automatic seizure detection systems of Guo et al. [50], Nicolaou et al. [51], Samiee et al. [52], and Yuanfa Wang et al. [37] did not use CV, whereas Qu et al. used the default 5-fold CV (32). To reduce the influence of the selected training and testing data on the model verification, 10-fold CV was used. In this process, the training data were randomly divided into 10 subsets without repetition. The other residual subsets were used to train the EEG classifier on data corresponding to different levels of epileptic seizures. The division process is expressed as the following formula (9):
{ V 1 , V 2 , , V k } , ( V i V j = )
This process was repeated 10 times to obtain 10 accuracy measurements. After 10 operations, the average was used as the final CV error, C V e = 1 10 q = 1 10 e q , for selecting the classifier, where e q = 1 m n = 1 m ( y n y n ) 2 is the average error of the q th test set and m is the number of samples in the q th test set.
The architectures of the three types of classifiers used for epilepsy detection are shown in Figure 4. The training data and their corresponding labels were included in the dataset for each category. The EEGs for {S}, {FN}, and {OZ} were decomposed into five frequency sub-bands using four levels of SW. The mean and standard deviation values of the wavelet coefficients were then calculated to create a 10-dimensional feature vector. The training sets for {S}, {FN}, and {OZ} were labeled with “1”, “0”, and “−1”, respectively. The 10-dimensional feature vector and pre-trained SVM, RF, and GBM classifiers act in the feature recognition module of the scheme. During the training process, the GSO searches of the optimal values for the generated parameters.

4. Experimental Results and Discussion

The experiments were performed on an Acer PC with a 2.8 GHz Intel Core i5-6200U CPU, 8 GB of low voltage memory, 1 TB of storage, and a 64-bit operating system.

4.1. Multiple Performance Evaluation and Results Comparison

After the design of the proposed system is complete, it is essential to conduct an evaluation that employs multiple performance indices. We evaluated the model using not just accuracy, but also multiple evaluation indices commonly used in machine learning. Furthermore, these results can be used to adjust the model so that it can achieve a higher accuracy. The main evaluation indices consist of CM, the ROC, and AUC. These indices enable a deeper analysis of the performance of a classification model from the perspective of classification errors, which is more important in medical diagnosis detection. The performance indicators’ accuracy, sensitivity, and specificity are defined in Table 4 for the three-class classification of epilepsy EEGs.
Table 5 summarizes the processing results of the Bonn University data over recent years, including the techniques used, number of classification levels, and results of multiple-index evaluations. As listed in Table 5, almost all researchers have classified the data into two-class, {Z}-{S}, {O}-{S}, {N}-{S}, {F}-{S}, {OZ}-{S}, {NF}-{S}, {OZ}-{NF}, or {FNOZ}-{S} [29,51,53,54]. The exception is Wang et al., who conducted three-category {FN}-{OZ}-{S} classification in 2017, and achieved an accuracy rate of 93.9% [37]. Our proposed method achieved better results on the three-category problem, with an accuracy of 96.5%. Many different machine learning performance indicators have been evaluated for the SM-GBM-GSO approach, as shown in Table 5. These results lead us to infer that our proposed approach exhibits potential for automated three-class classification of epilepsy EEGs.
Furthermore, we compared the CMs for the three EEG dataset categories, {S}, {FN}, and {OZ}, labeled by the GBM, RF, and SVM classifiers in Figure 5. The horizontal and vertical directions of a CM indicate the real and predicted classes, respectively. The GBM classifier achieved higher numbers of correct classifications than the RF and SVM classifiers. There were two main types of classification error. The first type occurred when the serious disease {S} class was mislabeled as {OZ} (with a probability of 1%). The second type occurred when class {S} was misclassified as {FN} (also with a probability of 1%). The proposed method not only has a high rate of true positives and true negatives, as can be seen on the main diagonal line, but also avoids errors from false positives and true negatives, as represented by the off-diagonal line.
With the technological developments in machine learning over recent years, the identification accuracy and confusion matrix can be considered insufficient to judge the accuracy of a classification. We can construct a classifier with high accuracy or recall, but it is difficult to ensure both at the same time. Therefore, we used the ROC and AUC [57] to assess the performance of the classifiers [58]. To allow an ROC curve to be drawn, the classifier must provide a confidence value that is judged as positive or negative for each sample. If the ROC curve falls above the diagonal, this indicates the classification model has predictive ability, and conversely, there is no predictive ability. The ideal situation is that the ROC curve coincides with the y-axis, that is, the prediction ability is 100%. The AUC defines a natural measure for overall performance assessment of a classifier based on the ROC. Li et al. also used the AUC index for their results on the same dataset, but their values of 0.66–0.87, as shown in Table 6, are not very satisfactory [54]. Figure 6 summarizes the AUC comparisons between the proposed GBM, RF, and SVM identifiers with GSO using subsets {FN}-{OZZ}-{S}, with values of 0.9695, 0.9586, and 0.9538, respectively. In medical detection, a high true-positive rate is more desirable for a fixed lower-false positive rate. By definition, we consider the higher true-positive value to be the better one.
The precision recall curve (PRC) has a wide range of applications in the field of classification and retrieval; it represents the relationship between precision and recall. The precision values of the vertical axis represent the correct predictions as the ratio of positive samples to all positive samples, while the recall of the horizontal axis represents the correctly predicted ratio of positive samples to true samples. When the precision and recall are high, we can be assured that the classification performance is good. It can be seen in Figure 7 that the GBM-GSO classifier has the best performance in the three-class classification according to the multiple indicators of ACC, CM, ROC, AUC, and PRC.

4.2. Comparative Analysis of Classifiers

All in all, one of the aims of the method proposed in this paper is to maintain robustness while solving multi-class classification, thereby ensuring recognition accuracy. SVMs are widely used for classifying EEGs, and RFs can achieve excellent performance in pattern recognition. We compared the proposed GBM method with an SVM and RF, discussing them with respect to three main aspects: Multi-class classification; the sensitivity of parameter selection; and the generalization ability. The conclusions obtained are summarized in Table 6, which can provide valuable references for other researchers using pattern recognition systems.
• Multi-class classification problem
The SVM was initially used to separate EEG data into two types by finding the optimal hyperplane, ωT + b. The idea of maximizing the classification margin is the core of the SVM method [59]. In the application of data mining, it is generally necessary to solve a classification problem with multiple classes in practice. This can only be solved by constructing a combination of several two-class classifiers. Although the multi-class classification problem can be solved this way, it is cumbersome and does not guarantee good precision [37]. In contrast, RF and GBM are decision tree models based on integration ideas, and they are better suited for solving multi-class classification problems.
• Sensitivity of parameter selection
The performance of an SVM classifier depends mainly on the selection of the kernel function; therefore, a practical problem is how to choose the appropriate kernel function. At present, a more mature approach is to artificially choose the kernel function and its parameters based on experience plus an element of randomness. Kernel functions should have different forms and parameters for different problem areas, and so domain knowledge should be introduced when making the selection. Currently, there is no good way to solve the problem of kernel function selection.
• Generalization ability
The main characteristic of the RF classifier [60] is the selection of features using the principle of Gini index minimization. Because of the random selection of samples and features, it is not easy to over-fit the data. In the bagging step of RF, a tree is grown to obtain an average predictive power across all decision trees using a parallel boosting method. Each tree is constructed on a sample of raw data and the results of the trees are voted on to achieve the result without further optimization of the training results of different trees.
The essential difference between GBM and RF is that each tree in GBM learns the residuals of all previous tree conclusions. The residual is the true value minus the predicted value. GBM is superior to RF in that it is not based on decision trees built in parallel. The construction of a GBM classifier involves moving along the direction in which the gradient drops the fastest. The gradient generates a completely new decision tree at each iteration. To make up for the lack of an original recognition system, the partial derivative of the loss function at each training sample point is used to construct a weak learner. Therefore, the GBM classification system has stronger generalizing ability and better adaptability to new data than the RF and SVM techniques.
The above comparative analysis indicates that the GBM classifier is the most suitable for the three-class classification problem of epilepsy in EEGs.

4.3. Contribution and Advantages of the Proposed System

Analyzing epilepsy EEGs from a computer recognition point of view can help promote our understanding about the state of an illness. We believe that our machine learning approach has the following contributions and advantages for the classification of epilepsy EEGs.
(a)
It not only enables representation of the core time–frequency information of EEGs through wavelet transforms, but also extracts key statistical information. The statistical information of time–frequency features are used as recognition features, and these features reflect the overall characteristics of the data. Simultaneously, a PCA is adopted to reduce the dimensionality of the data. Thus, the proposed method reduces the amount of hardware calculation under the premise of guaranteeing the accuracy of the classifier.
(b)
The proposed GBM recognition system was highly parallelized to improve operational efficiency. Another advantage is that it can process large-scale data. However, the recognition system generates many parameters in the course of the training process, and it can be difficult to determine the optimal parameters by manual tuning. This paper proposes a GSO to optimize these parameters and determine the best recognition system filtering parameters by repeatedly varying the step size. To prevent over-fitting in the GBM training process, we adopted a 10-fold CV strategy, which ensures that the optimized system is more robust.
The integrated SW-GBM-GSO methods classify three classes: Healthy subjects, intermittent epilepsy patients, and continuous ictal epilepsy patients. We used multiple performance indicators to evaluate and verify the classification system. In addition to classification accuracy, ACC, CM, PRC, ROC, and the AUC were measured. These indicators enable a more thorough and clearer analysis of the error rate resulting from misclassification. This strategy is pivotal in medical screening.

5. Conclusions

The use of EEG signals has changed the method of monitoring epileptic seizures. In this study, the SW-GBM-GSO was proposed for an auxiliary medical diagnostic system ofepilepsy EEGs. The proposed method performed well at the classification of healthy subjects, intermittent epilepsy, and continuous ictal epilepsy. In this system, Symlet wavelets are used to decompose the EEG data into five time–frequency sub-bands and the mean and standard deviation of statistical features were also calculated. Subsequently, a modified GSO is used to search for the optimal parameters using a variable-step method. The use of 10-fold CV avoids overfitting of the classifier. We compared GBM with SVM and RF for the classification of EEG data. Considering that most other schemes have only been concerned with classification accuracy, we focused on multiple indicators to determine the misclassification factors. These indicators are essential in medical screening. According to the experimental results and multiple evaluation indicators, we conclude that the proposed Symlet wavelet processing, a GBM, and a GSO together obtain the highest performance in the three-class classification.
In the future, we intend to optimize our detection approach to achieve higher recognition rates for multiple levels of epileptic seizure. We also hope to transfer the technology out of the laboratory and plan to develop a smart mobile phone application to assist medical diagnosis of an epilepsy patient. The EEG signals would be transmitted to a mobile terminal through a wireless sensor network [61,62]. The scheme could assist medical diagnosis and be used to alert medical professionals to an epileptic occurrence. It should be especially useful for people or infants who suffer paroxysmal epilepsy and who could be monitored at home in the evening.

Author Contributions

The following statements conclude conceptualization, X.W., G.G., N.L.; methodology, X.W.; software, X.W.; validation, G.G. and N.L.; formal analysis, X.W.; investigation, X.W.; resources, X.W.; data curation, X.W.; writing—original draft preparation, X.W.; writing—review and editing, X.W.; visualization, X.W.; supervision, G.G., N.L.; project administration, N.L.; funding acquisition, National Science Foundation of China.

Funding

This research was funded by the National Science Foundation of China, grant number 61773032.

Conflicts of Interest

The authors declare no conflict of interest.

Appendix A

Figure A1. (a) Raw {S} data and corresponding wavelet decomposition; (b) raw {FN} data and corresponding wavelet decomposition; and (c) raw {OZ} data and corresponding wavelet decomposition.
Figure A1. (a) Raw {S} data and corresponding wavelet decomposition; (b) raw {FN} data and corresponding wavelet decomposition; and (c) raw {OZ} data and corresponding wavelet decomposition.
Sensors 19 00219 g0a1aSensors 19 00219 g0a1b

References

  1. Moshé, S.L.; Perucca, E.; Ryvlin, P.; Tomson, T. Epilepsy: New advances. Lancet 2015, 385, 884–898. [Google Scholar] [CrossRef]
  2. Leijten, F. Multimodal seizure detection: A review. Epilepsia 2018, 59, 42–47. [Google Scholar] [CrossRef] [PubMed]
  3. Sukumaran, D.; Enyi, Y.; Sun, S.; Basu, A.; Zhao, D.; Dauwels, J. A low-power, reconfigurable smart sensor system for EEG acquisition and classification. In Proceedings of the 2012 IEEE Asia Pacific Conference on Circuits and Systems, Kaohsiung, Taiwan, 2–5 December 2012; pp. 9–12. [Google Scholar]
  4. Nijsen, T.M.E.; Aarts, R.M.; Cluitmans, P.J.M.; Griep, P.A.M. Time-Frequency Analysis of Accelerometry Data for Detection of Myoclonic Seizures. IEEE Trans. Inf. Technol. Biomed. 2010, 14, 1197–1203. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  5. Milosevic, M.; Van de Vel, A.; Bonroy, B.; Ceulemans, B.; Lagae, L.; Vanrumste, B.; Van, H.S. Automated Detection of Tonic-Clonic Seizures using 3D Accelerometry and Surface Electromyography in Pediatric Patients. IEEE J. Biomed. Health Inf. 2016, 20, 1333–1341. [Google Scholar] [CrossRef]
  6. Chen, H.; Xue, M.; Mei, Z.; Oetomo, S.B.; Chen, W. A Review of Wearable Sensor Systems for Monitoring Body Movements of Neonates. Sensors 2016, 16, 2134. [Google Scholar] [CrossRef] [PubMed]
  7. Coosemans, J.; Hermans, B.; Puers, R. Integrating wireless ECG monitoring in textiles. In Proceedings of the International Conference on Solid-State Sensors, Actuators and Microsystems, Seoul, Korea, 5–9 June 2005; Digest of Technical Papers, Transducers. Volume 221, pp. 228–232. [Google Scholar]
  8. Yang, B.; Yu, C.; Dong, Y. Capacitively Coupled Electrocardiogram Measuring System and Noise Reduction by Singular Spectrum Analysis. IEEE Sens. J. 2016, 16, 3802–3810. [Google Scholar] [CrossRef]
  9. Jung, H.C.; Moon, J.H.; Baek, D.H.; Lee, J.H.; Choi, Y.Y.; Hong, J.S.; Lee, S.H. CNT/PDMS composite flexible dry electrodes for long-term ECG monitoring. IEEE Trans. Biomed. Eng. 2012, 59, 1472–1479. [Google Scholar] [CrossRef]
  10. Yokus, M.A.; Jur, J.S. Fabric-Based Wearable Dry Electrodes for Body Surface Biopotential Recording. IEEE Trans. Bio-Med. Eng. 2016, 63, 423–430. [Google Scholar] [CrossRef]
  11. Lei, R.; Jiang, Q.; Chen, K.; Chen, Z.; Pan, C.; Jiang, L. Fabrication of a Micro-Needle Array Electrode by Thermal Drawing for Bio-Signals Monitoring. Sensors 2016, 16, 908. [Google Scholar] [Green Version]
  12. Spencer, S.S. MRI, SPECT, and PET imaging in epilepsy: Their relative contributions. Epilepsia 1994, 35, S72–S89. [Google Scholar] [CrossRef]
  13. Szabó, C.Á.; Morgan, L.C.; Karkar, K.M.; Leary, L.D.; Lie, O.V.; Girouard, M.; Cavazos, J.E. Electromyography-based seizure detector: Preliminary results comparing a generalized tonic–clonic seizure detection algorithm to video-EEG recordings. Epilepsia 2015, 56, 1432–1437. [Google Scholar] [CrossRef] [PubMed]
  14. Gu, Y.; Cleeren, E.; Dan, J.; Claes, K.; Paesschen, W.V.; Huffel, S.V.; Hunyadi, B. Comparison between Scalp EEG and Behind-the-Ear EEG for Development of a Wearable Seizure Detection System for Patients with Focal Epilepsy. Sensors 2018, 18, 29. [Google Scholar] [CrossRef] [PubMed]
  15. Gotman, J.; Gloor, P. Automatic recognition and quantification of interictal epileptic activity in the human scalp EEG. Electroencephalogr. Clin. Neurophysiol. 1976, 41, 513–529. [Google Scholar] [CrossRef]
  16. Tzallas, A.T.; Tsipouras, M.G.; Fotiadis, D.I. Epileptic seizure detection in EEGs using time-frequency analysis. IEEE Trans. Inf. Technol. Biomed. 2009, 13, 703–710. [Google Scholar] [CrossRef] [PubMed]
  17. Whitmer, D.; Worrell, G.; Stead, M.; Lee, I.K.; Makeig, S. Utility of Independent Component Analysis for Interpretation of Intracranial EEG. Front. Hum. Neurosci. 2010, 4, 184. [Google Scholar] [CrossRef] [PubMed]
  18. Subasi, A.; Ismail Gursoy, M. EEG signal classification using PCA, ICA, LDA and support vector machines. Expert Syst. Appl. 2010, 37, 8659–8666. [Google Scholar] [CrossRef]
  19. Bajaj, V.; Pachori, R.B. Classification of seizure and non-seizure EEG signals using empirical mode decomposition. IEEE Trans. Inf. Technol. Biomed. 2012, 16, 1135–1142. [Google Scholar] [CrossRef]
  20. Kovacs, P.; Samiee, K.; Gabbouj, M. On application of rational Discrete Short Time Fourier Transform in epileptic seizure classification. In Proceedings of the IEEE International Conference on Acoustics, Speech and Signal Processing, Florence, Italy, 4–9 May 2014; pp. 5839–5843. [Google Scholar]
  21. Wang, X.; Gong, G.; Li, N. Multimodal fusion of EEG and fMRI for epilepsy detection. Int. J. Model. Simul. Sci. Comput. 2018, 9, 1850010. [Google Scholar] [CrossRef]
  22. Boashash, B.; Boubchir, L.; Azemi, G. Time-frequency signal and image processing of non-stationary signals with application to the classification of newborn EEG abnormalities. In Proceedings of the IEEE International Symposium on Signal Processing and Information Technology, Bilbao, Spain, 14–17 December 2011; pp. 120–129. [Google Scholar]
  23. Boashash, B.; Ouelha, S. Automatic signal abnormality detection using time-frequency features and machine learning. Knowl.-Based. Syst. 2016, 106, 38–50. [Google Scholar] [CrossRef]
  24. Adeli, H.; Zhou, Z.N. Analysis of EEG records in an epileptic patient using wavelet transform. J. Neurosci. Methods 2003, 123, 69–87. [Google Scholar] [CrossRef]
  25. Song, J.; Park, I.C. Pipelined Discrete Wavelet Transform Architecture Scanning Dual Lines. IEEE Trans. Circuits Syst. Express Briefs 2009, 56, 916–920. [Google Scholar] [CrossRef]
  26. Qinghua, H.E.; Peng, C.; Baoming, W.U.; Wang, H.E.; Zhu, L. Vep Signal Extraction Using Wavelet in Brain-Computer Interface Research. Wavelet Anal. Appl. 2003, 2, 937–942. [Google Scholar]
  27. Li, D.; Xie, Q.; Jin, Q.; Hirasawa, K. A sequential method using multiplicative extreme learning machine for epileptic seizure detection. Neurocomputing 2016, 214, 692–707. [Google Scholar] [CrossRef]
  28. Swami, P.; Gandhi, T.K.; Panigrahi, B.K.; Bhatia, M.; Santhosh, J.; Anand, S. A comparative account of modelling seizure detection system using wavelet techniques. Int. J. Syst. Sci. Oper. Logist. 2016, 4, 41–52. [Google Scholar] [CrossRef]
  29. Sharma, M.; Pachori, R.B.; Acharya, U.R. A new approach to characterize epileptic seizures using analytic time-frequency flexible wavelet transform and fractal dimension. Pattern Recognit. Lett. 2017, 94, 172–179. [Google Scholar] [CrossRef]
  30. He, Q.; Wu, B.; Wang, H.; Zhu, L. VEP Feature Extraction and Classification for Brain-Computer Interface. In Proceedings of the 8th International Conference on Signal Processing, Guilin, China, 16–20 November 2006. [Google Scholar]
  31. Boser, B.E.; Guyon, I.M.; Vapnik, V.N. A Training Algorithm for Optimal Margin Classiiers. In Proceedings of the Annual Workshop on Computational Learning Theory, Pittsburgh, PA, USA, 27–29 July 1992; pp. 144–152. [Google Scholar]
  32. Fu, K.; Qu, J.; Chai, Y.; Zou, T. Hilbert marginal spectrum analysis for automatic seizure detection in EEG signals. Biomed. Signal Process. Control 2015, 18, 179–185. [Google Scholar] [CrossRef]
  33. Brabanter, K.D.; Karsmakers, P.; Ojeda, F.; Alzate, C.; Brabanter, J.D.; Pelckmans, K.; Moor, B.D.; Vandewalle, J.; Suykens, J.A.K. LS-SVMlab Toolbox User’s Guide: Version 1.7; Ku Leuven Leuven: Leuven, Belgium, 2010. [Google Scholar]
  34. Liu, Y.C.; Lin, C.C.K.; Jing-Jane, T.; Sun, Y.N. Model-Based Spike Detection of Epileptic EEG Data. Sensors 2013, 13, 12536–12547. [Google Scholar] [CrossRef] [Green Version]
  35. Isa, R.M.; Pasya, I.; Taib, M.N.; Jahidin, A.H.; Omar, W.R.W.; Fuad, N.; Norhazman, H. EEG brainwave behaviour due to RF Exposure using kNN classification. In Proceedings of the IEEE International Conference on System Engineering and Technology, Shah Alam, Malaysia, 19–20 August 2013; pp. 385–388. [Google Scholar]
  36. Chai, R.; Tran, Y.; Naik, G.R.; Nguyen, T.N.; Ling, S.H.; Craig, A.; Nguyen, H.T.; Chai, R.; Tran, Y.; Naik, G.R. Classification of EEG based-mental fatigue using principal component analysis and Bayesian neural network. In Proceedings of the Engineering in Medicine and Biology Society, Orlando, FL, USA, 16–20 August 2016; p. 4654. [Google Scholar]
  37. Wang, Y.; Li, Z.; Feng, L.; Bai, H.; Wang, C. Hardware design of multiclass SVM classification for epilepsy and epileptic seizure detection. IET Circuits Devices Syst. 2018, 12, 108–115. [Google Scholar] [CrossRef]
  38. Jouny, C.C.; Franaszczuk, P.J.; Bergey, G.K. Signal complexity and synchrony of epileptic seizures: Is there an identifiable preictal period? Clin. Neurophysiol. 2005, 116, 552–558. [Google Scholar] [CrossRef]
  39. Brinkmann, B.H.; Patterson, E.E.; Vite, C.; Vasoli, V.M.; Crepeau, D.; Stead, M.; Howbert, J.J.; Cherkassky, V.; Wagenaar, J.B.; Litt, B.; et al. Forecasting Seizures Using Intracranial EEG Measures and SVM in Naturally Occurring Canine Epilepsy. PLoS ONE 2015, 10, e0133900. [Google Scholar] [CrossRef]
  40. Brinkmann, B.H.; Joost, W.; Drew, A.; Phillip, A.; Bosshard, S.C.; Chen, M.; Tieng, Q.M.; He, J.; Muñoz-Almaraz, F.J.; Paloma, B.R. Crowdsourcing reproducible seizure forecasting in human and canine epilepsy. Brain 2016, 139, 1713–1722. [Google Scholar] [CrossRef] [PubMed]
  41. Andrzejak, R.G.; Lehnertz, K.; Mormann, F.; Rieke, C.; David, P.; Elger, C.E. Indications of nonlinear deterministic and finite-dimensional structures in time series of brain electrical activity: Dependence on recording region and brain state. Phys. Rev. E 2001, 64, 061907. [Google Scholar] [CrossRef] [PubMed]
  42. Andrzejak, R.G.; Widman, G.; Lehnertz, K.; Rieke, C.; David, P.; Elger, C.E. The epileptic process as nonlinear deterministic dynamics in a stochastic environment: An evaluation on mesial temporal lobe epilepsy. Epilepsy Res. 2001, 44, 129–140. [Google Scholar] [CrossRef]
  43. Tang, Y.; Durand, D. A tunable support vector machine assembly classifier for epileptic seizure detection. Expert Syst. Appl. 2012, 39, 3925–3938. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  44. Hu, Y.; Jiang, T.; Shen, A.; Li, W.; Wang, X.; Hu, J. A background elimination method based on wavelet transform for Raman spectra. Chemom. Intell. Lab. Syst. 2007, 85, 94–101. [Google Scholar] [CrossRef]
  45. Kiranyaz, S.; Ince, T.; Zabihi, M.; Ince, D. Automated patient-specific classification of long-term Electroencephalography. J. Biomed. Inform. 2014, 49, 16–31. [Google Scholar] [CrossRef] [PubMed]
  46. Hefron, R.; Borghetti, B.; Schubert, C.K.; Christensen, J.; Estepp, J. Cross-Participant EEG-Based Assessment of Cognitive Workload Using Multi-Path Convolutional Recurrent Neural Networks. Sensors 2018, 18, 1339. [Google Scholar] [CrossRef]
  47. Friedman, J.H. Greedy function approximation: A gradient boosting machine. Ann. Stat. 2001, 29, 1189–1232. [Google Scholar] [CrossRef]
  48. Hoffmann, U.; Garcia, G.; Vesin, J.; Diserens, K.; Ebrahimi, T. A Boosting Approach to P300 Detection with Application to Brain-Computer Interfaces. In Proceedings of the IEEE EMBS Conference on Neural Engineering, Arlington, VA, USA, 16–19 March 2005. [Google Scholar]
  49. Yan, A.; Zhou, W.; Yuan, Q.; Yuan, S.; Wu, Q.; Zhao, X.; Wang, J. Automatic seizure detection using Stockwell transform and boosting algorithm for long-term EEG. Epilepsy Behav. 2015, 45, 8–14. [Google Scholar] [CrossRef]
  50. Guo, L.; Rivero, D.; Dorado, J.; Rabuñal, J.R.; Pazos, A. Automatic epileptic seizure detection in EEGs based on line length feature and artificial neural networks. J. Neurosci. Methods 2010, 191, 101–109. [Google Scholar] [CrossRef]
  51. Nicolaou, N.; Georgiou, J. Detection of epileptic electroencephalogram based on Permutation Entropy and Support Vector Machines. Expert Syst. Appl. 2012, 39, 202–209. [Google Scholar] [CrossRef]
  52. Samiee, K.; Kovács, P.; Gabbouj, M. Epileptic Seizure Classification of EEG Time-Series Using Rational Discrete Short-Time Fourier Transform. IEEE Trans. Biomed. Eng. 2015, 62, 541–552. [Google Scholar] [CrossRef] [PubMed]
  53. Gandhi, T.; Panigrahi, B.K.; Anand, S. A Comparative Study of Wavelet Families for Eeg Signal Classification. Neurocomputing 2011, 74, 3051–3057. [Google Scholar] [CrossRef]
  54. Swami, P.; Gandhi, T.K.; Panigrahi, B.K.; Tripathi, M.; Anand, S. A novel robust diagnostic model to detect seizures in electroencephalography. Expert Syst. Appl. 2016, 56, 116–130. [Google Scholar] [CrossRef]
  55. Li, P.; Li, K.; Liu, C.; Zheng, D.; Li, Z.M.; Liu, C. Detection of Coupling in Short Physiological Series by a Joint Distribution Entropy Method. IEEE Trans. Bio-Med. Eng. 2016, 63, 2231–2242. [Google Scholar] [CrossRef] [PubMed]
  56. Alam, S.M.; Bhuiyan, M.I. Detection of seizure and epilepsy using higher order statistics in the EMD domain. IEEE J. Biomed. Health Inf. 2013, 17, 312–318. [Google Scholar] [CrossRef] [PubMed]
  57. Plöchl, M.; Ossandón, J.P.; König, P. Combining EEG and eye tracking: Identification, characterization, and correction of eye movement artifacts in electroencephalographic data. Front. Hum. Neurosci. 2012, 6, 278. [Google Scholar] [CrossRef] [PubMed]
  58. Saini, R.; Kaur, B.; Singh, P.; Kumar, P.; Roy, P.P.; Raman, B.; Singh, D. Don’t Just Sign Use Brain Too: A Novel Multimodal Approach for User Identification and Verification. Inf. Sci. 2017, 430, 163–178. [Google Scholar] [CrossRef]
  59. Liu, N.H.; Chiang, C.Y.; Chu, H.C. Recognizing the degree of human attention using EEG signals from mobile sensors. Sensors 2013, 13, 10273–10286. [Google Scholar] [CrossRef]
  60. Archer, K.J.; Kimes, R.V. Empirical characterization of random forest variable importance measures. Comput. Stat. Data Anal. 2008, 52, 2249–2260. [Google Scholar] [CrossRef]
  61. Li, G.; Chung, W.Y. Estimation of Eye Closure Degree Using EEG Sensors and Its Application in Driver Drowsiness Detection. Sensors 2014, 14, 17491–17515. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  62. Chiang, J.; Ward, R.K. Energy-Efficient Data Reduction Techniques for Wireless Seizure Detection Systems. Sensors 2014, 14, 2036–2051. [Google Scholar] [CrossRef] [PubMed] [Green Version]
Figure 1. Auxiliary medical diagnostic system for epilepsy electroencephalogram.
Figure 1. Auxiliary medical diagnostic system for epilepsy electroencephalogram.
Sensors 19 00219 g001
Figure 2. Frequency bands of epilepsy EEGs extracted using wavelet decomposition.
Figure 2. Frequency bands of epilepsy EEGs extracted using wavelet decomposition.
Sensors 19 00219 g002
Figure 3. Parameters optimization flow in the grid search optimized algorithm.
Figure 3. Parameters optimization flow in the grid search optimized algorithm.
Sensors 19 00219 g003
Figure 4. Classification implementation.
Figure 4. Classification implementation.
Sensors 19 00219 g004
Figure 5. Confusion matrices comparing the results of gradient boosting machine, random forest and support vector machine with grid search optimizer on {FN}-{OZ}-{S} classification.
Figure 5. Confusion matrices comparing the results of gradient boosting machine, random forest and support vector machine with grid search optimizer on {FN}-{OZ}-{S} classification.
Sensors 19 00219 g005
Figure 6. Comparison of receiver operating characteristics for the three-class classification.
Figure 6. Comparison of receiver operating characteristics for the three-class classification.
Sensors 19 00219 g006
Figure 7. Comparison of the precision–recall curves space for the three-class classification.
Figure 7. Comparison of the precision–recall curves space for the three-class classification.
Sensors 19 00219 g007
Table 1. Dataset description.
Table 1. Dataset description.
Data SourcesParameter DescriptionDataset CategorySubject
Condition
Epileptogenic FociElectrode Collection AreaNumber of Samples
Bonn
University
5 groups
173.6 Hz.
23.6 s.
4096 data points.
{OZ}Healthy volunteersScalp surfaceAll brain areas200
{FN}Intermittent epilepsyIntracranial siteLesion outside inside area200
{S}Continuous ictal epilepsyIntracranial siteIntra-lesional area100
Table 2. Statistical features of the dataset.
Table 2. Statistical features of the dataset.
Datasets{FN}{OZ}{S}
Mean−5.94−6.31−4.74
Number of cases409740974097
Standard deviation13.104.5638.55
Table 3. Gradient boosting machine classifier in pseudocode.
Table 3. Gradient boosting machine classifier in pseudocode.
ALGORITHM: Gradient Boosting Machine (GBM)
Data: n observed data features {T-F features, statistical features s ( t i ) ¯ }
Process: Calculate loss function ψ ( y , η ) and base-learner classifier ξ ( s ( t ) ¯ , θ ) to number of iterations M.
  • Build predicted classifier η ( s ( t ) ) for s ( t ) ¯ .
  • Initialize η 0 = arg min Δ k i = 1 N ψ ( s ( t i ) ¯ , Δ k ) ;
    for m { 1 , 2 , , M }
  • Compute the negative gradient ζ k ( s ( t ) ) ;
  • Fit a new base-learner function ξ ( s ( t ) ¯ , θ k ) ;
  • Find the best gradient descent step-size Δ k to obtain a tree classifier:
    Δ k = arg min Δ θ i = 1 N ψ ( y ( i ) , η k 1 ( s ( t i ) ) ) + Δ · ξ ( s ( t i ) ¯ , θ k )
  • Update function η k = Δ k ζ k ( s ( t ) ) and the GBM classifier η ( s ( t i ) ¯ ) = η k + η k 1 ;
end for;
return η ( s ( t i ) ¯ ) ;
Table 4. Definition of the performance classification multiple-indices used in the experiments. Parameters, A i j ( i = j ) , are the probability of correct classification for sub-datasets { i } . Similarly, A i j ( i j ) represents the incorrect classification probability. Parameters, A i = i = 1 3 A 1 i , are the sum of all classification rates of sub-datasets, { i } ( i , j = 1 , 2 , 3 ) .
Table 4. Definition of the performance classification multiple-indices used in the experiments. Parameters, A i j ( i = j ) , are the probability of correct classification for sub-datasets { i } . Similarly, A i j ( i j ) represents the incorrect classification probability. Parameters, A i = i = 1 3 A 1 i , are the sum of all classification rates of sub-datasets, { i } ( i , j = 1 , 2 , 3 ) .
Test/Real Type{OZ}{FN}{S}Sensitivity
(SEN)
Specificity
(SPE)
Accuracy
(ACC)
{OZ} A 11 A 12 A 13 A 11 A 1 A 22 + A 23 + A 32 + A 33 A 2 + A 3 A 11 + A 22 + A 33 All
{FN} A 21 A 22 A 23 A 22 A 2 A 11 + A 13 + A 31 + A 33 A 1 + A 3
{S} A 31 A 32 A 33 A 33 A 3 A 11 + A 12 + A 21 + A 22 A 1 + A 2
Table 5. Comparison of results of the proposed method with those of existing methods for accuracy, area under the curve, receiver operating characteristic, confusion matric and precision–recall curve of for the two- and three-level-class classifications on the Bonn University data.
Table 5. Comparison of results of the proposed method with those of existing methods for accuracy, area under the curve, receiver operating characteristic, confusion matric and precision–recall curve of for the two- and three-level-class classifications on the Bonn University data.
AuthorsTechniques10-Fold CVDatasetACC (%)AUCCM/PRC
Guo et al. (2010) [55]DWT and line length, ANNNo{Z}-{S}
{FNOZ}-{S}
100
97.7
NoNo
Gandhi et al. (2011) [53] DWT, energy and std,
SVM, NN
Yes{FNOZ}-{S}95.4NoNo
Nicolaou et al. (2012) [51] Permutation entropy, SVMNo{Z}-{S}
{O}-{S}
{N}-{S}
{F}-{S}
{FNOZ}-{S}
93.5
82.8
88.0
79.94
86.1
NoNo
Shafiul Alam and Bhuiyan et al. (2013) [56] EMD, higher order moments, ANNNo{O}-{S}
{F}-{S}
{FN}-{OZ}-{S}
100
100
80
NoNo
Samiee et al. (2015) [52] STFT Spectral coefficients with their statistical, values, Bayes, LR, SVM, KNN, and ANNNo{Z}-{S}
{O}-{S}
{N}-{S}
{F}-{S}
{FNOZ}-{S}
99.8
99.3
98.5
94.9
98.1
NoNo
Swami et al. (2016) [53]DTCWT, energy and std, Shannon entropy features, RNNYes{Z}-{S}
{O}-{S}
{N}-{S}
{F}-{S}
{OZ}-{S}
{NF}-{S}
{FNOZ}-{S}
100
98.89
98.72
93.3
99.1
95.1
95.2
NoNo
Li et al. (2016) [54] Distribution entropy and sample entropy Statistical analysisNofor sample entropy distribution entropy for short length datameanYes
2-class
classification
0.93–0.97
0.66–0.87
No
Manish et al. (2017) [29] ATFFWT and FD, LS-SVMYes{Z}-{S}
{O}-{S}
{N}-{S}
{F}-{S}
{OZ}-{S}
{NF}-{S}
{OZ}-{NF}
{FNOZ}-{S}
100
100
99
98.5
100
98.6
92.5
99.2
NoNo
Wang et al. (2017) [37] DWT, SVMNo{FN}-{OZ}-{S}93.9NoNo
This workSymlets wavelets, statistical mean energy std and PCA, GBM-GSO, RF, SVMYes{Z}-{S}
{O}-{S}
{N}-{S}
{F}-{S}
{OZ}-{S}
{NF}-{S}
{OZ}-{NF}
{FNOZ}-{S}
{FN}-{OZ}-{S}
100
100
98.4
98.1
100
98.1
93.2
98.4
96.5
Yes
3-class
classification
GBM –GSO
0.9695
RF –GSO
0.9586
SVM –GSO
0.9538
Yes
Table 6. Performance comparisons between gradient boosting machine, support vector machine and random forest.
Table 6. Performance comparisons between gradient boosting machine, support vector machine and random forest.
GBMSVMRF
Multi-class classification ability★★★★★★
Sensitivity of parameter selection★★★★
Generalization ability★★★★★★★
Strong: ★★★  Moderate: ★★  Weak:

Share and Cite

MDPI and ACS Style

Wang, X.; Gong, G.; Li, N. Automated Recognition of Epileptic EEG States Using a Combination of Symlet Wavelet Processing, Gradient Boosting Machine, and Grid Search Optimizer. Sensors 2019, 19, 219. https://doi.org/10.3390/s19020219

AMA Style

Wang X, Gong G, Li N. Automated Recognition of Epileptic EEG States Using a Combination of Symlet Wavelet Processing, Gradient Boosting Machine, and Grid Search Optimizer. Sensors. 2019; 19(2):219. https://doi.org/10.3390/s19020219

Chicago/Turabian Style

Wang, Xiashuang, Guanghong Gong, and Ni Li. 2019. "Automated Recognition of Epileptic EEG States Using a Combination of Symlet Wavelet Processing, Gradient Boosting Machine, and Grid Search Optimizer" Sensors 19, no. 2: 219. https://doi.org/10.3390/s19020219

APA Style

Wang, X., Gong, G., & Li, N. (2019). Automated Recognition of Epileptic EEG States Using a Combination of Symlet Wavelet Processing, Gradient Boosting Machine, and Grid Search Optimizer. Sensors, 19(2), 219. https://doi.org/10.3390/s19020219

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