Literature DB >> 18301712

Automatic seizure detection based on time-frequency analysis and artificial neural networks.

A T Tzallas1, M G Tsipouras, D I Fotiadis.   

Abstract

The recording of seizures is of primary interest in the evaluation of epileptic patients. Seizure is the phenomenon of rhythmicity discharge from either a local area or the whole brain and the individual behavior usually lasts from seconds to minutes. Since seizures, in general, occur infrequently and unpredictably, automatic detection of seizures during long-term electroencephalograph (EEG) recordings is highly recommended. As EEG signals are nonstationary, the conventional methods of frequency analysis are not successful for diagnostic purposes. This paper presents a method of analysis of EEG signals, which is based on time-frequency analysis. Initially, selected segments of the EEG signals are analyzed using time-frequency methods and several features are extracted for each segment, representing the energy distribution in the time-frequency plane. Then, those features are used as an input in an artificial neural network (ANN), which provides the final classification of the EEG segments concerning the existence of seizures or not. We used a publicly available dataset in order to evaluate our method and the evaluation results are very promising indicating overall accuracy from 97.72% to 100%.

Entities:  

Year:  2007        PMID: 18301712      PMCID: PMC2246039          DOI: 10.1155/2007/80510

Source DB:  PubMed          Journal:  Comput Intell Neurosci


1. INTRODUCTION

Epilepsy is one of the most common neurological disorders with a prevalence of 0.6–0.8% of the world's population. Two-thirds of the patients achieve sufficient seizure control from anticonvulsive medication, and another 8–10% could benefit from resective surgery. For the remaining 25% of patients, no sufficient treatment is currently available [1]. The epilepsy is characterized by a sudden and recurrent malfunction of the brain, which is termed “seizure.” Epileptic seizures reflect the clinical signs of an excessive and hypersynchronous activity of neurons in the brain. Depending on the extent of the involvement of other brain areas during the course of the seizure, epilepsies can be divided into two main classes. Generalized seizures involve almost the entire brain, while focal (or partial) seizures originate from a circumscribed region of the brain (epileptic focus) and remain restricted to this region. Epileptic seizures may be accompanied by impairment or loss of consciousness: psychic, autonomic or sensory symptoms, or motor phenomena [2, 3]. Traditionally, suspected seizures are evaluated using a routine electroencephalogram (EEG), which is typically a 20-minute recording of the patient's brain waves. Because a routine EEG is of short duration, it is unlikely that actual events are recorded. Routine EEGs may record interictal hallmarks of epilepsy, including spikes, sharp waves, or spike-and-wave complexes. However, diagnostic difficulties arise when a person has a suspected seizure, or a neurological event of unclear etiology, not obvious in the routine EEG. The current gold standard is the continuous EEG recording along with video monitoring of the patient, which usually requires inpatient admission. This is a costly endeavour, which is not always available. The patient is away from his environment and routine, which may be associated with factors that provoke the patient's events [4]. The introduction of portable recording systems (ambulatory EEG), however, has allowed out-patient EEG recording to become more common. This has the advantage that patients are monitored in their normal environment without the reduction in seizure frequency usually occurring during in-patient sessions [4, 5]. Clinical neurophysiologists can then periodically review the EEG recordings and analyze the seizures that may have occurred during the monitoring session. However, reviewing a continuous EEG recording lasting several days can be a time-consuming process. In practice, the patient can indicate that a seizure occurs through the use of an alarm button, so that only the recording sections around the use of the button need to be analyzed. Unfortunately, in many cases, patients are not aware of the occurrence of their own seizures. An automated seizure detection system can thus be of great interest in identifying EEG sections that need to be reviewed. The main difficulty with it lies in the wide variety of EEG patterns that can characterize a seizure, such as “low-amplitude desynchronization, polyspike activity, rhythmic waves for a wide variety of frequencies and amplitudes, and spikes and waves” [6]. In extracranial recordings, EMG, movement, and eye blink artefacts often obscure seizures. Thus, from the pattern recognition point of view, the problem is extremely complex. Research in automated seizure detection began in the 1970s and various algorithms addressing this problem [5-7] have been presented. Methods for automatic detection of seizures may rely on the identification of various patterns such as an increase in amplitude [8], sustained rhythmic activity [9, 10], or EEG flattening [11]. Several algorithms have been developed based on spectral [12-18] or wavelet features [19-23], amplitude relative to background activity [12, 24] and spatial context [24-27]. Chaotic features [28-31] such as correlation dimension [32, 33], Lyapunov exponents [34], and entropy [35] have also been proposed to characterize the EEG signal. These features can then be used to classify the EEG signal using statistical methods [28-30], nearest neighbour classifiers [36], decision trees [16], ANNs [21, 34], support vector machines (SVMs) [18, 37], or adaptive neurofuzzy inference systems [23, 35] in order to identify the occurrence of seizures. It is crucial for seizure detection systems to result in high sensitivity, even if this results in a large number of false detections. Such systems can then be used to reduce considerably the amount of data that need to be reviewed; neurophysiologists can then easily discard false detections. In addition, to seizure detection systems, warning systems have also become increasingly valuable since detection of seizures at an early stage can warn the patient that a seizure is occurring. Also, they alert medical staff, and allow them to perform behavioral testing to further assess which specific functions may be impaired as a result of a seizure and help them in localizing the source of the seizure activity. Techniques used to forecast seizures include time-domain analysis [38], frequency-based methods [39], nonlinear dynamics and chaos [31, 40], methods of delays [41], and intelligent systems [42]. Advances in seizure prediction promise to give rise to implantable devices able to warn of impending seizures and to trigger therapy to prevent clinical epileptic attacks [2]. Treatments such as electrical stimulation of focal drug infusion could be given on demand and might eliminate side effects in some patients taking antiepileptic drugs. Consequently, epileptic seizures give rise to changes in certain frequencies bands. Recent works have focused on the analysis of the (0.4–4 Hz), (4–8 Hz), (8–12 Hz), (12–30 Hz) rhythms, and their relation to epilepsy. An epileptic signal is nonstationary, having time-varying frequency components. Time-frequency (TF) representations combine both time and frequency information into a single representation and have proven to be powerful tools for the analysis of nonstationary signals [43], and have been used for neonatal seizure detection [44, 45]. In this work, we use TF analysis in order to extract several features from EEG segments, and subsequently use these features to classify the segments concerning epileptic seizures. The method is divided into three stages. Initially, TF analysis is performed for each EEG segment and its spectrum is acquired. Then, several features are extracted from it, measuring the fractional energy on specific TF windows. For this purpose, several partitions on the time axis and the frequency axis are tested. Finally, these features are used as inputs in an ANN, which provides the final classification according to the specified number of categories. A dataset of 500 EEG segments is used, while the method is evaluated for four different classification problems, each of them addressing a different interpretation of the medical problem and thus different selection of EEGs from the whole EEG segment dataset is required for each classification problem. TF analysis and feature extraction, reflecting the energy distribution over the TF plane, have been employed only for neonatal epileptic seizure detection and have not been previously applied in general epileptic seizure detection. In addition, no work addresses all four classification problems, which are directly related to the diagnosis provided by an expert. The obtained results indicate high accuracy compared to other existing approaches. The rest of the paper is structured as follows. In Section 2, the dataset used in our work along with the employed methodology is described in detail. Then, the evaluation procedure and the obtained results are presented (Section 3), followed by an extensive discussion regarding them (Section 4). Finally, some concluding remarks are included in Section 5.

2. MATERIALS AND METHODS

The flowchart of the proposed method is shown in Figure 1. Below the dataset and its partitions used are briefly discussed and the three stages (time-frequency analysis, feature extraction, and classification) of the method are explained in detail.
Figure 1

The flowchart of the proposed method.

2.1. Dataset

An EEG dataset, which is available online [46] and includes recordings for both healthy and epileptic subjects, is used. The dataset includes five subsets (denoted as Z, O, N, F, and S) each containing 100 single-channel EEG segments, each one having 23.6-second duration. The subsets Z and O have been acquired using surface EEG recordings of five healthy volunteers with eyes open and closed, respectively. Signals in two sets have been measured in seizure-free intervals from five patients in the epileptogenic zone (set F) and from the hippocampal formation of the opposite hemisphere of the brain (set N). Finally, subset S contains seizure activity, selected from all recording sites exhibiting ictal activity. Subsets Z and O have been recorded extracranially, using standard electrode positioning (according to the international 10–20 system [47]), whereas subsets N, F, and S have been recorded intracranially. More specifically, depth electrodes are implanted symmetrically into the hippocampal formation. EEG segments of subsets N and F were taken from all contacts of the relevant depth electrode [46]. In addition, strip electrodes are implanted onto the lateral and basal regions (middle and bottom) of the neocortex. EEG segments of the subsets S were taken from contacts of all electrodes (depth and strip). All EEG signals were recorded with the same 128-channel amplifier system, using an average common reference. The data were digitized at 173.61 samples per second using 12 bit resolution and they have the spectral bandwidth of the acquisition system, which varies from 0.5 Hz to 85 Hz. Typical EEG segments (one from each category of the dataset) are shown in Figure 2.
Figure 2

Exemplary EEG segments from each of the five subsets (Z, O, N, F, and S). From top to bottom: subset Z to subset S. The amplitudes of surface EEG recordings are typically in the order of some μV. For intracranial EEG recordings, the amplitudes range around 100 μV. For seizure activity, these voltages can exceed 1000 μV.

In our analysis, we use the above-described dataset to create four different classification problems and then we tested our method with all of them. The above classification problems are shown in detail in Table 1.
Table 1

The classes and the corresponding number of EEG segments of the four classification problems.

Classification problemClassesNumber of EEG segments
1Normal (Z, O)200
Seizure-free (N, F)200
Seizure (S)100

Total500

2Nonseizure (Z, O, N, F)400
Seizure (S)100

Total500

3Normal (Z)100
Seizure-free (N)100
Seizure (S)100

Total300

4Normal (Z)100
Seizure (S)100

Total200
In the first, all the EEG segments from the dataset were used and they were classified into three different classes: Z and O types of EEG segments were combined to a single class, N and F types were also combined to a single class, and type S was the third class. This set is the one closest to real medical applications including three categories; normal (i.e., types Z and O), seizure-free (i.e., types N and F) and seizure (i.e., type S). In the second, again all the EEG segments from the dataset were used and they were classified into two different classes: Z, O, N, and F types are included in the first class and type S in the second class. This is also close to real medical applications, being slightly simpler than the previous, classifying the EEG segments into nonseizures and seizures. The third has similar classes with the first, that is, normal, seizure-free and seizure, but not all the EEG segments from the dataset were employed. The normal class includes only the Z-type EEG segments, the seizure-free class the F-type EEG segments, and the seizure class the S-type. The fourth has similar classes with the second, that is, normal and seizure, but again not all the EEG segments from the dataset were employed. The normal class includes only the Z-type EEG segments while the seizure class includes the S-type.

2.2. Time-frequency analysis

In the proposed method, the smoothed pseudo-Wigner-Ville distribution (SPWVD) [48, 49] is applied to each EEG segment, defined as where is the signal, is the time, is the frequency, and and are time and frequency smoothing window functions, respectively. SPWVD can substantially suppress the cross terms, which is a major limitation of the time-frequency analysis. The time smoothing window was selected to be a Hamming 64-point length window, which was the same for all tests performed for evaluation. The length of the frequency smoothing window is not always the same; we have selected several different frequency resolutions (64, 128, 256, and 512 points length window), and we tested the method for all of them. Time-frequency (TF) analysis is used to calculate the spectrum of the signal. Figure 3 shows the spectrum of five EEG segments, one of each of the original dataset categories (Z, O, N, F, and S), using a 512-point length window.
Figure 3

The obtained spectrum for five EEG segments, one for each of the original dataset categories (Z, O, N, F, and S).

2.3. Feature extraction

The spectrum of the signals, computed using TF analysis, is used to extract several features. To do that, a grid is used, based on a time and a frequency partition. In the time domain, two different partitions were used, having three and five equal-sized windows, respectively, while in the frequency domain, four different partitions were used, which divide the frequency domain in 4, 5, 7, and 13 subbands. These subbands, which are not always equal, are shown in Table 2 and they are created using medical knowledge about the EEG and the features that are expected to be found in certain frequency bands for the specific types of EEG segments included in the original dataset. All the combinations between these time and frequency partitions are used, in order to extract several sets of features. The result of the application of TF analysis in an EEG segment for different combinations of time windows and frequency subbands is shown in Figure 4.
Table 2

The frequency ranges (Hz) of four frequency subbands (4, 5, 7, and 13).

Frequency subbands
45713
Frequency ranges (Hz)0–40–2.50–20–2
4–82.5–5.52–42–4
8–125.5–10.54–6.54–6
12–4010.5–21.56.5968
21.543.5912810
12251012
25401216
1620
2024
2428
2832
3236
3640
Figure 4

The spectrums obtained for various combinations of time and frequency partitions: (a) 3 time windows and 4 frequency subbands, (b) 5 time windows and 4 frequency subbands, (c) 3 time windows and 5 frequency subbands, (d) 5 time windows and 5 frequency subbands, (e) 3 time windows and 7 frequency subbands, (f) 5 time windows and 7 frequency subbands, (g) 3 time windows and 13 frequency subbands, and (h) 5 time windows and 13 frequency subbands.

Each feature, , is calculated as where is the ith time window and is the jth frequency band. Each feature represents the fractional energy of the signal in a specific frequency band and time window; thus the total feature set depicts the distribution of the signal's energy over the TF plane. Therefore, it is expected that each feature set carries sufficient information related to the nonstationary properties of the signal and thus, it can be useful for the classification process. The feature set initially is represented as an matrix, where is the number of time windows and is the number of frequency subbands, and then it is reshaped into an size vector. The length of the feature vector is not the same in all cases and it depends only on the time and frequency partitions. In all cases, an additional feature is used, which is the total energy of the signal. Thus, in each case the total number of features is .

2.4. Classification

The calculated features are fed into a feed-forward artificial neural network (ANN). To reduce the dimensionality of the input patterns, principal component analysis (PCA) is employed with the threshold set to 1%. The architecture of the neural network is different in each classification problem: N inputs (N is the number of features resulted from the PCA), one hidden layer with 4*N neurons, and M outputs (M is the number of the classes), each of them being a real number in the interval [0, 1]. The units in the hidden layer are sigmoid units with hyperbolic tangent as activation function, while the outputs are linear. Half of the patterns of the dataset were randomly selected to be used for training, while the rest were used for testing. The network is trained using a standard backpropagation algorithm [50]. Ten different training-test sets were created for each classification problem and thus ten different neural networks were optimized. The final result is obtained as the average of their results.

3. RESULTS

The four classification problems, described above, are used to evaluate the proposed method. For each of them, all combinations between frequency resolutions (64, 128, 256, or 512), time windows (3 or 5), and frequency bands (4, 5, 7, or 13) were tested; totally 32 different combinations for each classification problem. For each problem, half of the EEG segments, randomly selected, were used for the training of the neural network, while the other half for testing. The size of the confusion matrix depends on the classification problem: 3 × 3 for problems (1) and (3), 2 × 2 for problems (2) and (4). Results for each class i are derived in terms of sensitivity (Sens), specificity (Spec), and selectivity (Sel): The results for the classification problems (1)–(4) are shown in Tables 3–6, respectively.
Table 3

Results for the first classification problem, in terms of sensitivity (Sens), specificity (Spec), and selectivity (Sel) in % values. Those are given for all TF resolutions (64, 128, 256, and 512), time windows (3 and 5), and frequency subbands (4, 5, 7, and 13).

Frequency subbands45713
ClassesZONFSZONFSZONFSZONFS
Frequency resolution64Time windows3Sens98.9094.2097.0097.9096.8095.6095.8093.2093.8096.1097.8090.80
Spec98.0098.5398.4097.5397.8099.7595.6795.8099.3598.2795.5399.30
Sel97.0697.7293.8196.3696.7098.9693.6593.6797.3097.3793.5997.01
5Sens95.4091.9090.8095.7095.5088.8096.2092.9092.2093.3093.3088.60
Spec95.5395.0798.4096.2094.4099.8596.2796.2798.2095.3393.8798.55
Sel93.4492.5593.4294.3891.9299.3394.5094.3192.7693.0291.0293.86

Frequency resolution128Time windows3Sens99.2095.5097.4097.9095.2091.2099.6096.9094.6096.8093.2087.40
Spec97.6098.8799.3596.8096.8099.1598.0098.1399.8095.4795.4798.65
Sel96.5098.2597.4095.3395.2096.4197.0897.1999.1693.4493.2094.18
5Sens95.9092.7097.4096.8093.1092.0096.3093.6089.8096.2091.6093.00
Spec96.7396.4798.7595.6796.4098.9095.3396.0798.8594.9397.6097.75
Sel95.1494.5995.1293.7194.5295.4493.2294.0795.1392.6896.2291.18

Frequency resolution256Time windows3Sens96.6095.7098.0098.2090.8087.2098.0096.0096.2096.5098.0093.00
Spec98.2797.2099.0593.5395.8799.2597.2097.9399.7097.6097.6799.05
Sel97.3895.8096.2791.0193.6196.6795.8996.8798.7796.4096.5596.07
5Sens95.2093.5093.8094.9092.4089.8094.0091.9092.8096.8092.0085.00
Spec96.8095.4098.6595.2794.1399.0595.5394.7398.4592.4797.3398.30
Sel95.2093.1394.5693.0491.3095.9493.3592.0893.7489.5595.8392.59

Frequency resolution512Time windows3Sens97.5095.0093.8098.5097.3091.6097.3095.7096.40 98.80 99.00 93.00
Spec98.2096.6798.5597.3398.1399.2098.5397.2098.80 98.20 98.20 99.85
Sel97.3195.0094.1896.1097.2096.6297.7995.8095.26 97.34 97.35 99.36
5Sens95.7090.2095.8095.6092.7090.0092.3090.4090.0096.0095.7083.20
Spec95.4796.2798.1095.2795.9398.2593.6093.2798.7095.6794.1399.30
Sel93.3794.1592.6593.0993.8392.7890.5889.9594.5493.6691.5896.74
Table 6

Results for the fourth classification problem, in terms of sensitivity (Sens), specificity (Spec), and selectivity (Sel) in % values. Those are given for all TF resolutions (64, 128, 256, and 512), time windows (3 and 5), and frequency subbands (4, 5, 7, and 13).

Frequency subbands45713
ClassesZSZSZSZS
Frequency resolution64Time windows3Sens 100 100 100 100 100 100 100 100
Spec 100 100 100 100 100 100 100 100
Sel 100 100 100 100 100 100 100 100
5Sens 100 100 100 100 100 100 100 100
Spec 100 100 100 100 100 100 100 100
Sel 100 100 100 100 100 100 100 100

Frequency resolution128Time windows3Sens 100 100 100 100 100 100 10099.80
Spec 100 100 100 100 100 100 99.80100
Sel 100 100 100 100 100 100 99.80100
5Sens 100 100 100 100 100 100 100 100
Spec 100 100 100 100 100 100 100 100
Sel 100 100 100 100 100 100 100 100

Frequency resolution256Time windows3Sens 100 100 99.8097.60 100 100 10098.80
Spec 100 100 97.6099.80 100 100 98.80100
Sel 100 100 97.6599.80 100 100 98.81100
5Sens 100 100 100 100 100 100 100 100
Spec 100 100 100 100 100 100 100 100
Sel 100 100 100 100 100 100 100 100

Frequency resolution512Time windows3Sens 100 100 100 100 100 100 10099.00
Spec 100 100 100 100 100 100 99.00100
Sel 100 100 100 100 100 100 99.01100
5Sens 100 100 100 100 100 100 100 100
Spec 100 100 100 100 100 100 100 100
Sel 100 100 100 100 100 100 100 100
The accuracy (Acc), defined as where cm is the confusion matrix, defined as is calculated for each confusion matrix. The computed accuracies, along with the standard deviations are presented in Table 7. Additionally, the initial number of features and the reduced number of features after the PCA application are presented. For each classification problem, overall results have been derived, that is, the maximum and minimum accuracies (for all combinations between frequency resolutions, time windows, and frequency subbands) as well as the average accuracy and the standard deviation. For the first classification problem, the best obtained accuracy is 97.72%, achieved for 512 frequency resolution, 3 time windows, and 13 frequency subbands. For the second classification problem, the best obtained accuracy is 97.73%, achieved for 512 frequency resolution, 3 time windows, and 5 frequency subbands. For the third classification problem, the best obtained accuracy is 99.28%, achieved for 128 frequency resolution, 3 time windows, and 4 frequency subbands. Finally, for the fourth classification problem, the best obtained accuracy is 100%, achieved in most of the cases; in 28 out of 32 different evaluations of the fourth classification problem we obtained accuracy 100%.
Table 7

Accuracy (%), standard deviation (in the parenthesis), and initial number of features/reduced number of features after PCA application, for all classification problems (1, 2, 3, and 4) reported, for all TF resolutions (64, 128, 256, and 512), time windows (3 and 5), and frequency subbands (4, 5, 7, and 13).

Frequency resolutionTime windowsFrequency subbandsClassification problem
1234
643 496.64 (0.34) 13/396.47(0.45) 13/398.24 (0.33) 13/3 100 (0) 13/3
597 (0.76) 16/397.07(0.78) 16/397.96 (0.61) 16/3 100 (0) 16/3
794.36 (0.58) 22/594.2 (0.89) 22/598.64 (0.34) 22/5 100 (0) 22/5
1395.72 (0.71) 40/495.2 (1.25) 40/497.76 (0.33) 40/4 100 (0) 40/4
5 493.08 (0.96) 21/491.73 (0.84) 21/497.56 (0.39) 21/4 100 (0) 21/4
594.24 (0.54) 26/493.87 (1.08) 26/498.12 (0.6) 26/4 100 (0) 26/4
794.08 (0.7) 36/494.27 (0.95) 36/497.32 (0.19) 36/4 100 (0) 36/4
1392.36 (0.81) 66/491.47 (0.82) 66/497.28 (0.37) 66/4 100 (0) 66/4

1283497.36 (0.34) 13/395.73 (0.47) 13/3 99.28 (0.17) 13/3 100 (0) 13/3
595.48 (0.33) 16/395.2 (0.61) 16/397.92 (0.32) 16/3 100 (0) 16/3
797.52 (0.25) 22/497 (0.47) 22/499 (0.34) 22/4 100 (0) 22/4
1393.48 (0.80) 40/595.53 (1.3) 40/596.92 (0.42) 40/599.9 (0.32) 40/5
5 494.92 (0.71) 21/494.2 (1.41) 21/499.16 (0.35) 21/4 100 (0) 21/4
594.36 (0.72) 26/495.53 (0.71) 26/497.8 (0.28) 26/4 100 (0) 26/4
793.92 (1.1) 36/495.2 (0.93) 36/497.8 (0.39) 36/4 100 (0) 36/4
1393.72 (0.9) 66/593.67 (1.18) 66/597.44 (0.47) 66/5 100 (0) 66/5

2563 496.52 (0.27) 13/394.53 (0.42) 13/399.2 (0) 13/3 100 (0) 13/3
593.04 (0.78) 16/396 (0.7) 16/396.4 (0.53) 16/398.7 (0.82) 16/3
796.84 (0.35) 22/595.47 (0.53) 22/598.88 (0.41) 22/5 100 (0) 22/5
1396.4 (0.9) 40/697.07 (0.84) 40/698.24 (0.39) 40/699.4 (0.52) 40/6
5 494.24 (0.8) 21/494.13 (1.21) 21/498.08 (0.53) 21/4 100 (0) 21/4
592.88 (0.53) 26/592.47 (1.18) 26/598.08 (0.49) 26/5 100 (0) 26/5
792.92 (0.6) 36/592.53 (0.61) 36/597.8 (0.43) 36/5 100 (0) 36/5
1392.52 (0.71) 66/595.73 (0.84) 66/596.24 (0.63) 66/5 100 (0) 66/5

5123 495.76 (0.28) 13/397.07 (0.72) 13/398.36 (0.4) 13/3 100 (0) 13/3
596.64 (0.34) 16/4 97.73 (1) 16/4 98.08 (0.62) 16/4 100 (0) 16/4
796.48 (0.59) 22/594.33 (0.85) 22/598.2 (0.28) 22/5 100 (0) 22/5
13 97.72 (0.38) 40/6 96.53 (0.69) 40/698.6 (0.47) 40/699.5 (0.53) 40/6
5 493.52 (0.67) 21/592.93 (0.9) 21/597.68 (0.41) 21/5 100 (0) 21/5
593.32 (0.46) 26/594.4 (1.1) 26/597.44 (0.43) 26/5 100 (0) 26/5
791.08 (1.18) 36/593.47 (0.88) 36/597.68 (0.45) 36/5 100 (0) 36/5
1393.32 (1.16) 66/593.2 (1.47) 66/596.92 (0.5) 66/5 100 (0) 66/5

Total

Max97.7297.7399.28100
Min91.0891.4796.2498.7
Average94.7394.8197.9499.92
SD1.781.630.750.26
For the first two classification problems, the obtained accuracies of the different evaluations varied significantly; almost 6.5% (max-min) for both of them, with average 95% and standard deviation 1.7%. For the third classification problem, the max-min difference is 3% and the average 97.94%, with 0.75% standard deviation. Finally, for the fourth classification problem, the max-min difference is 1.3% and the average 99.92%, with 0.26% standard deviation.

4. DISCUSSION

We have proposed an automated method for seizure detection in EEG recordings. The method is based on TF analysis of the EEG segments and extraction of several features from the spectrum of the signal. These features are fed into neural networks, which provide the final classification of the EEG segments. The method is evaluated using four different classification problems originated from the type of medical diagnosis, which can be obtained. The effect of different parameters of the method on the classification accuracy is examined. Those parameters are the frequency resolution of the TF analysis, the length of the time window, and the width of the frequency subbands used in the feature extraction. The different combinations among all the afore-mentioned parameters result in a large number of different experimental settings (32) for each classification problem (4) and 10 different realizations (selections of training/test datasets) for each of them—totally 1280 optimized and evaluated ANNs—and results are presented for all of them. This is considered an extensive validation procedure, which can sufficiently exploit the potentials of the proposed method. In this method, the SPWVD has been employed for the TF analysis of the EEG signals. Other distributions have been also tried but the better results were obtained for SPWVD. The frequency resolution, used in the TF analysis, does not greatly affect the accuracy of the proposed method; the average accuracies of all different combinations of time windows and frequency subbands, for the four classification problems, are 96.71%, 97.13%, 96.7%, and 96.87% for 64, 128, 256, and 512 points length windows, respectively. It is obvious that the use of 128 points length window slightly improves the results. On the other hand, the number of the time windows is important for the analysis; in the case of three time windows, the average accuracy of all different combinations between the frequency resolutions and frequency subbands, for all four classification problems, is 97.52%, while the accuracy in the case of five time windows is 96.2%. This means that analyzing EEG segments of approximately 8-second length reveals more information for the epileptic seizures than having 5-second windows. Other statistical measurements lead to the same conclusion; in the case of three time windows, the minimum accuracy of all cases is 93.04% and the standard deviation 1.8%, while the accuracy for five time windows is 91.08% and the standard deviation 2.9%, respectively. Finally, concerning the number of frequency subbands, again the reported average accuracies for all combinations among the frequency resolutions and the time windows, for all classification problems, are 97.07%, 96.87%, 96.84%, and 96.62% for 4, 5, 7, and 13 frequency subbands, respectively. This gives indications that the separation in , , , and rhythms is the one that mostly detects the TF components that characterize the signal regarding epileptic seizures, compared to 5 and 7, which have been used in other methods [20, 22], and 13, which is defined in this work to examine if a frequency resolution with a large number of frequency subbands improves the classification accuracy. The results indicate that all selections for frequency subbands result in similar high-average accuracies—the difference between the best and worst age accuracy is 0.45%. This can be justified since they are generated either based on expert knowledge or have been previously proposed in the literature. Concerning the frequency subbands, the higher their number, is the lower (slightly) the average accuracy obtained. To our knowledge, TF analysis and feature extraction, which reflect the energy over the TF plane, have been only applied in the analysis of neonatal EEG signals (and mainly for neonatal epileptic seizure detection) and not EEG signals in general. Moreover, the quality of the proposed method can be proved from the obtained results. The accuracy achieved by our method for the epileptic seizure detection is more than satisfactory and also its automated nature makes it suitable to be used in real clinical conditions. Besides the feasibility of a real-time implementation of the proposed method, the diagnosis can be made more accurate by increasing the number of parameters. A system that may be developed as a result of this study may provide feedback to the experts for classification of the EEG signals quickly and accurately by examining the EEG signal. Table 8 presents a comparison between our method and other methods proposed in the literature. Only methods evaluated in the same dataset are included so that a comparison between the results is feasible. For the two classes' problem, using only the Z and S types of EEG segments, the results obtained from the evaluation of our method are the best presented for this dataset. The difference between our result and all other results proposed in the literature varies from 0.4% to 10%. The second two classes' problem that we used to evaluate our method also presents high-accuracy results (97.73%). It is worth to mention here that a method that discriminates EEGs into nonseizure and seizure is much closer to the expert needs.
Table 8

A comparison of the results obtained by our method and others' methods (classification accuracy) for two and three categories classification problems.

ClassesAuthors (year)MethodDatasetAccuracy
2 Nigam et al. [15](2004)Nonlinear preprocessing filter, diagnostic artificial neural network (LAMSTAR)Z, S97.2
Srinivasan et al. [14] (2005)Time & frequency domain features, recurrent neuralnetwork (RNN)Z, S99.6
Kannathal et al. [42] (2005)Entropy measures, adaptive neurofuzzy inference system (ANFIS)Z, S92.22
Kannathal et al. [35] (2005)Chaotic measures, surrogate data analysisZ, S~90
Polat et al. [16](2006)Fast Fouriertransform (FFT), decision tree(DT)Z, S98.72
Subasi [22](2007)Discrete wavelettransform (DWT), mixture ofexpert modelZ, S95
This work (2007) Time frequency (TF) analysis, artificial neuralnetwork (ANN) Z,S 100
This work (2007 ) Time frequency (TF) analysis, artificial neuralnetwork (ANN) (Z,O, N, F), S 97.73

3 Guler et al. [34](2005)Lyapunov exponents, recurrent neural network(RNN)Z, F, S96.79
Sadati et al. [23](2006)Discrete wavelettransform (DWT), adaptive neuralfuzzy network (ANFN)Z, F, S85.9
This work (2007) Time frequency (TF) analysis, artificial neuralnetwork (ANN) Z,F, S 99.28
Thiswork (2007 ) Time frequency (TF) analysis, artificial neuralnetwork (ANN) (Z,O), (N,F), S 97.72
Regarding the three classes' problem, the results obtained from our method are the best presented for this dataset, either using only the Z, F, and S types or all the available dataset. In the case of using the third problem to evaluate our method (i.e., only the Z, F, and S types), the difference between our results and all others' results varies from 2.5% to 13.4%. In the case of using the first classification problem to evaluate our method (i.e., the Z and O, F and N, S types), the difference between our results and all others' results ranges from 1% to 12%. The second case has also the advantage of being a more realistic classification, dividing the dataset to normal, seizure-free, and seizure EEGs, and thus being closer to clinical conditions. Still, however, there are several other aspects either technical or medical which must be addressed. From the technical point of view, although we have examined the effect of various parameters (frequency resolution, number of time windows, and frequency bands), some other, like time-frequency distributions (e.g., reduced interference distributions), have not been explored. Furthermore, we mainly focused on the effects of the parameters related to frequency analysis, either for the calculation of the spectrum of the signal or for the frequency resolution for feature extraction. More detailed examination of the time resolution for feature extraction may also reveal important information regarding the seizure detection; this feature will be addressed in feature communications. From the medical point of view, the most important feature is that currently the method is used to characterize predetermined (with respect to their length) EEG segments. An important aspect is also the modification of the proposed method in order to be able to automatically detect highly suspicious segments (regardless of their length) into long time EEG recordings and classify them.

5. CONCLUSIONS

In this paper, we explored the ability of the TF analysis to classify EEG segments which contain epileptic seizures. We have extracted several time-frequency features and we examined the effect of the parameters entering the problem, that is, the frequency resolution of the time-frequency analysis and the number of time windows and frequency subbands used for feature extraction. Promising results have been reported after the evaluation of the proposed method in four different classification problems, derived from a well-known database. However, several types of artefacts have been removed from this database after visual inspection. This is a limitation of the evaluation of our method and thus further evaluation under real clinical conditions is required in order to fully exploit its potential. Another limitation is that in the current study high-frequency components (over 40 Hz) were not measured and thus taken under consideration; the employment of high-frequency components, such as gamma activity, and their importance concerning epileptic seizure detection will be addressed in a future communication. Finally, several technical aspects can be further investigated, such as different techniques for feature reduction and alternative classification algorithms.
Table 4

Results for the second classification problem, in terms of sensitivity (Sens), specificity (Spec), and selectivity (Sel) in % values. Those are given for all TF resolutions (64, 128, 256, and 512), time windows (3 and 5), and frequency subbands (4, 5, 7, and 13).

Frequency subbands45713
ClassesZONFSZONFSZONFSZONFS
Frequency resolution64Time windows3Sens98.4097.6098.5595.6099.3096.0099.1092.40
Spec97.6098.4095.6098.5596.0099.3092.4099.10
Sel99.3993.8598.9094.2899.0097.1798.1296.25
5Sens97.7097.0099.3593.2098.7091.8098.6591.80
Spec97.0097.7093.2099.3591.8098.7091.8098.65
Sel99.2491.3498.3297.2997.9794.6497.9694.44

Frequency resolution128Time windows3Sens99.5098.4099.2592.6099.5596.8098.0592.40
Spec98.4099.5092.6099.2596.8099.5592.4098.05
Sel99.6098.0198.1796.8699.2098.1798.1092.22
5Sens99.5097.8099.0592.8098.9593.2098.1094.80
Spec97.8099.5092.8099.0593.2098.9594.8098.10
Sel99.4598.0098.2296.0798.3195.6998.6992.58

Frequency resolution256Time windows3Sens99.2599.0098.9086.4099.4596.6099.4093.60
Spec99.0099.2586.4098.9096.6099.4593.6099.40
Sel99.7597.0696.6895.1599.1597.7798.4297.50
5Sens98.5596.2099.0094.4098.7094.2097.1592.60
Spec96.2098.5594.4099.0094.2098.7092.6097.15
Sel99.0594.3198.6195.9398.5594.7798.1389.04

Frequency resolution512Time windows3Sens98.9096.20 99.05 94.20 98.8595.6099.7094.20
Spec96.2098.90 94.20 99.05 95.6098.8594.2099.70
Sel99.0595.63 98.56 96.12 98.9095.4198.5798.74
5Sens98.3595.0098.6592.6098.7593.4098.8589.20
Spec95.0098.3592.6098.6593.4098.7589.2098.85
Sel98.7493.5098.1694.4998.3694.9297.3495.10
Table 5

Results for the third classification problem, in terms of sensitivity (Sens), specificity (Spec), and selectivity (Sel) in % values. Those are given for all TF resolutions (64, 128, 256, and 512), time windows (3 and 5), and frequency subbands (4, 5, 7, and 13).

Frequency subbands45713
ClassesZFSZFSZFSZFS
Frequency resolution64Time windows3Sens99.0093.8096.6097.8095.2098.2097.0087.8097.8097.4098.0093.20
Spec98.9097.8098.0098.6098.5098.5094.6098.3098.4099.3094.6098.90
Sel97.8395.5296.0297.2296.9597.0489.9896.2796.8398.5490.0797.69
5Sens94.6084.2096.4096.4092.4092.8095.2092.8094.8090.2090.6093.60
Spec94.5096.2096.9095.8095.3099.7097.4095.5098.5096.4092.8098.00
Sel89.5891.7293.9691.9890.7799.3694.8291.1696.9392.6186.2995.90

Frequency resolution128Time windows3Sens 99.20 90.60 97.40 99.4093.4092.8099.4098.6093.0097.4095.8093.40
Spec 96.50 98.50 98.60 97.0097.5098.3098.6097.5099.4098.5096.4098.40
Sel 93.41 96.79 97.21 94.3194.9296.4797.2695.1798.7397.0193.0196.69
5Sens95.4091.6095.6098.2096.2092.2095.0095.4095.2096.4090.6094.00
Spec97.3095.6098.4097.8096.0099.5098.3096.0098.5095.4097.8097.30
Sel94.6491.2496.7695.7192.3298.9396.5492.2696.9591.2995.3794.57

Frequency resolution256Time windows3Sens92.0092.8098.8099.2096.2092.6096.4096.0094.0098.2097.8095.20
Spec97.9095.4098.5097.9096.5099.6097.8096.6098.8098.4097.8099.40
Sel95.6390.9897.0595.9493.2299.1495.6393.3997.5196.8495.6998.76
5Sens95.6091.4095.4090.2092.8094.4094.2091.0092.4098.4091.8097.00
Spec97.4095.7098.1097.1093.0098.6095.7094.5098.6096.6098.2098.80
Sel94.8491.4096.1793.9686.8997.1291.6389.2297.0693.5496.2397.59

Frequency resolution512Time windows3Sens99.8095.2096.2099.6097.4096.2094.2094.2094.6099.4096.4093.80
Spec98.2098.3099.1098.4098.6099.6098.0095.2098.3098.3097.3099.20
Sel96.5296.5598.1696.8997.2199.1895.9390.7596.5396.6994.7098.32
5Sens97.6085.8095.4098.0091.2094.0091.4092.6096.4096.2094.0089.40
Spec94.7096.6098.1097.5096.5097.6097.9094.5097.8096.5094.2099.10
Sel90.2092.6696.1795.1592.8795.1495.6189.3895.6393.2289.0298.03
  34 in total

1.  A data-reduction process for long-term EEGs. Feature extraction through digital processing in a multiresolution framework.

Authors:  R O Sirne; S I Isaacson; C E D'Attellis
Journal:  IEEE Eng Med Biol Mag       Date:  1999 Jan-Feb

2.  Entropies for detection of epilepsy in EEG.

Authors:  N Kannathal; Min Lim Choo; U Rajendra Acharya; P K Sadasivan
Journal:  Comput Methods Programs Biomed       Date:  2005-10-10       Impact factor: 5.428

3.  Automatic seizure detection in EEG using logistic regression and artificial neural network.

Authors:  Ahmet Alkan; Etem Koklukaya; Abdulhamit Subasi
Journal:  J Neurosci Methods       Date:  2005-07-14       Impact factor: 2.390

4.  New horizons in ambulatory electroencephalography.

Authors:  Elizabeth Waterhouse
Journal:  IEEE Eng Med Biol Mag       Date:  2003 May-Jun

Review 5.  Prediction of epileptic seizures.

Authors:  Brian Litt; Javier Echauz
Journal:  Lancet Neurol       Date:  2002-05       Impact factor: 44.182

6.  Linear and non-linear methods for automatic seizure detection in scalp electro-encephalogram recordings.

Authors:  P E McSharry; T He; L A Smith; L Tarassenko
Journal:  Med Biol Eng Comput       Date:  2002-07       Impact factor: 2.602

7.  A neural-network-based detection of epilepsy.

Authors:  Vivek Prakash Nigam; Daniel Graupe
Journal:  Neurol Res       Date:  2004-01       Impact factor: 2.448

8.  Temporo-spatial patterns of pre-ictal spike activity in human temporal lobe epilepsy.

Authors:  H H Lange; J P Lieb; J Engel; P H Crandall
Journal:  Electroencephalogr Clin Neurophysiol       Date:  1983-12

9.  Automatic recognition of epileptic seizures in the EEG.

Authors:  J Gotman
Journal:  Electroencephalogr Clin Neurophysiol       Date:  1982-11

10.  Forecasting generalized epileptic seizures from the EEG signal by wavelet analysis and dynamic unsupervised fuzzy clustering.

Authors:  A B Geva; D H Kerem
Journal:  IEEE Trans Biomed Eng       Date:  1998-10       Impact factor: 4.538

View more
  29 in total

1.  Hierarchical multi-class SVM with ELM kernel for epileptic EEG signal classification.

Authors:  A S Muthanantha Murugavel; S Ramakrishnan
Journal:  Med Biol Eng Comput       Date:  2015-08-22       Impact factor: 2.602

2.  Integrating artificial intelligence with real-time intracranial EEG monitoring to automate interictal identification of seizure onset zones in focal epilepsy.

Authors:  Yogatheesan Varatharajah; Brent Berry; Jan Cimbalnik; Vaclav Kremen; Jamie Van Gompel; Matt Stead; Benjamin Brinkmann; Ravishankar Iyer; Gregory Worrell
Journal:  J Neural Eng       Date:  2018-06-01       Impact factor: 5.379

3.  Wavelet-based sparse functional linear model with applications to EEGs seizure detection and epilepsy diagnosis.

Authors:  Shengkun Xie; Sridhar Krishnan
Journal:  Med Biol Eng Comput       Date:  2012-10-09       Impact factor: 2.602

4.  Reliable epileptic seizure detection using an improved wavelet neural network.

Authors:  Zarita Zainuddin; Lai Kee Huong; Ong Pauline
Journal:  Australas Med J       Date:  2013-05-30

5.  Employment and comparison of different Artificial Neural Networks for epilepsy diagnosis from EEG signals.

Authors:  Esma Sezer; Hakan Işik; Esra Saracoğlu
Journal:  J Med Syst       Date:  2010-04-07       Impact factor: 4.460

6.  Classification of epileptic seizures using wavelet packet log energy and norm entropies with recurrent Elman neural network classifier.

Authors:  S Raghu; N Sriraam; G Pradeep Kumar
Journal:  Cogn Neurodyn       Date:  2016-09-12       Impact factor: 5.082

7.  Extreme value theory inspires explainable machine learning approach for seizure detection.

Authors:  Oleg E Karpov; Vadim V Grubov; Vladimir A Maksimenko; Semen A Kurkin; Nikita M Smirnov; Nikita P Utyashev; Denis A Andrikov; Natalia N Shusharina; Alexander E Hramov
Journal:  Sci Rep       Date:  2022-07-06       Impact factor: 4.996

Review 8.  EEG-Based Epileptic Seizure Detection via Machine/Deep Learning Approaches: A Systematic Review.

Authors:  Ijaz Ahmad; Xin Wang; Mingxing Zhu; Cheng Wang; Yao Pi; Javed Ali Khan; Siyab Khan; Oluwarotimi Williams Samuel; Shixiong Chen; Guanglin Li
Journal:  Comput Intell Neurosci       Date:  2022-06-17

9.  Detecting epileptic seizure with different feature extracting strategies using robust machine learning classification techniques by applying advance parameter optimization approach.

Authors:  Lal Hussain
Journal:  Cogn Neurodyn       Date:  2018-01-25       Impact factor: 5.082

10.  Seizure classification in EEG signals utilizing Hilbert-Huang transform.

Authors:  Rami J Oweis; Enas W Abdulhay
Journal:  Biomed Eng Online       Date:  2011-05-24       Impact factor: 2.819

View more

北京卡尤迪生物科技股份有限公司 © 2022-2023.