Professional Documents
Culture Documents
ECG classification
Under the guidance of
Prof. P. Bhattacharya
Nishant Chandra
Mrigen Negi
Meru A Patil
Layout
History of Neural networks in medical
Need for accurate processing
What is ECG?
Learning by experience.
What is Electrocardiogram
(ECG) ?
Anterior
RR
ECG and diseases
Some of the diseases diagnosed by
ECG are:
Myocardial Ischemia/Infarction.
Arrhythmias.
Hypertrophy and enlargement of heart.
Conduction Blocks.
Preexcitation Syndromes.
Other cardiac disorders.
Did you know !!
Inheart Transplant Acute heart
rejection is more likely to happen
when the heart donor was female
regardless of recipient sex.
Changes in ECG:
T wave peaking
Symmetric T wave inversion
ST segment elevation
Myocardial Ischemia cont..
CC = 100×(TP+TN)/(TN+TP+FN+FP)]
Sensitivity (SE) and Specificity (SP) Cont…
Approach
Variableattributes considered to
affect the training and generalization
of the ANNs were identified as
follows:
– Number of nodes in the hidden layer
– Feature Selection method employed
– Number of files in training set
– Size of input feature vector
– Number of epochs
Case Study
Feature Extraction:
Fourier Transform
Principal component analysis (PCA)
– widely used in signal processing,
statistics, and neural computing.
– basic goal is to reduce the dimension of
the data.
Linear Prediction Coding (LPC)
Fourier Transform
QRS complex is extracted by
applying a window of some time
duration (say 250 ms).
Each QRS complex is Fourier
transformed and then the power
spectrum is calculated.
The components generated along
with the temporal vectors give the
feature vector.
QRS spectra of a normal beat
QRS spectra of a Arrhythmia beat
PCA
Step 1: Get some data
Step 2: Subtract the mean
Step 3: Calculate the covariance
matrix
Step 4: Calculate the eigenvectors and
eigenvalues of the covariance matrix
Step 5: Choosing components and
forming a feature vector
Step 6: Deriving the new data set
Linear Prediction Coding (LPC)
The basic idea of this technique is that
sampled QRS segment can be
approximated as a linear combination of
the past QRS samples.
a is the i th linear prediction coefficient,
and p is the order of the predictor.
LPC coefficients can be extracted using
various methods viz Burg’s Method.
Training the NN
Number of neurons in the input layer is
determined by the number of elements in
the input feature vector.
The output layer is determined by the
number of classes desired.
The number of neurons in the hidden layer
varies according to the specific recognition
task and is determined by the complexity
and amount of training data available.
Neural network classifier
architecture
Performance Analysis
The performance of the neural
classifiers is evaluated by computing
the percentages of:
– sensitivity (SE),
– specificity (SP) and
– correct classification (CC)
Results
Neural Input Layer Hidden Layer
Classifier
1 12 5
2 10 3
3 5 2
Results Cont.
Neural Correct Sensitivity Specificity
Classifier classification % %
(Avrg.) %
1 94.83 86.63 94.42