1
Supervised by: Dr. Md. Kafiul Islam,
Assistant Professor, EEE, IUB
OUTLINE
 Introduction
 Motivation
 Electrocardiogram (ECG)
 Support vector machine (SVM)
 How SVM works (Linear)
 How SVM works (non-linear)
 Artificial Neural Network (ANN)
 Materials
 Method
 Pre-processing
 Morphological features
 Result and discussion (SVM)
 Comparison with related work
 Result and discussion (ANN)
 Conclusion
 Limitation
 Future work
2
INTRODUCTION
ECG is a simple test
to visualize the
electrical activity of
the heart over a
period of time.
ECG classification is
done by machine
learning algorithm.
The machine
learning algorithm
are SVM and ANN
3
MOTIVATION
Number 1 cause
of death is
cardio vascular
diseases
Gain knowledge
and work with
machine
learning
Create effective
and easier
classifier
4
ELECTROCARDIOGRAM (ECG)
 Another name EKG.
 Measured using sensors (electrodes).
 Heart rate, heart rhythm, indication of
heart diseases or heart attack etc.
 3 main components-
1. P wave
2. QRS complex
3. T wave
5
ELECTROCARDIOGRAM (ECG)
There are mainly 3 types of ECG
1.Resting
ECG
2.Stress or
exercise
ECG
3.Ambulatory
ECG
6
SUPPORT VECTOR MACHINE (SVM)
 Supervised machine learning algorithm.
 Commonly use in classification and regression analysis.
Other applications -
 Image classification,
 Text classification,
 Biological science etc.
7
HOW SVM WORKS (LINEAR)
Original dataset Getting optimal
hyperplane 8
HOW SVM WORKS (NON-LINEAR)
Original dataset Data with separator
9
HOW SVM WORKS (NON-LINEAR)
Transformed data
10
ARTIFICIAL NEURAL NETWORK (ANN)
 Important subset of machine learning.
 It contains input, output and hidden layer.
11
MATERIALS
 100 subjects (50 normal and 50 arrhythmia)
 Downloaded from physionet website
 4 different types of database-
1. Fantasia Database
2. MIT-BIH Normal Sinus Rhythm Database
3. MIT-BIH Arrhythmia Database
4. Sudden Cardiac Death Holter Database
12
METHOD
13
PRE-PROCESSING
power line
interference
remover
• Notch filter
• 50 HZ and
harmonics
• 2nd order
Low pass filter
• 80 Hz
• 128th order
14
MORPHOLOGICAL FEATURES
Maximum heart
rate
Average heart
rate
Minimum heart
rate
Total number of
QRS
Number of
irregular beats
Percentage of
irregular beats
Number of
episodes with
consecutive
beats
Average PR
interval
Average QRS
interval
Average QTc
interval
Number of P
absence
Number of
consecutive P
absence
15
RESULT AND DISCUSSION (SVM)
Dataset
divided into 2
set
Training
set (80%)
Test set
(20%)
Accuracy
is 87%
16
COMPARISON WITH RELATED WORK
Related Project Database Method Accuracy
ECG feature extraction
and classification using
wavelet transform and
support vector machines
MIT-BIH
arrhythmia
2 different feature extraction
methods-The wavelet
transform and
autoregressive modeling
(AR)
99.68%
Domain adaptation
methods for ECG
classification
MIT-BIH
arrhythmia
(divided in 2 set)
Two kinds of features:
1) ECG morphology
features and 2) ECG
wavelet features with
QRS width.
97% and
91%
ECG beat classification
method for ECG printout
with Principle components
analysis and support
vector machines
MIT-BIH
arrhythmia
Discrete wavelet transform
(DWT) and principle
components analysis (PCA)
99.6367%
with LIBSVM
This project
Fantasia, MIT-
BIH normal
sinus rhythm,
MIT-BIH
Morphology Feature
extraction method (12
features) 87%
17
RESULT AND DISCUSSION (ANN)
 Dataset divided into 3 set-
 Training set (70%)
 Validation set (15%)
 Test set (15%)
 Accuracy is 93% (number of
neurons 24)
18
RESULT AND DISCUSSION (ANN)
 Performance changes with the number of hidden neurons
 For 10 hidden
neurons
19
RESULT AND DISCUSSION (ANN)
 For 22 hidden neurons
20
RESULT AND DISCUSSION (ANN)
 For 30 hidden neurons
21
CONCLUSION
Pre-processing and feature
extraction done successfully
Successfully train SVM and
ANN.
The accuracy is good but nor
promising
22
LIMITATION
Can not work with raw data.
Choosing SVM parameter.
Problem with big data.
New area.
23
FUTURE WORK
Aim for more accuracy
More work with these features.
Finding most dominate features to work
with.
Work with advance neural network
(DNN and CNN)
24
Thank you
25

More Related Content

PDF
Dimensionality Reduction
PPTX
MANAGEMENT- DEFINITION, OBJECTIVES,CHARACTERISTICS AND FUNCTION
PDF
Lec3: Pre-Processing Medical Images
PPTX
Deep learning.pptx
PPT
Science and technology a
PPTX
Pattern Recognition
PPTX
Experimental design techniques
PPT
Smart materials.. smart ppt
Dimensionality Reduction
MANAGEMENT- DEFINITION, OBJECTIVES,CHARACTERISTICS AND FUNCTION
Lec3: Pre-Processing Medical Images
Deep learning.pptx
Science and technology a
Pattern Recognition
Experimental design techniques
Smart materials.. smart ppt

What's hot (20)

PPTX
Detection of Arrhythmia
PDF
Lecture 1: What is Machine Learning?
PPTX
Pattern recognition and Machine Learning.
PPT
Artificial intelligence and Neural Network
PPTX
PPT on BRAIN TUMOR detection in MRI images based on IMAGE SEGMENTATION
PPT
source1
PPT
Machine Learning
PDF
ML DL AI DS BD - An Introduction
PPT
Machine learning
PPT
Machine learning
PDF
Introduction to Machine Learning
PPTX
Machine Learning ppt
PPTX
Machine learning
PPTX
machine learning
PPTX
Fuzzy Clustering(C-means, K-means)
PDF
Introduction to Machine Learning
PPTX
PPTX
Biological Neural Network.pptx
PPTX
Types of Machine Learning
PPTX
ppt on machine learning to deep learning (1).pptx
Detection of Arrhythmia
Lecture 1: What is Machine Learning?
Pattern recognition and Machine Learning.
Artificial intelligence and Neural Network
PPT on BRAIN TUMOR detection in MRI images based on IMAGE SEGMENTATION
source1
Machine Learning
ML DL AI DS BD - An Introduction
Machine learning
Machine learning
Introduction to Machine Learning
Machine Learning ppt
Machine learning
machine learning
Fuzzy Clustering(C-means, K-means)
Introduction to Machine Learning
Biological Neural Network.pptx
Types of Machine Learning
ppt on machine learning to deep learning (1).pptx
Ad

Similar to ECG Classification using SVM (20)

PDF
PERFORMANCE EVALUATION OF ARTIFICIAL NEURAL NETWORKS FOR CARDIAC ARRHYTHMIA C...
PDF
Rule Based Identification of Cardiac Arrhythmias from Enhanced ECG Signals Us...
PDF
Analysis of Human Electrocardiogram for Biometric Recognition Using Analytic ...
PDF
Diagnostic Ecg
PPTX
Project
PDF
Automatic ECG signal denoising and arrhythmia classification using deep learning
PPT
Cardio Lab Equipment
PDF
TENSYMP presentation
PDF
Classification of ecg signal using artificial neural network
PDF
J041215358
PDF
IRJET- Arrhythmia Detection using One Dimensional Convolutional Neural Network
PDF
AR-based Method for ECG Classification and Patient Recognition
PDF
Jq3516631668
PDF
DOCX
Classification and Detection of ECG-signals using Artificial Neural Networks
PDF
1804.06812
PDF
Less computational approach to detect QRS complexes in ECG rhythms
PDF
An Electrocardiograph based Arrythmia Detection System
PPTX
biomedical signal processing and its analysis
PDF
Heart rate detection using hilbert transform
PERFORMANCE EVALUATION OF ARTIFICIAL NEURAL NETWORKS FOR CARDIAC ARRHYTHMIA C...
Rule Based Identification of Cardiac Arrhythmias from Enhanced ECG Signals Us...
Analysis of Human Electrocardiogram for Biometric Recognition Using Analytic ...
Diagnostic Ecg
Project
Automatic ECG signal denoising and arrhythmia classification using deep learning
Cardio Lab Equipment
TENSYMP presentation
Classification of ecg signal using artificial neural network
J041215358
IRJET- Arrhythmia Detection using One Dimensional Convolutional Neural Network
AR-based Method for ECG Classification and Patient Recognition
Jq3516631668
Classification and Detection of ECG-signals using Artificial Neural Networks
1804.06812
Less computational approach to detect QRS complexes in ECG rhythms
An Electrocardiograph based Arrythmia Detection System
biomedical signal processing and its analysis
Heart rate detection using hilbert transform
Ad

More from Md Kafiul Islam (20)

PPTX
EEE400 1st Trimester Progress Presentation on Sleep Disorder Classification
PPTX
EEE400 1st Trimester Progress Presentation on EEG based Neuro-Marketing
PDF
Invited talk at IBRO UIU EEG Signal Processing
PPTX
Study of smart phone sensor based fall detection
PPTX
Presentation slides on Child Tracking System
PPTX
Poster eog controlled wheelchair new
PPTX
Icasert 2019 pid_230_revised
PPTX
Digitization of Infusion Pump
PPTX
Development of a low cost pc-based single-channel eeg monitoring system
PPTX
EMG classification using ANN
PPTX
Real-time Vein Imaging
PPTX
ICDPR@SG 2020 PID_A304_presentation
PPTX
EMG controlled Prosthetic Arm
PPTX
Motion Artifact in Ambulatory EEG
PPTX
Exploring smartphone sensors
PPT
Presentation on Blood Pressure Monitoring as part of Final Year Project (Part...
PPTX
Senior Project Student's Presentation on Design of EMG Signal Recording System
PPTX
Senior Project Student's Presentation on Body Temperature Monitoring
PPTX
Senior Project Students' Presentation on ECG Monitoring
PDF
EEG guest lecture_iub_eee541
EEE400 1st Trimester Progress Presentation on Sleep Disorder Classification
EEE400 1st Trimester Progress Presentation on EEG based Neuro-Marketing
Invited talk at IBRO UIU EEG Signal Processing
Study of smart phone sensor based fall detection
Presentation slides on Child Tracking System
Poster eog controlled wheelchair new
Icasert 2019 pid_230_revised
Digitization of Infusion Pump
Development of a low cost pc-based single-channel eeg monitoring system
EMG classification using ANN
Real-time Vein Imaging
ICDPR@SG 2020 PID_A304_presentation
EMG controlled Prosthetic Arm
Motion Artifact in Ambulatory EEG
Exploring smartphone sensors
Presentation on Blood Pressure Monitoring as part of Final Year Project (Part...
Senior Project Student's Presentation on Design of EMG Signal Recording System
Senior Project Student's Presentation on Body Temperature Monitoring
Senior Project Students' Presentation on ECG Monitoring
EEG guest lecture_iub_eee541

Recently uploaded (20)

PPTX
Module 1 – Introduction to Computer Networks: Foundations of Data Communicati...
PDF
PhD defense presentation in field of Computer Science
PPTX
CC PPTS unit-I PPT Notes of Cloud Computing
PPTX
Ingredients of concrete technology .pptx
PDF
August 2025 Top read articles in International Journal of Database Managemen...
PPTX
sinteringn kjfnvkjdfvkdfnoeneornvoirjoinsonosjf).pptx
PPTX
operating system Module 5 Secondary storage
PDF
August 2025 Top Read Articles in - Bioscience & Engineering Recent Research T...
PDF
ASPEN PLUS USER GUIDE - PROCESS SIMULATIONS
PDF
AI agent, robotics based Smart Construction 2025
PDF
Recent Trends in Network Security - 2025
PDF
Application of smart robotics in the supply chain
PDF
Water Industry Process Automation & Control Monthly - September 2025
PDF
CBCN cam bien cong nghiep bach khoa da năng
PPT
Basics Of Pump types, Details, and working principles.
PPT
Module_1_Lecture_1_Introduction_To_Automation_In_Production_Systems2023.ppt
PDF
Project_Mgmt_Institute_- Marc Marc Marc.pdf
PPTX
non conventional energy resorses material unit-1
PDF
1.-fincantieri-investor-presentation2.pdf
PDF
The Journal of Finance - July 1993 - JENSEN - The Modern Industrial Revolutio...
Module 1 – Introduction to Computer Networks: Foundations of Data Communicati...
PhD defense presentation in field of Computer Science
CC PPTS unit-I PPT Notes of Cloud Computing
Ingredients of concrete technology .pptx
August 2025 Top read articles in International Journal of Database Managemen...
sinteringn kjfnvkjdfvkdfnoeneornvoirjoinsonosjf).pptx
operating system Module 5 Secondary storage
August 2025 Top Read Articles in - Bioscience & Engineering Recent Research T...
ASPEN PLUS USER GUIDE - PROCESS SIMULATIONS
AI agent, robotics based Smart Construction 2025
Recent Trends in Network Security - 2025
Application of smart robotics in the supply chain
Water Industry Process Automation & Control Monthly - September 2025
CBCN cam bien cong nghiep bach khoa da năng
Basics Of Pump types, Details, and working principles.
Module_1_Lecture_1_Introduction_To_Automation_In_Production_Systems2023.ppt
Project_Mgmt_Institute_- Marc Marc Marc.pdf
non conventional energy resorses material unit-1
1.-fincantieri-investor-presentation2.pdf
The Journal of Finance - July 1993 - JENSEN - The Modern Industrial Revolutio...

ECG Classification using SVM

  • 1. 1 Supervised by: Dr. Md. Kafiul Islam, Assistant Professor, EEE, IUB
  • 2. OUTLINE  Introduction  Motivation  Electrocardiogram (ECG)  Support vector machine (SVM)  How SVM works (Linear)  How SVM works (non-linear)  Artificial Neural Network (ANN)  Materials  Method  Pre-processing  Morphological features  Result and discussion (SVM)  Comparison with related work  Result and discussion (ANN)  Conclusion  Limitation  Future work 2
  • 3. INTRODUCTION ECG is a simple test to visualize the electrical activity of the heart over a period of time. ECG classification is done by machine learning algorithm. The machine learning algorithm are SVM and ANN 3
  • 4. MOTIVATION Number 1 cause of death is cardio vascular diseases Gain knowledge and work with machine learning Create effective and easier classifier 4
  • 5. ELECTROCARDIOGRAM (ECG)  Another name EKG.  Measured using sensors (electrodes).  Heart rate, heart rhythm, indication of heart diseases or heart attack etc.  3 main components- 1. P wave 2. QRS complex 3. T wave 5
  • 6. ELECTROCARDIOGRAM (ECG) There are mainly 3 types of ECG 1.Resting ECG 2.Stress or exercise ECG 3.Ambulatory ECG 6
  • 7. SUPPORT VECTOR MACHINE (SVM)  Supervised machine learning algorithm.  Commonly use in classification and regression analysis. Other applications -  Image classification,  Text classification,  Biological science etc. 7
  • 8. HOW SVM WORKS (LINEAR) Original dataset Getting optimal hyperplane 8
  • 9. HOW SVM WORKS (NON-LINEAR) Original dataset Data with separator 9
  • 10. HOW SVM WORKS (NON-LINEAR) Transformed data 10
  • 11. ARTIFICIAL NEURAL NETWORK (ANN)  Important subset of machine learning.  It contains input, output and hidden layer. 11
  • 12. MATERIALS  100 subjects (50 normal and 50 arrhythmia)  Downloaded from physionet website  4 different types of database- 1. Fantasia Database 2. MIT-BIH Normal Sinus Rhythm Database 3. MIT-BIH Arrhythmia Database 4. Sudden Cardiac Death Holter Database 12
  • 14. PRE-PROCESSING power line interference remover • Notch filter • 50 HZ and harmonics • 2nd order Low pass filter • 80 Hz • 128th order 14
  • 15. MORPHOLOGICAL FEATURES Maximum heart rate Average heart rate Minimum heart rate Total number of QRS Number of irregular beats Percentage of irregular beats Number of episodes with consecutive beats Average PR interval Average QRS interval Average QTc interval Number of P absence Number of consecutive P absence 15
  • 16. RESULT AND DISCUSSION (SVM) Dataset divided into 2 set Training set (80%) Test set (20%) Accuracy is 87% 16
  • 17. COMPARISON WITH RELATED WORK Related Project Database Method Accuracy ECG feature extraction and classification using wavelet transform and support vector machines MIT-BIH arrhythmia 2 different feature extraction methods-The wavelet transform and autoregressive modeling (AR) 99.68% Domain adaptation methods for ECG classification MIT-BIH arrhythmia (divided in 2 set) Two kinds of features: 1) ECG morphology features and 2) ECG wavelet features with QRS width. 97% and 91% ECG beat classification method for ECG printout with Principle components analysis and support vector machines MIT-BIH arrhythmia Discrete wavelet transform (DWT) and principle components analysis (PCA) 99.6367% with LIBSVM This project Fantasia, MIT- BIH normal sinus rhythm, MIT-BIH Morphology Feature extraction method (12 features) 87% 17
  • 18. RESULT AND DISCUSSION (ANN)  Dataset divided into 3 set-  Training set (70%)  Validation set (15%)  Test set (15%)  Accuracy is 93% (number of neurons 24) 18
  • 19. RESULT AND DISCUSSION (ANN)  Performance changes with the number of hidden neurons  For 10 hidden neurons 19
  • 20. RESULT AND DISCUSSION (ANN)  For 22 hidden neurons 20
  • 21. RESULT AND DISCUSSION (ANN)  For 30 hidden neurons 21
  • 22. CONCLUSION Pre-processing and feature extraction done successfully Successfully train SVM and ANN. The accuracy is good but nor promising 22
  • 23. LIMITATION Can not work with raw data. Choosing SVM parameter. Problem with big data. New area. 23
  • 24. FUTURE WORK Aim for more accuracy More work with these features. Finding most dominate features to work with. Work with advance neural network (DNN and CNN) 24