Professional Documents
Culture Documents
2
OVERVIEW
3
1. Introduction
2. Literature Survey
3. Objective
4. Back propagation
5. Introduction to CNN
6. Methodology
7. Reference
INTRODUCTION
4
Source : Internet
ECG WAVEFORM
7
Source : Internet
LITERATURE SURVEY
8
The main objective of this project is to analyze ECG and classify different
types of arrhythmia with efficient algorithm using CNN and RNN
Backpropagation Algorithm
In order to have some numbers to work with, here are the initial weights, the biases, and training
inputs/outputs:
The goal of backpropagation is to optimize the weights so that the neural network can learn how to correctly
map arbitrary inputs to output
The Forward Pass
We want to know how much change in w5 effects the total error
First, how much does the total error change with respect to the output
The partial derivative of the logistic function is the output multiplied by 1 minus the
output:
Finally how much does the total net output change with respect to w5.
21
Finally how much does the total net output change with respect to
w5.
Putting it alltogether
22
To decrease the error, we then subtract this value from the current
weight (optionally multiplied by some learning rate, eta, which we’ll set
to 0.5):
Hidden Layer
Consider a Sample 5x5 matrix whose pixel values are 0 and 1.The
patterns are detected by sliding the filter matrix over the image and
computing the dot product.
1 1 1 0 0 4 3 4
1 0 1
0 1 1 1 0 2 4 3
0 1 0
0 0 1 1 1
1 0 1 2 3 4
0 0 1 1 0
0 1 1 0 0 Filter Convolved
Image pixels features
28
1 1 1 0 0
0 1 1 1 0 1 0 1 4
0 0 1 1 1 0 1 0
0 0 1 1 0 1 0 1
0 1 1 0 0
1 1 1 0 0 1 0 1 4 3
0 1 1 1 0 0 1 0
0 0 1 1 1
1 0 1
0 0 1 1 0
0 1 1 0 0
29
1 1 1 0 0
1 0 1 4 3 4
0 1 1 1 0
0 0 1 1 1 0 1 0
0 0 1 1 0 1 0 1
0 1 1 0 0
1 1 1 0 0 1 0 1 4 3 4
0 1 1 1 0 0 1 0 2
0 0 1 1 1
1 0 1
0 0 1 1 0
0 1 1 0 0
ReLU LAYER
30
Once the features are extracted the next step is to move them to the ReLU
Layer.
This layer sets zero all the pixel values which are lesser than zero and
preserves all the pixel values which are greater than zero.
Pooling layer
31
Max(3,4,1,2)
BIDIRECTIONAL RECURRENT NEURAL NETWORK
Bidirectional Recurrent Neural Networks (BRNN) connect two hidden layers
of opposite directions to the same output. With this form of generative deep
learning, the output layer can get information from past (backwards) and
future (forward) states simultaneously
For ex:-
He said “Teddy Roosevalt is a president”
He said “Teddy Bear is on sale”
METHODOLOGY
34
35
GRU is proposed lately that can need fewer training time and a smaller
amount of number of iterations.
We utilized batch normalization to adapt and scale the input from the
attention layer, which defines a vector of significance weights, to the
dense layer.
The subjects are at random split into 10 equal parts to put up an 8-1-1
train, validation and test arrangement of machine learning.
Some models are constructed based on the execution on the validation
set. The models are further evaluated by calculating its F1 score on the
test set. Further by use this model for evaluating on single lead data.
37
To do that, for a given lead we just given zero to everyone the ECG values of the other 11
leads and developed the model using the same network architecture and similarly the models
are further evaluated by calculating its F1 score.
Evaluation Criteria of our model
The recall rate, precision and F1 score are implemented for determining the classification
performances.
Precision = T P/ (T P + F P)
Recall = T P /(T P + F N)
F1 = 2 × (Precision × Recall) /(Precision + Recall)
Where, TP - True Positive
FP - False Positive
FN - False Negative
REFRENCE
38
1. Chen, Tsai-Min, et al. "Detection and Classification of Cardiac Arrhythmias by a Challenge-Best Deep Learning
Neural Network Model." Iscience 23.3 (2020): 100886
2. Mathunjwa, Bhekumuzi M., et al. "ECG arrhythmia classification by using a recurrence plot and convolutional
neural network." Biomedical Signal Processing and Control 64 (2020): 102262.
3. Wang, Ruxin, Jianping Fan, and Ye Li. "Deep Multi-Scale Fusion Neural Network for Multi-Class Arrhythmia
Detection." IEEE journal of biomedical and health informatics 24.9 (2020): 2461-2472.
4. Wang, Ruxin, Jianping Fan, and Ye Li. "Deep Multi-Scale Fusion Neural Network for Multi-Class Arrhythmia
Detection." IEEE journal of biomedical and health informatics 24.9 (2020): 2461-2472
5. Abdalla, Fakheraldin YO, et al. "ECG arrhythmia classification using artificial intelligence and nonlinear and
nonstationary decomposition." Signal, Image and Video Processing 13.7 (2019): 1283-1291
6. Hannun, Awni Y., et al. "Cardiologist-level arrhythmia detection and classification in ambulatory
electrocardiograms using a deep neural network." Nature medicine 25.1 (2019): 65
7. Rajkumar, A., M. Ganesan, and R. Lavanya. "Arrhythmia classification on ECG using Deep Learning." 2019 5th
International Conference on Advanced Computing & Communication Systems (ICACCS). IEEE, 2019
8. Mustaqeem, Anam, Syed Muhammad Anwar, and Muahammad Majid. "Multiclass classification of cardiac
arrhythmia using improved feature selection and SVM invariants." Computational and mathematical methods in
medicine 2018 (2018).
9. Kachuee, Mohammad, Shayan Fazeli, and Majid Sarrafzadeh. "Ecg heartbeat classification: A deep transferable
representation." 2018 IEEE International Conference on Healthcare Informatics (ICHI). IEEE, 2018
THANK YOU
for spending valuable time
39