2. where ܲ are normalized spectral amplitudes at frequency ݂
and ܰ is the number of discrete frequencies at which power
spectral density (PSD) is estimated. In this study, SE was
estimated for the following 8 different EEG frequency bands
(0.5-50 Hz; 0.5-4 Hz; 4-7 Hz; 8-15 Hz; 16-31 Hz; 32-50 Hz;
0.8-34 Hz; 0.8-47 Hz ) per channel.
C. Classification
Linear discriminant analysis (LDA) was used to classify
EEG data segments as interictal or pre-ictal [5]. The LDA
based classification was performed per segment under a leave-
one-hour-out cross validation scheme. The average values of
coherence over the full spectrum per pair of available channels
and the individual values of the spectral entropy per EEG
frequency band per channel were used in this study. Coherence
values across all pairs of electrodes and the SE values across
all electrodes per segment (total of 248 for Dogs 1-4 and 235
for Dog 5) were then input as features to the LDA to produce a
binary output (0 if classified interictal and 1 if classified pre-
ictal) as class value for each segment.
III. RESULTS
The EEG data in an epoch were further divided into smaller
10sec segments (60 for each epoch). Preprocessing of each 10
sec EEG segment by filtering techniques was employed: a
notch filter to remove the 60 Hz line. Post-filtering the
frequency-based features of coherence and spectral entropy
were evaluated per segment. Since the number of interictal
segments was much larger compared to that of the pre-ictal
segments (interictal periods are much longer than pre-ictal
periods), we used the Synthetic Minority Oversampling
Technique (SMOTE) [6] to balance the two sets of data so that
the subsequent statistics in the evaluation of the performance
of our classification algorithm are more meaningful. A
majority voting approach was then used to derive a score of
pre-ictality for every epoch of EEG data based on the LDA
classification outputs for the segments included in this epoch.
The Receiver Operating Characteristic (ROC) curve was then
constructed and the area under the curve (AUC) was calculated
per animal as a metric of the classifier performance.
Additionally the error rate, sensitivity and specificity were
estimated based on the pre-ictality score of each epoch and
applying a binary classification threshold of 0.5 to determine if
the epoch is pre-ictal or not.
Table I shows the AUC values for each dog obtained from
this analysis. The global AUC value across all dogs is also
provided. The AUC ranged from 0.842 to 0.961, for four dogs,
while for the fifth dog was considerably less (0.559).
Combination of the two measures gives the highest global
AUC of 0.872, almost 5% higher than using only coherence
(AUC of 0.832) or spectral entropy (AUC of 0.819). Table II
shows a more detailed analysis of the classification results
from the combination of measures, including the values for the
error rate, sensitivity and specificity. The obtained error rate
ranged from 5.7% to 18.1%, sensitivity from 37.5% to 83.3%,
and specificity from 84.2% to 96.1%.
IV. DISCUSSION
Classification of interictal and pre-ictal epochs was better
achieved by combination of the coherence and spectral entropy
features. The high specificity (0.914) indicates good
performance of the algorithm with a small number of false
positives, but the relatively small sensitivity (0.649) indicates a
significant number of missed pre-ictal epochs. The low values
of sensitivity is attributed mostly to one of the 5 animals (Dog
1, sensitivity value of 0.375). This dog had the smallest
duration of the preictal data which, in conjunction with the
large variability of the precictal states of the brain, could
highly affect the performance of the LDA classifier. Finally,
the obtained AUC values using both coherence and spectral
entropy as features is an indication that combination of features
could improve seizure prediction. In summary, these
preliminary results point to the possibility of seizure prediction
by appropriate analysis of the EEG.
TABLE I: AREA UNDER ROC FOR EACH DOG USING EITHER
COHERENCE, SPECTRAL ENTROPY OR BOTH
AUC
Coh SE (Coh, SE)
Dog 1 0.500 0.471 0.559
Dog 2 0.951 0.866 0.955
Dog 3 0.800 0.838 0.859
Dog 4 0.813 0.835 0.849
Dog 5 0.920 0.850 0.965
Global 0.832 0.819 0.872
TABLE II: CLASSIFICATION CHARACTERISTICS FOR EACH DOG USING
BOTH THE FEATURES OF COHERENCE AND SPECTRAL ENTROPY
Error rate
(1-accuracy)
Sensitivity Specificity
Dog 1 0.181 0.375 0.842
Dog 2 0.102 0.833 0.904
Dog 3 0.057 0.583 0.961
Dog 4 0.164 0.639 0.860
Dog 5 0.058 0.800 0.951
Global 0.104 0.649 0.914
REFERENCES
[1] J. Engel, T. A. Pedley and J. Aicardi, Epilepsy: A Comprehensive
Textbook. Philadelphia, PA: Lippincott Williams & Wilkins, 2007.
[2] Y. Schiller and Y. Najjar, “Quantifying the response to antiepileptic
drugs: effect of past treatment history,” Neurology, vol. 70, pp. 54–65,
2008.
[3] A. K. GoliĔska, “Coherence function in biomedical signal processing: a
short review of applications in Neurology, Cardiology and Gynecology,”
Stud. Logic, Gramm. Rhetor., vol. 25, pp. 73–82, 2011.
[4] T. Inouye, K. Shinosaki, H. Sakamoto, S. Toi, S. Ukai, A. Iyama, Y.
Katsuda and M. Hirano, “Abnormality of background EEG determined
by the entropy of power spectra in epileptic patients,”
Electroencephalogr. Clin. Neurophysiol., vol. 82, pp. 203–207, 1992.
[5] M. Sabeti, S. Katebi and R. Boostani, “Entropy and complexity measures
for EEG signal classification of schizophrenic and control participants.,”
Artif. Intell. Med., vol. 47, pp. 263–74, 2009.
[6] N. V. Chawla, K. W. Bowyer, L. O. Hall and W. P. Kegelmeyer,
“SMOTE: synthetic minority over-sampling technique,” J. Artif. Intell.
Res., vol. 16, pp. 321–357, 2002.
10