Abstract

A Teager energy (TE) based approach to discriminate electroencephalogram signals corresponding to nonseizure (eyes open, eyes closed, or interictal) and seizure (ictal) intervals is proposed. Though a good number of contributions have been made for seizure detection, the challenges of unbalanced data (nonseizure and seizure events) and system computational efficiency still remain a challenge. It is reported in the literature that the seizures are characterized by abnormal sudden discharges in the brain which get manifested in the EEG recordings by frequency changes and increased amplitudes. Teager energy (TE) is capable of tracking such rapid changes in frequency as well as amplitude in the time domain. An important finding of this study is that the mean TE quantifier is largely independent of the window length and exhibits relative consistency when used as a relative measure for comparison. We compared the diagnostic capability of TE quantifier with those of Higuchi’s fractal dimension and sample entropy in discriminating nonseizure and seizure states in the EEGs and found that TE outperforms the other two nonlinear quantifiers. The result shows that the application of this method compares favorably with conventional classification methods in terms of performance and is well suited for real-time automatic epileptic seizure detection.

1. Introduction

Electroencephalography (EEG) is an important noninvasive clinical tool for monitoring, diagnosing, and managing neurological disorders related to epilepsy. Epilepsy is the most common serious neurological disorder after stroke, and approximately 1% of the world’s population suffers from this disorder [1]. For most of the patients seizures occur suddenly and unexpectedly without any prior external precipitants. The unforeseen nature of these seizures makes the daily life miserable with temporary impairments of perception, speech, memory, motor control, and/or consciousness and sometimes may lead to enhanced risk of injury and/or death. A person is diagnosed as epileptic, only if there is a recurrent tendency to have seizures. Epilepsy can be controlled but not cured with antiepileptic medication. The epileptic brain can be considered to function in one of the two states: interictal state with occasional transient waveforms, as isolated spikes, sharp waves, or spike-wave complexes, and ictal state with continuous discharge of polymorphic waveforms of varying amplitude and frequency, spike and sharp wave complexes, and rhythmic hypersynchrony [2]. The EEG during seizure is significantly different from that of the interictal state and that of a normal subject. The conventional methods rely on experts who visually inspect the entire lengthy EEG signals recorded over several days, which is tedious, time-consuming and costs higher. Therefore, many automated epileptic detection systems have been developed using different approaches in the recent years [3]. Such automated systems reduce the time taken to review offline the long-term EEG recordings significantly and facilitate the neurologist to diagnose and treat more patients in a given time. If, in addition, an online seizure detection system is made available, then the system can provide a warning signal/alarm to healthcare professionals to pay immediate attention when the seizure occurs. This implies that the selected feature must be such that, besides accuracy in seizure detection, the processing time must be very short.

Automated epileptic seizure analysis refers collectively to methods for (i) epileptic seizure detection, (ii) epileptic seizure prediction, and (iii) automatic focus channel identification. These methods are primarily applied on EEG signals [4, 5]. In this study, however, the focus is on epileptic seizure detection. The first remarkable contribution to automatic detection of epileptic seizures/patients was made by Gotman [6], in which EEG signal was decomposed into elementary waves followed by the detection of paroxysmal bursts of rhythmic activity having a frequency between 3 and 20 Hz. The amplitude of these waves relative to the background and their duration and rhythmicity served as measures to distinguish seizures. Murro et al. developed an automated seizure detection system based on the discriminant analysis of the EEG signal recorded from the intracranial electrodes [7]. Nearest-neighbor classifier, with the features from both the time and frequency domains as input, has been tried to detect the onset of the epileptic seizures [8]. Radhakrishnan and Gangadhar used approximate entropy and Lempel-Ziv complexity (LZC) as measures to quantify the regularity in the various epochs of epileptic seizure time series data [9]. Hu et al. compared LZC with correlation entropy in the context of epileptic seizures detection from EEG data and discussed the advantages of the normalized LZC over the correlation entropy [10]. Analysis of EEG using chaotic nonlinear dynamics, such as Lyapunov exponents (LEs), has been proposed to study seizure discharges [11, 12]. Based on the evolution of accumulated energy using wavelet analysis Gigola et al. predicted the onset of epileptic seizure from intracranial EEG recordings [13]. Other researchers have employed different entropies (wavelet entropy, permutation entropy, and approximate entropy) [1417] and complexity measures (Kolmogorov entropy, Hurst exponent, correlation dimension, scale dependent LE, and multiscale complexity measure) for characterizing EEG and to indicate epileptic seizures [18, 19].

Selecting appropriate features that best represent the characteristics of EEG signals is important in seizure detection and variety of features have been investigated as mentioned above [619]. However, the challenges of unbalanced data (nonseizure and seizure states) and system computational efficiency still remain a challenge. The rare occurrence of an epileptic seizure over hours of EEG recordings makes training and testing of the model/classifier difficult due to the bias towards the nonseizure class. System computational efficiency becomes a challenge when moving to real-time applications. To circumvent these problems, in this work, we employ mean nonlinear energy estimator derived from a noise robust version of the Teager energy operator (TEO) for the classification of EEG signals (see Section 2.2 below for details) [2022]. The rationale of adopting nonlinear Teager energy (TE) as a quantifier in this study is based on the following reasons. (1) Seizures are abnormal sudden discharges in the brain which are represented in the EEG recordings by frequency changes and increased amplitude. The ability to accurately capture these changes is the key to detection of nonseizure and seizure states. TE is a feature very sensitive to variations of signal amplitude and frequency. (2) TE feature requires only four samples for its computation at any given instant and hence is computationally very efficient. (3) It has been found that physiological changes in the EEG, usually associated with the epilepsy, include spikes, sharp waves, subclinical seizures, and increased energy in the signal [23]. This abnormal neuronal activity can last from several seconds to minutes. TE is characterized by a time resolution that can capture such rapid changes in the modulation energy of the signal (see Section 2.2 below for details) [24]. We show that the mean TE quantifier can be used for short-term as well as long-term analysis. (4) EEG signals are known to be nonstationary in nature [23, 25]. We hypothesize that epochs of normal, interictal epileptic and seizure belong to different nonlinear physiological processes. TEO is a nonlinear operator which can be used for the estimation of energy of a nonstationary signal and, hence TE is well suited for discriminating these episodes.

TE based features have been widely used in nonlinear speech analysis and processing [2628]. TEO has also been used in the detection of congestive heart failure and classification of electrocardiograms (ECGs) [29, 30]. Several successful attempts at seizure detection using TE features have been reported [3135]. Zaveri et al. employed conventional measure of energy and Teager’s algorithm to estimate the energy of the electrocorticograms (ECOG) recorded in temporal lobe epilepsy [31]. The study evaluated the propagation of seizure after the onset. However, in comparison with other tools such as ECOG, EEG is a clean and safe technique for monitoring the brain activity. Esteller found 31 distinct features, comprising fractional dimension, wavelet packet energy, and Teager energy, as suitable for seizure detection [32]. Curve length, mean energy, and Teager energy were used as input to a support vector machine by Gardner et al. for detecting seizures in humans [33]. Agarwal and Gotman used a nonlinear energy operator to characterize EEG signal adaptive segmentation of the signal into piecewise stationary segments [34]. Changes in the amplitude or frequency of the EEG signal facilitated the demarcation and provided indicators as to the spectral content of the signal. D’Alessandro et al. employed TEO output as one of the hybrid features in the prediction of epileptic seizures [35]. Their method provides a structure based upon multiquantitative features and multielectrode sites that can be used to optimize seizure prediction for a particular group of features. In all the methods [3135], a modern classifier was employed to first train and then classify the EEG to belong to either interictal or ictal class. Moreover, all of them used a multifeature vector which increases the computational complexity and time. Yadav et al. have used frequency weighted energy (FWE), derived from the general form of the Teager operator, in the detection of seizures in stereoencephalograms [36]. They found the combination , , , and to be a better choice in the Teager equation. Single channel intracerebral EEG records from five patients were used in the study. They used a 2-second moving window shifted in steps of 0.25 seconds to compute the mean FEW. The method was gradient based, and any activity that crossed the minimum duration and met some specific criteria was deemed to be seizure activity. The prime advantage of their method is that it is threshold independent. The conventional nonlinear quantifiers have some drawbacks. Firstly, most of them are window-length dependent and require a large number of data samples to arrive at statistically reliable and reproducible results. Secondly, they assume the signals to be stationary and noise free. Unfortunately it is difficult for physiological signals to meet these criteria. Thirdly, most of them depend on parameters to compute them. In this study, we employ the mean TE quantifier, which we show: (1) to be largely independent of window length, (2) to be suitable for short-term as well as long-term analysis, (3) not to require any parameters for computation, and (4) to demonstrate relative consistency when used as a relative measure for comparison. This property enables the separation of the different EEG states almost independent of window length. A threshold procedure is used to make a final decision. We demonstrate the power of mean TE quantifier in discriminating eyes open and eyes closed episodes (from normal subjects), interictal, and ictal episodes (from epileptic patients) in EEG signal, for different window lengths (varying from about 1 second to 23 seconds), by comparing its performance with those of other two nonlinear quantifiers, namely, Higuchi’s fractal dimension and sample entropy [3742]. Such discrimination is important in some applications, such as seizure warning systems, closed loop seizure control systems, or delivering abortive responses/monitoring patients using implantable therapeutic devices [43]. We also compare the performance of our approach with those of other researchers who had used the same database by Andrzejak et al. [44]. The presented method is simple, computationally very efficient and, hence is well suited for real -time implementation.

2. Methods and Materials

2.1. EEG Records

The EEG data used for this work is from University of Bonn EEG database which is available in public domain [44]. The choice of this database is based on the rationale that many seizure detection methods have employed this database, and it becomes easy to compare the end results. The database consists of five sets (designated Z, O, N, F, and S) each containing 100 single channel EEG segments of 23.6 second duration. These segments have been picked from continuous multichannel EEG recordings after removal of any artifacts, like, muscle activity, or eye movements, making sure that they fulfilled stationarity requirements. Sets Z and O contain segments taken from surface EEG recordings acquired from five healthy volunteers using a standard 10–20 electrodes placement scheme. The subjects were awake and relaxed with their eyes open for set Z and eyes closed for set O, respectively. The segments for sets N, F, and S were acquired from five epileptic patients undergoing presurgical diagnosis. The type of epilepsy identified was temporal lobe epilepsy with the epileptogenic focus as the hippocampal formation. These recordings were taken from intracranial electrodes as they offer the most precise access to the emergence of seizures. Sets N and F contained only activity measured during seizure-free intervals (interictal epileptiform activity), with segments in set N recorded from hippocampal formation of the opposite hemisphere of the brain and those in set F recorded within epileptogenic zone. On the other hand, set S contained only seizure activity (ictal intervals), with all segments recorded from sites exhibiting ictal activity. The patients had attained complete seizure control after resection of one of the hippocampal formations which was confirmed to be the epileptogenic zone. All the EEG signals were recorded using the same 128-channel amplifier system using an average common reference. The data were digitized at 173.6 samples per sec with 12 bit resolution. The bandpass filter setting was at 0.53–40 Hz (12 dB/octave). Each single channel EEG segment has 4096 samples. Empirically we found that an analysis window of 3000 samples (17.3 seconds) leads to near-optimum results (see Section 3 for details). Hence, 3000-sample sliding window with 2700 samples (90%) overlap is used with every EEG segment from each dataset. This procedure leads to, in effect, 2000 analysis EEG segments in each of the five datasets (Z, O, N, F, and S). This of course increases statistical reliability and reproducibility of this study.

In this work, we employ four different classification problems and compare the performance of our approach with those of two powerful and popular nonlinear quantifiers, Higuchi’s fractal dimension and sample entropy, and also of other researchers. The first three classifications are as proposed by Guo et al. [45] in the literature. In the first classification problem, two classes are examined, normal and seizure. The normal class includes only set Z while seizure class includes set S. In this classification problem, 4000 analysis EEG segments are included. In the second classification two classes, namely, nonseizure and seizure, are examined. The nonseizure class includes sets Z, N, and F while seizure class includes set S. In this classification problem, the dataset includes 8000 analysis EEG segments. In the third problem, again, two classes, nonseizure and seizure, are examined. Now the nonseizure class includes sets Z, O, N, and F while seizure class includes set S. In this classification problem, 10000 analysis EEG segments are included in the dataset. The fourth classification problem considers data only from epileptic patients. In this case, one is an interictal class which includes N and F sets, while the other includes ictal (seizure) set S. This problem uses 6000 analysis EEG segments. These classification problems have been chosen such that they are close to clinical applications.

2.2. Teager Energy Operator (TEO)

The rationale of adopting nonlinear Teager energy (TE) as a quantifier in this study has already been discussed under the introduction section. An interesting feature of TEO is that it is characterized by a time resolution that can trace rapid changes in the modulation energy (squared product of amplitude and frequency) of the signal. Although the energy of any two tones at different frequencies, but equal amplitude, is the same, the energy required to generate the two tones is different. The higher the frequency of the tone. The higher the frequency of the tone, more is the energy required for its generation, and TE reflects this energy. Since the operator can track amplitude envelope and instantaneous frequency (as shown below), the algorithm is recognised as “nonlinear energy” [35].

If a signal sample is represented as , where is the amplitude and is the initial phase, then is the digital frequency in radians/sample and is given by , where is the analog frequency in Hz and is the sampling frequency in Hz. Then as per the TE algorithm, the instantaneous TE, at a given instant of time , is given by [24] for small . With or the relative error in the last approximation is always less than 11%. From (1) it is clear that the instantaneous TE can track modulation energy and identify instantaneous signal amplitude and also corresponding instantaneous frequency. For example, in a normal subject there is a fine balance in the brain between factors that generate electrical activity and factors that restrict it, and there are also systems that limit the spread of the electrical activity. Usually, during a seizure, these limits breakdown, and an abnormal hypersynchronous neuronal activity due to a large number of neurons in the cerebral cortex of the brain occurs. The cerebral activity during an epileptic seizure is completely different from that of the interictal state or that of a normal subject. During interictal state the EEG is normal with occasional transient waveforms and apparently random with higher complexity, while during seizure the EEG tends to become hypersynchronized and cyclical with decreased complexity [46, 47]. Unlike the usual instantaneous signal energy which is only proportional to squared instantaneous amplitude, TE is proportional to the squared product of both instantaneous amplitude and instantaneous frequency. This new energy measure is therefore capable of responding rapidly to changes in both amplitude and frequency. Consequently disturbances in EEG signal generation and conduction path get reflected in the TEO energy [29, 30].

The general form of Teager nonlinear energy operator in the time domain for a discrete time signal as given by Plotkin and Swamy [2022, 34] is where and denotes generalized TEO.

They showed that, for and , is very robust to noise. That is, if the input signal contains additive white noise, then the output of (2) will not contain a component related to input noise. This is attributed to the removal of the square term in (2) while satisfying the conditions , , and. In this work, we empirically found that the combination , , , and is a suitable choice for noise reduction in EEG signals. It is to be noted that TEO defined by (1) uses only three samples, while the noise robust version defined by (2) uses four samples. The average nonlinear energy in the time domain, , is defined as [35] where is the number of samples in . ANEtd, the mean TE quantifier (on logarithmic scale), characterizes changes in nonlinear energy of EEG signal in the time domain. ANEtd can be thought of as a mean (modulation) energy estimator, in which the instantaneous nonlinear energy is computed using (2). Higher values indicate higher differences in the instantaneous amplitude and/or instantaneous frequency of the signal. Considering that a sliding window is used, we get the moving average of the nonlinear energy of the EEG signal. It is found that the hypersynchronous neuronal activity during seizures considerably increases this nonlinear energy.

2.3. Higuchi’s Fractal Dimension (HFD)

FD primarily quantifies complexity or self-similarity of a signal. Higuchi proposed a simple, accurate, and fast method to compute the fractal dimension of a signal [48, 49]. It represents the FD of a curve representing the amplitude of the signal under investigation on a plane as a function of time, which at the same time serves as a measure of complexity and self-similarity of the signal. It is to be noted that Higuchi’s fractal dimension (HFD) is completely different from the correlation dimension. If HFD is computed using a moving time window, then the resulting HFD characterizes the changes in signal complexity. Lower values of HFD imply decrease in dimensional complexity and vice versa. Abrupt changes in HFD represent nonstationarities in the signal [50].

Let , , , represent a one-dimensional discrete time sequence. The Higuchi fractal dimension is based on a measure of length of the curve that represents the original time series while using a segment of k samples as a unit [50]. If scales like where is called fractal dimension and is a measure of complexity and irregular characteristics of the time series, then for a simple curve and for a curve which fills out the entire plane .

From the original time series: , , , , number of new time series are constructed according to Higuchi’s algorithm. The new time series is given by where is the total number of samples, is the initial time, is the interval time, and is the integer part of a real number . The length , of each time series , is then given by where, It is to be noted that is not a distance in the Euclidean sense. Instead it represents the normalized sum of absolute values of difference in ordinate pairs of points distant (with the initial point ). Then the length of the curve for the time interval is computed as the average of the number of values, as defined by Finally is plotted against on log-log scale for . The slope of the resulting curve that fits the pairs of points in the least square sense constitutes the fractal dimension of the given time series.

The best value for the maximum number of time series constructed, , is to be found by the following procedure. As mentioned above, for each constructed time series the curve length is computed and plotted against the corresponding value on a log-log scale. The slope of the resulting curve represents the fractal dimension of the given time series. Next the fractal dimensions are plotted for different values of . The point at which the fractal dimension plateaus corresponds to the best value of beyond which the value does not yield better results. In this work, we found that value of was sufficient. The HFD is calculated over an analysis window of 3000 samples of the EEG time series (with 90% overlap) from each dataset.

2.4. Sample Entropy (SampEn)

The prime advantage of sample entropy is that “it is largely independent of record length and shows relative consistency where approximate entropy does not” [41]. The sample entropy represents the negative natural logarithm of the conditional probability that two sequences similar for points remain similar at the next point [42]. Given a time series with data points, , and to compute SampEn -dimensional vector sequences, , where . Then where is the Heaviside function and is the maximum norm defined by . The sum in the above equation represents the number of vectors that are within a circular distance from in the reconstructed phase space. However, the cases of self-matches indicated by are avoided from the count. This brings down the bias in the estimation of SampEn [41]. In the next step the density is computed as Computations similar to the above are then performed on a -dimensional reconstructed space to arrive at the following equations:

We thus have and , respectively, represent the total number of template matches in an -dimensional and -dimensional phase space within a tolerance .

The sample entropy being defined as the negative of natural logarithm of the conditional probability that a dataset of length , having repeated itself for samples within a specified tolerance , will also repeat itself for samples without allowing self-matches; we compute the same as For this work, we empirically found that , yield good results. The SampEn is calculated over an analysis window of 3000 samples of the EEG time series (with 90% overlap) from each dataset. Higher values indicate increased irregularity in the signal and vice versa.

2.5. Statistical and Receiver Operating Characteristic (ROC) Analyses

First we evaluate the statistical significance of the three nonlinear analysis methods, TE, HFD, and SampEn, using Kruskal-Wallis test on the results of each classification problem. Parameters are regarded as statistically significant if . If significant differences between classes are found, then the ability of the nonlinear analysis method to discriminate one class from the other is evaluated using receiver operating characteristic (ROC) plots in terms of the area under ROC curve (AUC). ROC plots are used to gauge the predictive ability of a classifier over a wide range of values [51]. A threshold value is applied such that a feature value below this threshold will be assigned category-1 while a feature value above the threshold will be assigned category-2. ROC curves are obtained by plotting sensitivity values (which represent the proportion of the subjects with positive diagnosis for category-1) along the -axis against the corresponding (1-specificity) values (which represent the proportion of the correctly identified category-2) for all the available cutoff points along the -axis. Accuracy is a related parameter that quantifies the total number of subjects (both category-1 and category-2) precisely classified. The AUC measures this discrimination, that is, the ability of the test to correctly classify those with and without the disease and is regarded as an index of diagnostic accuracy. The optimum threshold is the cutoff point in which the highest accuracy (minimal false negative and false positive results) is obtained. This can be determined from the ROC curve as the closest value to the left top point (corresponding to 100% sensitivity and 100% specificity). An AUC value of 0.5 indicates that the test results are better than those obtained by chance, where as a value of 1.0 indicates a perfectly sensitive and specific test. A rough guide to categorize the precision of a diagnostic test based on AROC is as follows: the results are treated to be excellent if the AUC is between 0.9 and 1.0; if the AUC is between 0.8 and 0.89, then the results are regarded to be good; the results are fair for values between 0.7 and 0.79; the results are poor for values between 0.6 and 0.69; if the AUC is between 0.5 and 0.59, then the outcome indicates that the test results are not better than those obtained by chance.

3. Results and Discussion

As mentioned earlier, a 3000-sample sliding window with 90% overlap is used with every EEG segment from each dataset. We apply Kruskal-Wallis test to evaluate the statistical significance of TE, HFD, and SampEn for all the four classification problems. The results in terms of Chi-sq. and value are depicted in Table 1. From the table it is found that all the three quantifiers are statistically significant and hence can be used to classify EEG signals. It is also found that among the three quantifiers TE performs the best. Since significant differences between classes are found, the ability of these nonlinear analyses methods to discriminate between the classes can be evaluated using receiver operating characteristic (ROC) plots in terms of AUC.

The distributions of TE, HFD, and SampEn for the normal and seizure classes in the classification problem-1 are shown using box-whiskers plots in Figures 1(a), 1(b), and 1(c), respectively. In Figure 1, the boxes (interquartile range) and the whiskers of normal and seizure groups are nonoverlapping for all the three nonlinear measures. This plot implies that all the three quantifiers can be readily used to distinguish between the normal and seizure groups of classification problem-1. Next to assess the diagnostic ability of each nonlinear method the ROC is plotted as shown in Figure 1(d). Descriptive results of ROC analysis are tabulated in Table 2. From Table 2 it is found that the AUC is the highest for TE case, being equal to 1.0 with all the diagnostic parameters equal to 100%. Between HFD and SampEn, the latter performs better with , , , , and . Since specificity for TE and SampEn cases is 100% each, it implies data is correctly classified and none is misclassified into another class. The classification accuracy for SampEn reaches 99.6%; however, with TE it reaches 100%, which implies TE is a better quantifier in separating normal from seizure group. The optimized threshold for the best separation is mentioned in Table 2. The distributions of TE, HFD, and SampEn for the nonseizure and seizure classes in the classification problem-2 are shown using box-whiskers plots in Figures 2(a), 2(b), and 2(c), respectively. In Figure 2(a) the boxes (interquartile range) and the whiskers of nonseizure and seizure groups are nonoverlapping. In Figures 2(b) and 2(c) the boxes (interquartile range) of nonseizure and seizure groups are nonoverlapping while the whiskers are overlapping. Among the three quantifiers, obviously, TE shows the best discrimination. Now to assess the diagnostic ability of the three nonlinear methods the ROC is plotted as shown in Figure 2(d). The results of ROC analysis are tabulated in Table 3. The optimized threshold for best separation is also mentioned in the table. It is found that TE, HFD, and SampEn exhibit decreasing order of performance. This means that TE shows the best performance, while HFD performs better than SampEn for the classification problem-2. For classification problem-3, the distributions of TE, HFD, and SampEn for the nonseizure and seizure classes are shown using box-whiskers plots in Figures 3(a), 3(b), and 3(c), respectively. In Figure 3, the boxes (interquartile range) of nonseizure and seizure groups are nonoverlapping for all the three cases, while the whiskers are overlapping. The least overlap of whiskers is found in the case of TE. Again, to assess the diagnostic ability of the three nonlinear quantifiers the ROC is plotted as shown in Figure 3(d). Table 4 depicts the results of ROC analysis from which it is found that the AUC is the highest for TE case, being equal to 0.9960 with , , , and . Between HFD and SampEn, again the latter performs better with , , , , and . This implies that TE shows the best performance, while SampEn performs better than HFD for the classification problem-3. The optimized threshold for the best separation is also specified in Table 4.

For classification problem-4, which is concerned with the separation of interictal and ictal classes of epileptic patients, the distributions of TE, HFD, and SampEn are shown using box-whiskers plots in Figures 4(a), 4(b), and 4(c), respectively. In Figure 4(a) the boxes (interquartile range) and the whiskers of interictal and ictal groups are nonoverlapping. However, in Figures 4(b) and 4(c) the boxes (interquartile range) of interictal and ictal groups are nonoverlapping while the whiskers are overlapping. Among the three quantifiers, again, TE shows best discrimination. To assess the performance ability of the three nonlinear quantifiers the ROC is plotted as shown in Figure 4(d). Table 5 shows the results of ROC analysis from which it is observed that the AUC is the highest for TE case, being equal to 0.9978 with , , , and . Between HFD and SampEn, however, the former performs better. These results substantiate our finding that TE can be preferred to HFD and SampEn in distinguishing nonseizure from seizure group. The optimized threshold for best separation in each case is also shown in Table 5. In practice, depending upon application, the threshold parameter can be optimized in a patient-specific way prioritizing higher sensitivity and lower false detection rate based on the ROC plot.

The rationale behind choosing 3000-sample analysis window for comparison is explained below. To arrive at near-optimal window length, first we study the impact of window length, , on the TE, HFD, and SampEn. We compute these quantifiers for several window lengths of EEG from both nonseizure and seizure groups. For each window length we compute the overall accuracy in separating the two groups with each quantifier. Figure 5 shows the plot of overall accuracy against widow length, , for the different quantifiers. It is found that as is increased from 500 to 3500 samples, the overall accuracy also increases and then almost saturates in all the three cases. But the effect is more predominant in the case of HFD (bottom curve shown by dash-dot line). Between TE and SampEn, TE is found to be largely independent of window length and showed relative consistency when used as a relative measure for comparison. From Figure 5 it is found that an optimum window length of 3000 samples () is well suited for comparison among the three quantifiers. It is also found that irrespective of window length TE performs the best.

Although in the above discussions we used a 3000-sample sliding window (with 90% overlap between consecutive windows) with every EEG segment from each dataset, it is possible to use a shorter window for TE analysis, but at the cost of some overall accuracy. Table 6 shows the impact of window length, , on the AUC and overall accuracy with TE analysis in discriminating normal and seizure classes. It is found that both AUC and overall accuracy decrease only marginally with a considerable decrease in window length. This implies that TE analysis can be carried out readily for shorter window lengths, too (see Figure 5). In other words, the mean TE quantifier can be used for short-term as well as long-term analysis. This may be attributed to the time resolution property of TEO which can capture rapid changes in the modulation energy. Since the best results (AUC = 1.0 and 100% accuracy) were shown for and 4000, we chose a moving window of length 3000 samples in the above discussion. Table 6, also, depicts the computation time/window for different window lengths. As usual, a longer window length requires longer computation time.

We also ascertain the feasibility of executing the proposed TE method for real-time applications. All the three methods have been implemented using MATLAB programs. The average computational time for a window with 3000 samples, using TE method, is found to be 0.1990 milliseconds. This time interval is shorter compared to those for HFD (0.4141 milliseconds/window) and SampEn (1152.2 milliseconds/window) and hence, TE method is more suitable compared to HFD and SampEn, for automated offline/online EEG processing.

Various researchers have proposed different methods for epileptic seizure detection using the database by Andrzejak et al. [44]. Table 7 provides a comparison between our method and other methods that have used the same database. In the table, we present a listing of the method, dataset used, and classification accuracy, for the four classification problems. It should be noted that all the methods shown in the table, except ours, had used modern classifiers for first training and then classification. In the first classification problem, the results obtained by Tzallas, Subasi, and our method are the best (100%). In the second problem, our method shows the best results (98.9%). However, for the third classification problem, the result found by Orhan is the best (100%). Our results, though not better, are nearly the same as most of others (97%). For the fourth classification problem, we achieved an average accuracy of 98.5%. Besides the feasibility of the proposed TE method for real-time implementations, the accuracy of diagnosis can be improved by increasing the number of features. An automated system developed based on this approach can provide feedback to the experts for quick and accurate EEG classification.

4. Conclusion

A novel method for EEG epileptic seizure detection based on TE is presented. The chief finding of this study is that the mean TE measure is largely independent of record length and shows relative consistency when used as a relative measure for comparison. We have also shown that the mean TE quantifier can be used for short-term as well as long-term analysis. The quantified TE is found to outperform the other two quantifiers (HFD and SampEn) in discriminating these EEG groups and thus can significantly add to the more efficient monitoring of epileptic patients. This nonlinear measure can easily be analyzed from ambulatory EEG recordings without time-consuming preprocessing and, hence may have practical implications for risk stratification too. The database used has already been preprocessed by the removal of artifacts by visual inspection. This is a limitation of our method (like many who have used the same database). Nevertheless, the results of this study provide sufficient evidence to warrant the assessment under actual clinical situations that can provide more robust confirmation of the application of TE as a reliable nonlinear quantifier to capture diagnostically significant information. Hence the method is well suited for real-time implementation in automated epilepsy monitoring system.

Conflict of Interests

There is no conflict of interests.

Authors’ Contributions

The author, who is also the corresponding author, is the sole contributor to this work.