Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
INTRODUCTION
The Electro encephalogram (EEG) is a measure of the
cumulative firing of neurons in various parts of the brain. It
contains information regarding changes in the electrical
potential of the brain obtained from a set of recording
electrodes. These data include the characteristic waveforms
with accompanying variations in amplitude, frequency, phase
etc, as well as brief occurrence of electrical patterns, such as,
spindles, sharps and spike waveforms. EEG patterns have
shown to be modified by a wide range of variables including
biochemical, metabolic, circulatory, hormonal, neuroelectric
and behavioral factors1. In the past, the encephalographer, by
visual inspection was able to qualitatively distinguish normal
EEG activity from localized or generalized abnormalities
contained within relatively long EEG records. The most
important activity possibly detected from the EEG is the
epilepsy2. Epilepsy is characterized by uncontrolled excessive
activity or potential discharge by either a part or all of the
central nervous system. The different types of epileptic
seizures are characterized by different EEG waveform
patterns. With real-time monitoring to detect epileptic
seizures gaining widespread recognition, the advent of
computers has made it possible to effectively apply a host of
methods to quantify the changes occurring based on the EEG
signals3. One of them is a classification of risk level of epilepsy
by using fuzzy techniques4. In this paper, two techniques have
been discussed viz. Binary Genetic Algorithm and
Continuous Genetic Algorithm to optimize the epileptic risk
R Harikumar and Dr (Mrs) R Sukanesh are with Department of ECE,
Thiagrajar College of Enginering, Maduari and P A Bharathi is with
Department of ECE, Amrita Institute of Technology, Coimbatore, 641 105.
This paper was received on June 29, 2004. Written discussion on this paper will
be received till July 31, 2005.
Parameters
Fuzzifier
Inference
engine
Defuzzification
GA optimization
Samples
Knowledge base
Output
Raw EEG
signals
2
( xi )
xi
i =1
where =
Average Duration
classification
after
the
E = xi2
D=
ti
i =1
(3)
i =1
(2)
i =1
2 =
Covariance of Duration
The variation of the average duration is defined by
p
CD =
2
( D ti )
i =1
pD 2
(4)
Variance
by13,14
Membership
function
Membership
function
Membership
function
Membership
function
Very low
low
Medium
High
Very high
0.5
0
0.7
1 Very low
2.9
low
3.6
7.6
8.2
9.2 11
Energy input function
Medium
High
30
Very high
0.5
0
low
0.45 1.6
2.2 3.8
Varience input function
Medium
High
4.3
6.4
Very high
0.5
0
1 Very low
3
low
4
6
8
12
Peak input function
Medium
High
16
20
Very high
0.5
0
4
6
8
12
Output risk level Function
16
20
Epoch 1
Epoch 2
Epoch 3
WYYWYY
YZZYXX
YYZXYY
YZZYXY
WYYWYY
YYYYXX
YYYYYY
XYYXYY
WZYYWW
YYYXYY
YYYYYY
YYYYYY
ZZZYYY
YYZXXX
ZZZYYY
YYYYXX
WYYYXX
WYZYYY
YYYYYY
YYYYXX
YYYXYY
YZZYYY
ZZZYYY
YYYXZY
F0
GG 0
matrix E1 = G 1 / 9
GG
GG 2 / 9
H 1/ 9
0
0
1/ 9
1/ 9
0
I
J
0 J
2 / 9J
J
1 / 9J
J
JK
Define Parameters
Fitness function
Fitness
Represent parameters
Create population
Evaluate cost
Crossover
Mutate
Test
Stop
Figure 4 Basic genetic algorithm
Table 1
Risk
Level
Representation
Binary
String
Weight
Probability
Very
High
10000
16/31 = 0.516129
0.086021
High
01000
8/31 = 0.258065
0.043011
Medium
00100
4/31 = 0.129032
0.021505
Low
00010
2/31 = 0.064516
0.010752
Normal
00001
1/31 = 0.032258
0.005376
11111 = 31
=1
Table 2
Initial
Intermediate
Best Four
YYYYXX
YYYXXY
YYYYYY
ZYYYZZ
YYYZZY
YYYYYY
ZYYZXX
YYYYYY
YYYZYZ
YYYYYY
ZZYXYY
ZYYZYZ
ZZYZYZ
YYYXZZ
YYYZZY
YYYXYY
YYYYYZ
YYYXZZ
YYYYYY
YYYYYY
YYYYYZ
YYYXYY
YYYYYX
YYYXYY
XYYYWX
YYYYYY
YYYYYY
Parent1 = C 11 , C 12 , C 13 , C 14 , C 15 , C 16
YYYYYY
Parent 2 = C 21 , C 22 , C 23 , C 24 , C 25 , C 26
FINAL STAGE
Epoch 1
Epoch 2
Epoch 3
Final 4
ZYYZYZ
ZYYZZZ
ZZYZYZ
ZZYZZZ
YYYZZY
YYYZZZ
YYYZZZ
YYYZZZ
YYYXZZ
ZZYXZZ
YYYZZZ
ZYYWWZ
YYYYYZ
ZZYYXZ
ZZYYYY
ZZYYWW
Offspring 1 = C 11 , C 12 , C 13 , C x 4 , C x5 , C x 6
Offspring 2 = C 21 , C 22 , C 23 , C y 4 , C y 5 , C y 6
where
C Xn = C 1n + ( 1 ) C 2 n
C Yn = C 2 n + ( 1 ) C 1n
= random number in [0, 1]
Table 3
Table 4
Performance index
Methods
10.1911
8.8967
10.0000
10.0000
4.9558
4.9558
11.0717
9.1946
10.0000
5.5000
5.5000
11.0000
11.0000
10.9620
10.0000
10.0000
10.0000
10.0000
15.0678
13.1178
10.0000
11.0000
16.0000
16.0000
Perfect
Classification
Missed
Classification
False
Alarm
Performance
Index
Fuzzy logic
50.00
20
10.00
40.00
BGA optimization
91.67
8.33
95.45
CGA optimization
97.92
2.08
97.87
16.0352
11.8384
13.0688
11.1024
11.9311
12.2006
11.9984
8.0195
18.0000
12.0000
14.8507
7.6978
5.0000
10.3781
11.7473
18.0000
14.7012
10.9742
10.6840
12.9038
9.0000
4.8421
16.8188
12.7893
Final Result
10.4055
15.8516
12.2654
13.5894
11.4648
11.3068
7.5007
12.1747
15.0000
14.8354
10.9534
12.6932
9.0000
12.3859
11.3762
14.7118
17.0000
8.2202
7.0000
13.4603
10.9560
14.5240
10.0926
16.0000
Encoded Result
YZYYYY
YYZZYY
YYYZZY
YYYZYZ
the next stage where they compete with four other similar
chromosomes from two other epochs. The best twelve
chromosomes from the three epochs are iterated for another
128 generations and the final four chromosomes are used as the
representation of the patients epileptic risk level. For ease of
assessment and quantification, these results are also encoded
using the scheme discussed earlier. The Table 3 gives a detailed
analysis of the Continuous Genetic Algorithm operation. As
can be seen from Table 3, the continuous genetic algorithm
gives a more precise risk level classification than the binary
GA. This is evident from the encoded risk levels of the CGA
as compared to that of the BGA results for the same patient.
RESULTS AND DISCUSSIONS
The outputs are obtained for three epochs for every patient in
classifying the epileptic risk level by the fuzzy genetic algorithm approach. To study the relative performance of these
two systems, two parameters, the Performance Index and the
Quality Value are measured. These parameters are calculated
for each set of the patient and compared.
Performance Index
The PI calculated for the aforesaid classification methods are
illustrated in Table 4 using (5). The performance index of a
system is defined by11
14
PI =
PC MC FA
100
PC
(5)
Classification rate
eR
fa
j e
(6)
(ii) The constant false alarm of 0.2 per set is added to Rfa
in the Qv formula. In the present method, the false
alarm rate is low and usually ranges form 0 0.5. A
rate higher than 0.5 is unacceptable.
IE (I) JournalID
Quality value
25
20
15
10
5
0
1
3
1234
1234
1234
1234
Parameters
Fuzzy Method
Before
Optimization
Risk level
classification
rate, %
Binary Genetic
Algorithm
Continuous
Genetic
Algorithm
50.00
93.2200
97.1300
Weighted
delay, s
4.00
0.4990
0.4400
False-alarm,
rate/set
0.20
0.0677
0.0286
Performance
index, %
40.00
92.6800
96.9800
Quality value
6.25
20.1400
22.6800
Percentage, Qv
25.00
80.6000
90.7000
Percentage (%)
100
80
60
40
20
0
Fuzzy method
before
optimization
Binary
genetic algorithm
optimization
Continuous
genetic algorithm
optimization
15
ACKNOWLEDGEMENTS
The authors owe their sincere gratitude to Ms Beena
Venugopal, Final year BE (ECE) student of Amrita Institute of
Technology for her timely help and valuable inputs. The
authors thank the Principal, Head of Department of ECE and
Management of Thiagarajar College of Engineering, Madurai
and Amrita Institute of Technology, Coimbatore for
providing excellent computing facilities and encouragement.
The authours are grateful to Dr Asokan, Neurologist,
Ramakrishna hospital Coimbatore and Dr B Rajalakshmi,
Diabetologist, Government Hospital Dindigul for providing
the EEG signals.
REFERENCES
1. D N Dutt and B K Anantaraman. Artefact Detection in EEG Signals using
Phase-space Based Joint PDF Technique. Proceedings of NCBME, MIT Manipal,
April 1998, pp 11.53-11.55.
2. A C Gayton. Text Book of Medical Physiology. Prism Books Pvt Ltd,
Bangalore, 9th Edition, 1996.
3. S Park, et al. TDAT Domain Analysis Tool for EEG Analysis. IEEE
Transactions on Biomedical Engineering, vol 37, no 8, August 1990, pp 803-811.
4. R Harikumar and B S Narayanan. Fuzzy Techniques for Classification of
Epilepsy Risk Level from EEG Signals. Proceedings of IEEE Tencon 2003,
Bangalore, India, October 14-17, 2003, pp 209-213.
5. M Russo. FuGeNeSys A Fuzzy Genetic Neural System for Fuzzy
Modelling. IEEE Transactions on Fuzzy Systems, vol 6, no 3, August 1998,
pp 373-387.
6. K P Adlassing. Fuzzy Set Theory in Medical Diagnosis. IEEE Transactions
on Systems Man Cybernetics, vol 16, March 1986, pp 260-265.
7. A A Dingle, et al. A Multistage System to Detect Epileptic form Activity in
the EEG. IEEE Transactions on Biomedical Engineering, vol 40, no 12, December
1993, pp 1260-1268.
8. M Van Gils, et al. Signal Processing in Prolonged EEG Recordings during
Intensive Care. IEEE EMB Magazine, vol 16, no 6, November/December 1997,
pp 56-63.
9. H Watanabe, et al. Application of a Fuzzy Discrimination Analysis for
Diagnosis of Valvular Heart Disease. IEEE Transactions on Fuzzy Systems, vol 2,
no 4, November 1994, pp 267-276.
10. D L Hudson. Fuzzy Logic in Medical Expert Systems. IEEE EMB
Magazine, vol 13, no 6, November/December 1994, pp 693-698.
11. L Duckstein, et al. Fuzzy Classification of Patients State with Applications
to Electro Diagnosis of Peripheral Neuropathy. IEEE Transactions on
Biomedical Engineering, vol 42, no 8, August 1995, pp 786-791.
12. R Neelaveni and G Gurusamy. EEG Signal Analysis Methods A
Review. Proceedings of National System Conference, 1998, pp 355-361.
13. P A Bharathi and V Beena. Analysis of Statistical Tests and Fuzzy
Techniques in Diagnosis of Epilepsy from EEG Signals. Proceedings of ICSCI
2004, Hyderabad, February 12-15, 2004, pp 131-137.
14. R Harikumar, et al. Epilepsy Detection from EEG Signals A Statistical
Approach. Proceedings of ICECON 2003, NIT Trichy, December 5-6, 2003.
IE (I) JournalID
22. Haoqu and Jean Gotman. A Patient Specific Algorithm for Detection
Onset in Long-term EEG Monitoring-possible use as Warning Device. IEEE
Transactions on Biomedical Engineering, vol 44, no 2, February 1997, pp 115-122.
24. R Harikumar and S Selvan. Fuzzy Based Diagnosis of Epilepsy from EEG
Signals. Proceedings of the NCSSS 2002, PSG Tech Coimbatore, March 2002.
Statement about ownership and other particulars about the Journal of The Institution of Engineers (India)
(to be published on the first issue every year after the last day of February)
FORM IV
(See Rule 8 of the Registration of Newspapers)
(Central Rules 1956)
1.
Place of publication
2.
Monthly
3.
Printer's name
Nationality
Address
4.
Editor's name
Nationality
Address
5.
I, Cdr A K Poothia, IN (Retd), hereby declare that the particulars given above are true to the best of my knowledge
and belief.
17