You are on page 1of 4

2014 IEEE International Conference on Advanced Communication Control and Computing Technologies (ICACCCT)

Use of Discrete Sine Transform in EEG signal


classification for early Autism detection
' 2
Priyanka Ganesh , R Menaka
'
Electronics and Communication,SSN College of Engineering,Kalavakkam, India
2
School of Electrical and Electronics, VIT University

Abstract-In this work, a method called Discrete Sine Transform require any invasive procedures. We will therefore focus on
is used in order to classify EEG signals of the brain and are used EEG inputs from now on. The purpose of the recorder is to
for the purpose of early autism detection. Autism is a complex basically measure, amplify and alter the EEG signal, before
behavioral disorder . The EEG signals are obtained by using
converting it to a digital form and sending it on to the
electrodes that are attached to the brain. Each electrode
measures the signals in different regions of the brain as the preprocessor module [2]. This functional connection can be
subject responds to different stimuli. The signals are processed used to explain one's ability to interact on a social level and
by applying Discrete Sine Transform (DST) and then it is passed for performance of simple tasks that people perform on an
as an input to an artificial neural network. DST is used as it everyday basis. Also, the EEG always results from a large
greatly simplifies the process and reduces the complexity. The number of individually acting neurons, each interacting with
computing tool of a neural network is used in order to objectively
its neighboring neurons as well as with remote neurons whose
estimate whether a subject is suffering from autism. The network
electric potentials are not included in the measurement. It is
is trained with a particular dataset and upon applying a testing
therefore questionable whether this EEG time series,
input the output was achieved. This study looked at EEG signals,
an indirect measure of brain connectivity, and identified patterns
especially those of short duration, can carry enough
that distinguished subjects at an increased risk for autism. information to reveal dynamical properties of the underlying
system of the brain [3]. Graph analysis of some signals such
Keywords-Feature Extraction; artificial neural networks; discrete as magnetoencephalography (MEG) and EEG has revealed
sine transform; EEG. major fundamental insights into the large-scale functional
organization of the brain in health and disease[4].The recorded
EEG signals gives a continuous graphic exhibition of the
I. INTRODUCTION
spatial distribution of the varying voltage fields over time
Autism is said to be an extremely complex behavioral disorder with various regions of the brain[5].This technological
of drastically distorted development of a human being. Autism challenge could prove to be an invaluable step toward
spectrum disorders (ASD) are associated with severe understanding fundamental and pathological brain
impairments in social functioning, communicative and processes[6]. The capability of the mathematical microscope
cognitive abilities. Autism is considered a severe form of of neural networks to analyze different scales of neural
autism spectrum disorder (ASD), which includes milder forms rhythms is shown to be a powerful and handy tool for
such as Asperger's syndrome. Currently, there are no genetic investigating small scale oscillations of the brain signals.
or neurological markers for the majority of individuals with Neural networks work well when there is pattern overlap of
autism. Autism is characterized by both negative and positive input-output pattern pairs and it creates a basis for the shared
symptoms. Negative symptoms, which pertain to impairments use of knowledge. For example, when there exists two inputs
in specific areas of functioning in comparison to typically that are similar to one another, the neural network will react to
developing individuals, occur mainly in the social and them in an almost similar fashion [7]. Given the heterogeneity
communication spheres alone. Positive symptoms refer to the of most neural disorders , it is likely that methods of this type
presence of special behaviors that are not evident in typically will be required to design intelligent devices for treating other
developing individuals, and include the subject's engagement neural disorders as well such as autism. In early attempts to
in repetitive movements and intense interest in the features of show a relationship between the EEG and behaviour , analog
objects[1].The neural connections in the brain can be used to frequency analyzers were used to examine the EEG data. This
explain the abnormalities of one's behavior and it can also be approach is based on the interpretation that the EEG spectrum
used to help explain some of the reasons for the occurrence of contains some characteristic waveforms that fall primarily
autism. The main cause of autism is still unclear, but it is within four frequency bands - d «4 Hz), h (4-8 Hz), (8-13
believed to occur as a result of disturbances in a distributed Hz), and b (13-30 Hz)[8].AIl the necessary data that leads to
circuit of cerebellar, limbic, and cortical systems, symptoms, any behavioural disorder is said to lie within this spectrum.
which refer to impairments in specific areas The basic The Feature dimensionality reduction methods have a great
structure of the brain is highly complicated. A good way to significance for making better use of EEG data, since EEG
measure and track accurately the activity in the brain is to use features are usually high-dimensional and contain a lot of
the electroencephalography i.e. EEG signals. EEG recorders, noise [9]. The "diagnosis" of autism, which really is a
are typically fast, relatively inexpensive, and do normally not

ISBN No. 978-1-4799-3914-5/14/$31.00 ©2014 IEEE 1507


2014 IEEE International Conference on Advanced Communication Control and Computing Technologies (ICACCCT)

classification system, is far from ideal, and the misdiagnosis The following Fig 3 shows the signals of Set A till E.
of autism is complicating therapeutic endeavors as well as the Amplitudes of surface EEG recordings are typically in the
search for primary causes of autism [lO].Hence in this paper, order of some mV. For intracranial EEG recordings
the main aim is to use the neural networks tool in order to amplitudes range around some 100 mV.
attempt at classifying the EEG signals and manipulate them in
order to objectively detect the presence or absence of autism.
���iI�WI�\oIi�����#I���\'J,�
II. METHODOLOGY �.�y�����1 ����I'i»lI�I�����I���1
The methodology employed in this paper in order to
successfully classify the EEG signals that are used is as shown
���Jv�
below in Fig 1.

DATA
PREPROCESSING Fig.3. Exemplary EEG time series from each of the five sets.
ACQUISITION
From top to bottom: set A to set E

ARTIFICIAL B. Pre-processing
NEURALNETWORKS
Each set has 100 different signals that are each made up of
4097 samples. One set is chosen for the healthy signal from a
Fig. I. Block diagram of the methodology
normal person and is denoted as Set A. Similarly another set is
chosen for the abnormal signals of a patient and is denoted as
A. Data Acquisition set B. The data set of 4097 samples is divided into a 207x19
Five set labeled as A-E each containing 100 EEG segments of matrix. By doing this the data is divided into signals coming
23.6-sec duration, were composed for the study. These from 19 different channels. Thus now we have a 207x19
segments were selected and cut out from continuous matrix that can be worked with. Next the data that is obtained
multichannel EEG recordings after visual inspection for are passed through a filter. This filter has a cut off frequency
artifacts, e.g., due to muscle activity or eye movements. Sets of 40 hz as the characteristics waveforms of the EEG signals
A and B consisted of segments taken from surface EEG mainly fall within the 8-30Hz band. Taking the values of EEG
recordings that were carried out on five healthy volunteers signals from a channel I of a normal set A of signals:
using a standardized electrode placement scheme .Here a set
of 19 electrodes were placed on different regions of the brain G= [12 22 35 45 69 74 79 78 66 43] (1)
and EEG signals were recorded. Volunteers were relaxed in an
awake state with eyes open A and eyes closed B respectively. Upon filtering it with a low pass filter of cut off frequency
Sets C, 0, and E originated from our EEG archive of 40hz, we obtain,
presurgical diagnosis. For the present study EEGs from five
patients were selected. Segments in set D were recorded from H= [13.7297062473719, 25.3582061346650 , ... ] (2)
within the epileptogenic zone, and those in set C from the
hippocampal formation of the opposite hemisphere of the
C. Signal Processing
brain. All EEG signals were recorded with the same 128-
Next the technique of Discrete Sine Transform is applied on
channel amplifier system, using average common reference
them. The discrete sine transform (DST) is a Fourier-related
omitting electrodes containing pathological activity C, 0, and
transform similar to the discrete Fourier transform (DFT), but
E .After 12 bit analog-to-digital conversion, the data were
using a purely real matrix. It is equivalent to the imaginary
written continuously onto a disk of a data acquisition
parts of a DFT of roughly twice the length, operating on real
computer system at a sampling rate of 173.61 Hz. Band-pass
data with odd symmetry (since the Fourier transform of a real
filter settings were 0.53-40 Hz -12 dB/. The Fig 2 below
and odd function is imaginary and odd), where in some
shows the standard electrode placement that is employed to
variants the input and/or output data are shifted by half a
measure EEG signals.
sample. DSTs are widely employed in solving partial
differential equations by spectral methods, where the different
0 0
variants of the DST correspond to slightly different oddleven
8 5
? boundary conditions at the two ends of the array. Like any
is
Y Fourier-related transform, discrete sine transforms (DSTs)
8

0
express a function or a signal in terms of a sum
(; of sinusoids with different frequencies and amplitudes. Like
Fig.2. Electrode Placement on the brain
the discrete Fourier Transform (OFT), a DST operates on a
function at a finite number of discrete data points. The

1508
2014 IEEE International Conference on Advanced Communication Control and Computing Technologies (ICACCCT)

obvious distinction between a DST and a DFf is that the


former uses only sine functions, while the latter uses both ·:11 I
00
cosines and sines (in the form of complex exponentials).
However, this visible difference is merely a consequence of a
deeper distinction: a DST implies different boundary
conditions than the DFT or other related transforms. The main
reason that DST is chosen instead of the more common
Discrete Cosine Transform(DCT) is that the dst will give the
real part of the value alone whereas the dct will give rise to an :1 1 1
'. " " .

imaginary part as well. Thus we can say that the use of dst -

greatly reduces the complexity of the process as well and its FigA.Output waveform of the thresholded data.

usage is more suited to EEG signal processing. Formally, the


N
discrete sine transform is a linear invertible function-F: R - E. Artificial Neural Networks
N
> R (where R denotes the set of real numbers)or equivalently
The human brain is essentially a black box. It is said to be one
an N x N square matrix There are several variants of the DST
of the most intricate designs known to man. The processes that
with slightly modified definitions. The N real numbers XQ,
occur in the brain are hidden and are extremely complex. In
...., XN.l are transformed into the N real numbers XQ, , XN.
•••

order to unveil and make known some of these secrets about


I according to one of the formulas:
the actual working of the brain artificial neural networks were
designed. Artificial neural networks are computing systems
Xk=�::Xnsin[(1C/(N+ 1))(n+ 1)(k+ 1)] (3) that are made up of multiple, highly interconnected processing
elements (called nodes or artificial neurons) that abstractly try
to emulate the structure and operation of the biological
Taking the signal values of one channel I that we have used in
nervous system that is present in every human being.A
the previous example, H, once the process of dst is applied to
technique called Learning in ANNs is accomplished through
them, will yield the following values.
special training algorithms developed based on learning rules
that are thought to accurately mimic the learning mechanisms
J= [1340.07628105259 , 333.704608763707, ... ] (4)
that are seen in biological systems. There are various types
and architectures of neural networks varying fundamentally in
D. Thresholding the way they learn. In this paper, neural network relevant to
The average of all the 19 individual columns were calculated the application being considered (i.e., classification of EEG
separately. Next the matrix was thresholded by converting all data) are used. A simple two-layer ANN consists only of an
the values of a channel that are greater than its average into 0 input layer containing the input variables to the problem, this
and converting all the values less than the average into 1. In case the EEG signals, and output layer containing the solution
this way a matrix consisting purely of Is and Os was of the problem structure of a fully connected three-layer
constructed. Three channels which had nearly equal average network. The determination of appropriate number of hidden
values were chosen and then the first 30 samples of each layers is one of the most important tasks in neural network
column were selected. Now a new matrix of dimensions 30X3 design. A network with too few hidden nodes would not be
is obtained. This matrix will be the input matrix of the efficient at differentiating between complex patterns that may
artificial neural network. Let us take channel I of set A as our arise, leading to only a linear estimate of the actual trend. In
channel after performing dst. contrast, if the network has too many hidden nodes it may lead
to poor generalization for untrained data. With increasing
J= [1340.07628105259 ,333.704608763707, ... ] (5) number of hidden layers, training becomes excessively time­
consuming and arduous. An appropriate topology may still fail
The value of the average of J = 997.5285 to give a better model, unless trained by a suitable and
Now all values above 997.5285 in the array are made 0, and efficient training algorithm. A good training algorithm will
all the values less than that of 997.5285 are made 1.The output shorten the training time, while achieving a better accuracy.
waveform of the thresholded data is obtained as shown below The back propagation algorithm, which is based on searching
in Fig 4 below. an error surface using gradient descent for points with
minimum error, is relatively easy to implement Optimization
Thus K=[O 1 1 1 1 1 0 0 0 0] (6) methods such as second-order methods (conjugate gradient,
quasi-Newton, Levenberg-Marquardt (L-M)) have also
been used for ANN training. The Levenberg-Marquardt
algorithm combines the best features of the Gauss-Newton
technique and the steepest-descent algorithm, but avoids many
of their limitations. In particular, it generally does not suffer
from the problem of slow convergence. Upon applying the
neural network with an input matrix of dimensions 30x3 that

1509
2014 IEEE International Conference on Advanced Communication Control and Computing Technologies (ICACCCT)

was obtained as a result of thresholding, and training it to a was reached. Thus we can infer from the above experimental
particular target, we have obtained the simulated network. The evidence that the use of artificial neural networks to work with
target was set such that 1 bits were used for the normal signals EEG signals of autism affected patients can help in
and 0 bits were used for the abnormal signals in order to determining the presence or absence of the disorder
classify them. The output is verified by applying various test objectively.
inputs from external Sets C and D and the network was
validated by obtaining the same performance curve almost REFERENCES
every time. In this way the accuracy of the network was [ I] Enhanced Pitch Sensitivity in Individuals with Autism: A Signal
Detection Analysis Anna Bonnel l ,2, Laurent Mottron1,2, Isabelle
checked and noted down as shown in the Fig 5 below.
Peretz I,
[2] A Neural Network Based Brain (Computer Interface for
Best Training Performance is NaN at epoch 4
Classification of Movement Related EEG , Pontus Forslund
--Train

[3] Ralph G. Andrzejak,I,2, Klaus Lehnertz, l ,t Florian Mormann,I,2


--------. Goal
Christoph Rieke,I,2 Peter David,2 and Christian E.
Elger l,lndications of nonlinear deterministic and finite­
dimensional structures in time series of brain electrical activity:
Dependence on recording region and brain state.
[4] Brain functional networks in syndromic an dnon-syndromic
autism: a graph theoretical study of EEG connectivity Jurriaan M
Peters,Maxime Taguet l , Clemente Vega,
10.8 [5] Abdulhamit Subasia, Ergun Erc.elebi ,Classification of EEG
signals using neural network and logistic regression.
Fig .5. Output waveform of the trained network. [6] Paul Alivisatos,1 Miyoung Chun,2 George M. Church,3 Ralph J.
Greenspan,4 Michael L. Roukes,5 and Rafael Yuste, The Brain
Activity Map Project and the Challenge of Functional
III. RESULTS Connectomics.
[7] Neural Network Abnormalities in Autism Using Adjacency
Diagnosing autism is a difficult task requmng the keen Matrices,Andrew Choe.
observation of the patient, an EEG, and gathering of additional [8] Abdulhamit Subasi, M. Ismail Gursoy,EEG signal classification
using PCA, ICA, LOA and support vector machines.
clinical information based on performance in behavioral social
[9] Li-Chen Shi, Ruo-Nan Duan and Bao-Liang Lu_ Senior Member,
and communicative tasks as well. An artificial neural network IEEE, Robust Principal Component Analysis Algorithm for EEG­
that classifies subjects as having or not having autism Based Vigilance Estimation.
provides a valuable diagnostic decision support tool for [to] Indu Joshi, Maire Percy, and Ivan Brown, Advances in
Understanding Causes of Autism and Effective Interventions.
neurologists treating potential autism, since different
disorders in the autism spectrum require a different set of
measures to combat them effectively. In this paper,
classification of EEG signals was examined. Delta, theta,
alpha and beta subfrequencies of the EEG signals were
extracted by using DST. The DST coefficients of EEG signals
were processed and used as an input to LR and MLPNN that
could be used to detect autism. The neural network that was
formed was trained to detect the presence or absence of
autism. Next upon applying the input vectors of data for both
normal and abnormal values the output detected by the neural
network has been tabulated and compared with the actual
result in the Table I as shown below.

TABLE I
TABULATION OF RESULTS OF THE NEURAL NETWORK ANALYSIS
S.No Input Data Classified Actual
Output Result
[1,1,1,1,1,1,1,1,1,11 Normal Normal
l.
[0,0,0,0,0,1,1,1,1, II Normal Normal
2.
[1,1,1,1,1,1,0,1,1,11 Normal Normal
3.

[1,1,0,1,1,1,1,1,1,11 Abnormal Abnormal


4.

5. [1,1,1,1,1,0,1,1,1,11 Abnormal Normal

The above tabulated results were shown to a neurologist and a


conclusion that about 80 percent of the results were accurate

1510

You might also like