detection-of-cardiovascular
detection-of-cardiovascular
A
and classified; the more lives can be saved. Electrocardiogram CCORDING to the World Health Organization, cardio-
(ECG) is a common, inexpensive, and noninvasive tool for
measuring the electrical activity of the heart and is used to detect vascular diseases (heart diseases) are the leading cause of
cardiovascular disease. In this article, the power of deep learning death worldwide. They claim an estimated 17.9 million lives
techniques was used to predict the four major cardiac each year, accounting for 32% of all deaths worldwide. About
abnormalities: abnormal heartbeat, myocardial infarction, history 85% of all deaths from heart disease are due to heart attacks,
of myocardial infarction, and normal person classes using the also known as myocardial infarctions (MI) [1]. Many lives
public ECG images dataset of cardiac patients. First, the transfer
learning approach was in- vestigated using the low-scale can be saved if an efficient diagnosis of cardiovascular
pretrained deep neural networks SqueezeNet and AlexNet. disease is detected at an earlier stage [1]. Different techniques
Second, a new convolutional neural net- work (CNN) are used in the healthcare system to detect heart diseases, such
architecture was proposed for cardiac abnormality prediction. as electro- cardiogram (ECG), echocardiography (echo),
Third, the aforementioned pretrained models and our proposed cardiac magnetic resonance imaging, computed tomography,
CNN model were used as feature extraction tools for traditional
machine learning algorithms, namely support vector machine, blood tests, etc. [2], [3]. The ECG is a common, inexpensive,
K-nearest neighbors, decision tree, random forest, and Naïve and noninvasive tool for measuring the electrical activity of
Bayes. According to the experimental results, the perfor- mance the heart [4]. It is used to identify heart-related cardiovascular
metrics of the proposed CNN model outperform the exiting diseases [4], [5]. A highly skilled clinician can detect heart
works; it achieves 98.23% accuracy, 98.22% recall, 98.31% pre- disease from the ECG waves.
cision, and 98.21% F1 score. Moreover, when the proposed CNN
model is used for feature extraction, it achieves the best score of
However, this manual process can lead to inaccurate results
99.79% using the NB algorithm. and is very time-consuming [5].
Impact Statement—Artificial intelligence plays an important There is great potential to benefit from advances in
role in improving the quality of life. In particular, early artificial intelligence in healthcare to reduce medical errors. In
detection of diseases can help save lives. In this work, the particular, the use of machine learning and deep learning
proposed new lightweight CNN architecture has improved the
accuracy rate of cardiovascular disease classification to 98.23%
techniques for automatic prediction of heart diseases [3], [6]–
compared with the existing state-of-the-art methods, using the [10]. The machine learning methods require an expert entity for
dataset of ECG images of cardiac patients, and can be performed features extraction and selection to identify the appropriate
on a single CPU, overcoming the limitation of computational features before apply- ing the classification phase. Feature
power. In addition, the classification accuracy has significantly extraction is a process of reducing the number of features in a
improved after applying the proposed method as a feature
extraction tool for traditional machine learning algorithms. For
data set by transforming or projecting the data into a new
example, an accuracy of 99.79% has been achieved using the lower-dimensional feature space preserving the relevant
Naïve Bayes algorithm. Thus, this method could be integrated information of the input data [11], [12].
into the IoT ecosystem in healthcare. This will encourage other The concept of feature extraction is concerned with creating
AI researchers to explore other methods for cardiovascular a new set of features (different from the input feature) that
disease detection.
area combination of original features into a lower-
Index Terms—Cardiovascular, deep learning, electrocar dimensional space that extract most, if not all, of the
diogram (ECG) images, feature extraction, machine learning,
transfer learning. information in input data. The most well-known feature
extraction method is a principal component analysis [13],
[14]. However, feature selection is a process of removing
irrelevant and redundant features (di- mensions) from the data
set in the training process of machine learning algorithms.
Manuscript received 2 March 2022; accepted 11 March 2022. Date of pub- Various methods can be used for feature selection, classified
lication 15 March 2022; date of current version 24 March 2023. This article as unsupervised, which refers to the method that does not need
was recommended for publication by Associate Editor Mihail Popescu upon
evaluation of the reviewers’ comments. (Corresponding author: Mohammed
the output label for feature selection, and supervised, which
B. Abubaker) refers to the methods that use output label for feature selection.
Mohammed B. Abubaker is with the Department of Computer Engineering, Under supervised feature selection, there are three methods:
Erciyes University, 38039 Melikgazi, Turkey, and also with the Palestine
Tech- nical College, Gaza P920, Palestine (e-mail:
the filter method, the wrapper method, and the embedded
[email protected]). method [11], [12].
Bilal Babayig˘it is with the Department of Computer Engineering, Erciyes Many machine learning methods have been used for
University, 38039 Melikgazi, Turkey (e-mail: [email protected]).
Digital Object Identifier 10.1109/TAI.2022.3159505
predict- ing cardiovascular diseases. Soni et al. [15] compared
several
2691-4581 © 2022 IEEE. Personal use is permitted, but republication/redistribution requires IEEE permission.
See https://www.ieee.org/publications/rights/index.html for more information.
2 IEEE TRANSACTIONS ON ARTIFICIAL INTELLIGENCE, VOL. 4, NO. 2, APRIL 2023
TABLE I
LAYERS ANALYSIS OF THE PROPOSED CNN MODEL
leakyReLU: scale=0.1, batch normalization: MeanDecay=0.1, VarianceDecay=0.1, Epsilon=0.00001, total number of learnable parameters=3430308
TABLE II
PUBLIC ECG IMAGES DATASET DESCRIPTION
Fig. 7. Sample from the ECG images dataset after performing cropping as a
preprocessing.
TABLE III
TRAINING PARAMETERS AND VALUES FOR DEEP LEARNING METHODS
TABLE IV
PERFORMANCE MEASURES TABLE VI
CALCULATED PERFORMANCE MEASUREMENTS FOR SQUEEZE-NET, ALEXNET,
AND THE PROPOSED CNN MODEL FOR DIFFERENT RL VALUES
TABLE V
NETWORKS PROPERTIES2
LR: initial learning rate, A.: accuracy, R.: recall, P.: precision, F1: F1 score, T1: training
time, T2: testing time.
The bold values indicate the best results.
For all networks, input image size is 227×227×3.
TABLE VII
PERFORMANCE MEASUREMENTS VALUES OBTAINED FOR EACH FOLD OF THE
PROPOSED MODEL
Fig. 9. Training Progress for our proposed CNN model on the ECG images
dataset in fold-1 (LR: 0.0001 and other hyperparameters are as in Table III).
TABLE VIII
MODELS COMPARISON
NP: normal person, AH: abnormal heartbeat, MI: myocardial infarction, H. MI:
history of myocardial Infarction classes.
TABLE X
CALCULATED PERFORMANCE MEASUREMENTS FOR MACHINE LEARNING ALGORITHMS THAT USE PRETRAINED NETWORKS SQUEEZENET, ALEXNET, AND
PROPOSED CNN AS FEATURES EXTRACTOR APPLIED ON ECG IMAGES DATASET