Professional Documents
Culture Documents
Computational Intelligence and Data Sciences: Paradigms in Biomedical Engineering 1st Edition Taylor & Francis Group
Computational Intelligence and Data Sciences: Paradigms in Biomedical Engineering 1st Edition Taylor & Francis Group
https://ebookmeta.com/product/advanced-computational-methods-in-
mechanical-and-materials-engineering-computational-intelligence-
techniques-1st-edition-taylor-francis-group/
https://ebookmeta.com/product/computational-technologies-in-
materials-science-1st-edition-taylor-francis-group/
https://ebookmeta.com/product/covid-19-origin-detection-and-
impact-analysis-using-artificial-intelligence-computational-
techniques-1st-edition-taylor-francis-group/
https://ebookmeta.com/product/drugs-in-sport-taylor-francis-
group/
Immunization and States 1st Edition Taylor & Francis
Group
https://ebookmeta.com/product/immunization-and-states-1st-
edition-taylor-francis-group/
https://ebookmeta.com/product/prisons-and-community-
corrections-1st-edition-taylor-francis-group/
https://ebookmeta.com/product/green-computing-in-network-
security-1st-edition-taylor-francis-group/
https://ebookmeta.com/product/thermal-spray-coatings-1st-edition-
taylor-francis-group/
Computational
Intelligence and Data
Sciences
Computational
Intelligence and Data
Sciences
Paradigms in Biomedical Engineering
Edited by
Ayodeji Olalekan Salau, Shruti Jain, and
Meenakshi Sood
First edition published 2022
by CRC Press
6000 Broken Sound Parkway NW, Suite 300, Boca Raton, FL 33487-2742
© 2022 selection and editorial matter, Ayodeji Olalekan Salau, Shruti Jain and Meenakshi Sood;
individual chapters, the contributors
Reasonable efforts have been made to publish reliable data and information, but the author and
publisher cannot assume responsibility for the validity of all materials or the consequences of
their use. The authors and publishers have attempted to trace the copyright holders of all m
aterial
reproduced in this publication and apologize to copyright holders if permission to publish in this
form has not been obtained. If any copyright material has not been acknowledged please write
and let us know so we may rectify in any future reprint.
Except as permitted under U.S. Copyright Law, no part of this book may be reprinted,
reproduced, transmitted, or utilized in any form by any electronic, mechanical, or other means,
now known or hereafter invented, including photocopying, microfilming, and recording, or in
any information storage or retrieval system, without written permission from the publishers.
For permission to photocopy or use material electronically from this work, access www.
copyright.com or contact the Copyright Clearance Center, Inc. (CCC), 222 Rosewood Drive,
Danvers, MA 01923, 978-750-8400. For works that are not available on CCC please contact
mpkbookspermissions@tandf.co.uk
Trademark notice: Product or corporate names may be trademarks or registered trademarks and
are used only for identification and explanation without intent to infringe.
DOI: 10.1201/9781003224068
Typeset in Times
by codeMantra
Contents
Preface.................................................................................................................vii
Acknowledgments ................................................................................................ ix
Editors .................................................................................................................. xi
Contributors .......................................................................................................xiii
v
vi Contents
vii
Acknowledgments
We want to extend our gratitude to all the chapter authors for their sincere and
timely support to make this book a grand success. We are equally thankful to all
CRC executive board members for their kind approval granted to us as Editors
of this book. We want to extend our sincere thanks to Dr. Gagandeep Singh, and
Miss. Aditi Mittal from CRC for their valuable suggestions and encouragement
throughout the project.
It is with immense pleasure that the Editors of this book express their thanks to
our colleagues for their support, love, and motivation during this project. We are
grateful to all the reviewers for their timely review and consent, which helped us
improve the quality of the book.
We may have inadvertently left out many others, and we sincerely thank all of
them for their support.
Ayodeji Olalekan Salau
Shruti Jain
Meenakshi Sood
ix
Editors
Dr. Ayodeji Olalekan Salau received his B.Eng. in Electrical/Computer
Engineering from the Federal University of Technology, Minna, Nigeria. He
received his M.Sc. and Ph.D. degrees from the Obafemi Awolowo University,
Ile-Ife, Nigeria. His research interests include computer vision, image process-
ing, signal processing, machine learning, power systems engineering, and nuclear
engineering. Dr. Salau serves as a reviewer for several reputable international
journals. His research has been published in reputable international confer-
ences, books, and major international journals. He is a registered Engineer with
the Council for the Regulation of Engineering in Nigeria (COREN), a member
of the International Association of Engineers (IAENG), and a recipient of the
Quarterly Franklin Membership with ID number CR32878 given by the Editorial
Board of London Journals Press in 2020 for top-quality research output. More
recently, Dr. Salau’s paper was awarded the best paper of the year 2019 in Cogent
Engineering. In addition, he is the recipient of the International Research Award
on New Science Inventions (N) under the category of “Best Researcher Award”
given by ScienceFather in 2020. Currently, Dr. Salau works in the Department
of Electrical/ Electronics and Computer Engineering at Afe Babalola University.
xi
xii Editors
and worked in various institutes of repute. She received her Ph.D. in Biomedical
Signal Processing and is a Gold Medalist and has been awarded Academic Award
for her performance in Master of Engineering (Hons.) from Panjab University,
Chandigarh. She has guided four Ph.D. scholars, around 20 M.Tech. scholars,
and more than 100 B.Tech. undergrads. Her research areas of interest are image
and signal processing, bio-inspired computing, antenna design, metamaterials,
soft computing techniques, and curriculum design and development. She has two
government-sponsored projects currently running under her and has published
more than 100 research papers in reputed indexed journals and international con-
ferences. She has edited three books and authored study materials for ICDOEL,
HP University. She is a senior member of IEEE and a life member of International
Technical Societies and BMSEI. She is also an editor in reputed journals and a
Member of the Expert Committee for Evaluation of Impact of DST-FIST Scheme.
She was selected as a GSE member of Rotary International and visited the USA
in Exchange Program.
Contributors
M. A. Adeagbo Bishvajit Bakshi
Department of Mathematics Department of Agricultural Statistics,
and Computer Sciences Applied Mathematics and
First Technical University Computer Science
Ibadan, Nigeria University of Agricultural Sciences
Bangalore, India
S. A. Akinsehinde
Software Development S. Balamurali
The Amateur Polymath Department of Computer Applications
Lagos, Nigeria Kalasalingam Academy of Research
and Education
J.E.T. Akinsola Srivilliputhur, India
Department of Mathematics and
Computer Sciences Rabindranath Bera
First Technical University, ECE Department,
Ibadan, Nigeria Sikkim Manipal Institute of
Technology
Quazi Mohmmad Alfred Sikkim Manipal University,
ECE Department, Majitar, Rangpo, Sikkim, India
Aliah University,
Kolkata, India M. Sushrutha Bharadwaj
Department of Medical Electronics
Juveria Ansari Engineering
Department of Biotechnology G. N. Dayananda Sagar College of
Khalsa College of Arts, Science Engineering
and Commerce Bangalore, India
Mumbai University School of Biosciences and Technology
Matunga East, Mumbai, India Vellore Institute of Technology
Vellore, India
V. Ajith
Department of Mechanical Vishakkha Dash
Engineering Department of Biotechnology G. N.
Kalasalingam Academy of Research Khalsa College of Arts, Science
and Education and Commerce
Virudhunagar, Tamilnadu, India Mumbai University
Matunga East Mumbai, India
xiii
xiv Contributors
CONTENTS
1.1 Introduction ................................................................................................. 1
1.2 Literature Review ........................................................................................ 3
1.3 Materials and Methods ................................................................................ 5
1.3.1 Data .................................................................................................. 5
1.3.2 Outlier Detection ............................................................................. 6
1.3.3 Data Preprocessing .......................................................................... 6
1.3.4 Dimensionality Reduction ............................................................... 7
1.3.5 Ensemble Methods of Machine Learning ....................................... 8
1.4 Proposed Approach for the Classification Model ........................................ 8
1.4.1 Logistic Regression.......................................................................... 8
1.4.2 Random Forest ................................................................................. 8
1.4.3 Gradient Boosting ............................................................................ 9
1.4.4 Extra-Trees Classifier..................................................................... 10
1.4.5 AdaBoost ....................................................................................... 11
1.4.6 MLP ............................................................................................... 13
1.4.7 Decision Tree Classifier ................................................................. 14
1.5 Results........................................................................................................ 15
1.6 Conclusions ................................................................................................ 19
References ........................................................................................................... 21
1.1 INTRODUCTION
Heart failure is the prime cause of death. It is one of the most chronic illnesses,
and it can lead to disabilities and pose financial problems to patients. As per
World Health Organization records, 17.5 million individuals die every year from
DOI: 10.1201/9781003224068-1 1
2 Computational Intelligence and Data Sciences
cardiovascular disease [1]. The prognosis of heart disease is challenging for doc-
tors as some of the symptoms experienced can be related to other illnesses or
may be indicators of aging [2]. When the arteries of the heart lose the ability to
transport blood that is rich in oxygen, heart disease is likely to occur. A common
cause is plaque buildup in the lining of larger coronary arteries. It may partially
or entirely block the blood flow in the heart’s large arteries. This condition may
occur as a result of an illness or accident that changes the way the heart arteries
function [3]. Electrocardiogram (ECG), Holter screening, echocardiogram, stress
examination, cardiac catheterization, cardiac computerized tomography (CT)
scan, and cardiac magnetic resonance imaging are some of the medical tests that
doctors and experts run to detect cardiovascular disease [4].
Diagnosis is a difficult, and critical process must be completed correctly and
quickly. The availability of high-quality treatments at reasonable prices is a major
concern for healthcare organizations such as hospitals and emergency centers [5].
However, if the coronary disease is diagnosed early enough, it can be successfully
treated by a combination of dietary modifications, medical treatments, and surgi-
cal procedures [3]. The complications of heart disease can be decreased, and the
heart’s rhythm can be increased with the proper therapy [6].
Factors: After a lot of research, experts have classified the risk factors that can
cause heart disease into two categories: risk factors that can be controlled and
managed, and risk factors that will remain unaffected even after the treatment.
Risk factors that don’t have a scope of improvement include family background,
ethnicity, and age. High levels of blood pressure, cholesterol, frequent alcohol
intake, and physical inactivity are all risk factors that can be controlled to a cer-
tain extent. Hypertension is a condition that can harm the blood arteries, making
it a highly likely risk factor for heart disease. Blood arteries may be damaged by
high blood pressure. Tobacco consumption of any type increases the risk of CVD.
Chemicals used to prepare tobacco products too have detrimental effects on the
blood vessels. When high levels of cholesterol are detected in the body, heart dis-
ease is most likely to occur. Obesity or being overweight raises the risk of heart
failure as well [7]. The precise timing of disease diagnosis determines the extent
to which the disease can be controlled. The proposed research aims to diagnose
these heart conditions early to prevent catastrophic effects [8].
Health researchers have produced a vast collection of medical evidence that
can be analyzed, and useful information can be extracted from it. Data mining
techniques are methods for retrieving useful information from vast amounts of
data [9]. Large networks of data in a medical database are discrete [10]. As a con-
sequence, making decisions based on discrete data becomes a daunting challenge.
Machine learning (ML), a subfield of data mining, excels at handling massive,
well-formatted, normalized datasets. ML is a tool that can be used to diagnose,
track, and forecast different diseases in the medical field [11]. The goal is to
make the process easier and to deliver successful care to patients while avoiding
serious repercussions [12]. The role of ML in detecting hidden discrete patterns
and analyzing the data is critical. Following data processing and dimensionality
reduction, ML methods aid in the early detection and speedy diagnosis of heart
ML Algorithms for Heart Disease Prognosis 3
disease. This chapter aims at testing the efficacy and the potential of numerous
ML and deep learning [13] techniques for predicting cardiac disease at an early
level (Figure
1.1).
1.2 LITERATURE REVIEW
Bayu and Sun [14] suggested a new method to build a double-tier ensemble.
Random forest, gradient boosting, and extreme gradient boosting were the
three ensemble learners that were merged with the help of a stacked architec-
ture. To determine which feature set was the most important for each dataset, a
particle swarm optimization-based attribute selection was performed. They also
carried out a double-layered statistical test to buttress their postulations and to
show that they were not based on suppositions. They also implemented tenfold
cross-validation to improve their results.
Emmanuel et al. [15] aimed at implementing dimensionality reduction and a
feature extraction technique by searching attributes that can cause cardiovascular
disease. Phenomenal results were obtained when chi-square analysis and principal
component analysis (PCA) were applied together to random forest and the accu-
racy that was obtained was 98.7% using Cleveland, 99.0% using Hungarian, and
99.4% using Cleveland–Hungarian datasets. According to the outcomes obtained
from different models, the amalgamation of chi-square and PCA produced stron-
ger results. The models were evaluated based on the accuracy, recall, precision, f1
ranking, Matthews correlation coefficient, and finally Cohen’s kappa coefficient.
Ludi et al. [16] focused on congestive heart failure detection that suggests
an ensemble methodology and employs heart rate variability data as well as
deep neural networks. The databases employed in this study were the BIDMC
Congestive Heart Failure Database (BIDMC-CHF), Congestive Heart Failure RR
Interval Database (CHF-RR), MIT-BIH Normal Sinus Rhythm (NSR) Database,
Fantasia Database (FD), and Normal Sinus Rhythm RR Interval Database
4 Computational Intelligence and Data Sciences
TABLE 1.1
Dimensions of the Dataset
Dataset [303 × 14]
Cleveland [294 × 14]
Switzerland [123 × 14]
Long Beach VA [200 × 14]
Statlog (Heart)
[270 × 13]
Heart disease dataset (comprehensive) [1,190 × 12]
6 Computational Intelligence and Data Sciences
correlation with the target. The data are uniform in nature. There are a total of
1,190 samples in the dataset, with heart disease present in 629 samples and heart
disease absent in 561 samples. According to the data, the estimated age of onset
of heart disease is 54, with a minimum age of 28 and a maximum age of 77. Heart
disorder is more common between the ages of 55 and 80 than between the ages
of 30 and 55. The presence of an irregular STT wave in the electrocardiographic
findings indicates a greater risk of cardiovascular disease. If a sample is in the
category of exercise-induced angina, then that sample has a higher risk of heart
disease. According to the analysis conducted, males are more likely than females
to have a heart attack and males in this dataset are older than females [22]. These
observations aided us to better comprehend the results.
The need for standardization in most cases is experienced when the features in
the data have varying sizes. StandardScaler is more efficient in classification than
regression. Standardization is useful for data that have negative values and for the
features that have the characteristics of a normal distribution. Since the dataset
has features that adhere to a normal distribution, the best results were achieved
using StandardScaler.
StandardScaler, MinMaxScaler, and Normalizer methods were tested and
implemented. From the results obtained, this research arrives at the conclusion
that the StandardScaler scaling technique provides the highest accuracy for this
particular dataset. This holds for all of the ML algorithms we’ve tested.
TABLE 1.2
Confusion Matrix: Logistic Regression
Positive Negative
Positive
543 (TP)
103 (FP)
Negative
102 (FN)
504 (TN)
by binning them. To achieve low bias and stable variance, the average is taken of
the variance. After applying standardization and PCA, tenfold cross-validation
was applied to improve the prediction accuracy and the maximum average accu-
racy achieved was 94.4% (Figure 1.5; Table 1.3).
TABLE 1.3
Confusion Matrix: Random Forest
Positive Negative
Positive 507 (TP)
49 (FP)
Negative 32 (FN)
574 (TN)
TABLE 1.4
Confusion Matrix: Gradient Boosting
Positive Negative
Positive 491 (TP)
65 (FP)
Negative
58 (FN)
548 (TN)
decision trees used as part of the ensemble. It works by using the training dataset
to produce a significant quantity of unpruned decision trees.
After applying standardization and PCA, tenfold cross-validation was applied
to improve the prediction accuracy and the maximum average accuracy achieved
was 94% (Figure
1.7; Table 1.5).
1.4.5 aDabOOst
AdaBoost is an algorithm that can be used in combination with different
types of ML algorithms to enhance the performance of the model altogether.
A “ weak” learner is an algorithm that performs subpar—its performance is
only beyond chance, but just by a small margin. A strong ensemble classi-
fier is generated by combining the instances of the algorithm using various
techniques such as bagging and boosting. Other learning algorithms’ outputs
(“ weak learners”) are compiled into a weighted summation that reflects the
12 Computational Intelligence and Data Sciences
TABLE 1.5
Confusion Matrix: Extra-Trees
Positive Negative
Positive 510 (TP)
46 (FP)
Negative 33 (FN)
573 (TN)
Nevertheless, there was the hope of the seven days when his money
might be gone. One by one the seven days came, and in each one it
seemed to her in the midst of her waiting as though the day was
come for his return. She had never been a woman to gad about the
little hamlet or chatter overmuch with the other women there. But
now one after another of these twenty or so came by to see and ask,
and they asked where her man was, and they cried, “We are all one
house in this hamlet and all somehow related to him and kin,” and at
last in her pride the mother made a tale of her own and she
answered boldly, from a sudden thought in her head, “He has a
friend in a far city, and the friend said there was a place there he
could work and the wage is good so that we need not wear
ourselves upon the land. If the work is not suited to him he will come
home soon, but if it be such work as he thinks fit to him, he will not
come home until his master gives him holiday.”
This she said as calmly as she ever spoke a truth, and the old
woman was astounded and she cried, “And why did you not tell me
so good a lucky thing, seeing I am his mother?”
And the mother made a further tale and she answered, “He told me
not to speak, old mother, because he said your tongue was as loose
in your mouth as any pebble and all the street would know more than
he did, and if he did not like it he would not have them know it.”
“Did he so, then!” cackled the old mother, leaning forward on her
staff to peer at her daughter’s face, her old empty jaws hanging, and
she said half hurt, “It is true I ever was a good talker, daughter, but
not so loose as any pebble!”
Again and again the mother told the tale and once told she added to
it now and then to make it seem more perfect in its truth.
Now there was one woman who came often past her house, a widow
woman who lived in an elder brother’s house, and she had not
overmuch to do, being widowed and childless, and she sat all day
making little silken flowers upon a shoe she made for herself, and
she could ponder long on any little curious thing she heard. So she
pondered on this strange thing of a man gone, and one day she
thought of something and she ran down the street as fast as she
could on her little feet and she cried shrewdly to the mother, “But
there has no letter come a long time to this hamlet and I have not
heard of any letter coming to that man of yours!”
She went secretly to the only man who knew how to read in the
hamlet, and he wrote such few letters as any needed to have written
and read such as came for any, and so added a little to his
livelihood. This man the widow asked secretly, “Did any letter come
for Li The First, who was son to Li The Third in the last generation?”
And when the man said no, the gossip cried out, “But there was a
letter, or so his wife says, and but a few days ago.”
Then the man grew jealous lest they had taken the letter to some
other village writer and he denied again and again, and he said,
“Very well I know there was no letter, nor any answering letter, nor
has anyone come to me to read or write or to buy a stamp to put on
any letter and I am the only one who has such stamps. And there
has not come so much as a letter carrier this way for twenty days or
more.”
Then the widow smelled some strange thing and she told
everywhere, whispering that the wife of Li The First lied and there
had been no letter and doubtless the husband had run away and left
his wife. Had there not been a great quarrel over the new robe, so
that the whole hamlet heard them cursing each other, and the man
had pushed her down and struck her even? Or so the children said.
But when the talk leaked through to the mother she answered stoutly
that what she said was true and that she had made the new blue
robe on purpose for the man to go to the far town, and that the
quarrel was for another thing. As for the letter, there was no letter but
the news had come by word of mouth from a traveling pedlar who
had come in from the coast.
Thus did the mother lie steadfastly and well, and the old woman
believed the tale heartily and cried out often of her son and how rich
he would be, and the mother kept her face calm and smooth and she
did not weep as women do when their men run away and shame
them. At last the tale seemed true to all, and even the gossip was
silenced somewhat and could only mutter darkly over her silken
flowers, “We will see—as time comes, we will see if there is money
sent or any letter written, or if he comes home ever and again.”
So the little stir in the hamlet died down and the minds of people
turned to other things and they forgot the mother and her tale.
Then did the mother set herself steadfastly to her life. The seven
days were long past and the man did not come and the rice ripened
through the days and hung heavy and yellow and ready for the
harvest and he did not come. The woman reaped it alone then
except for two days when the cousin came and helped her when his
own rice was cut and bound in sheaves. She was glad of his help
and yet she feared him too, for he was a man of few words, honest
and few, and his questions were simple and hard not to answer
truthfully. But he worked silently and asked her nothing and he said
nothing except the few necessary words he must until he went away,
and then he said, “If he is not come when the time is here to divide
the grain with the landlord, I will help you then, for the new agent is a
wily, clever man, and of a sort ill for a woman to do with alone.”
She thanked him quietly, glad of his help, for she knew the agent but
a little, since he was new in the last years to those parts, and a
townsman who had a false heartiness in all he did and said.
So day had passed into month, and day after day the woman had
risen before the dawn and she left the children and the old woman
sleeping, and she set their food ready for them to eat when they
woke, and taking the babe with her in one arm and in her other hand
the short curved sickle she must use in reaping she set out to the
fields. The babe was large now and he could sit alone and she set
him down upon the earth and let him play as he would, and he filled
his hands with earth and put it to his mouth and ate of it and spat it
out hating it and yet he forgot and ate of it again until he was
covered with the muddy spew. But whatever he did the mother could
not heed him. She must work for two and work she did, and if the
child cried he must cry until she was weary and could sit down to
rest and then she could put her breast to his earthy mouth and let
him drink and she was too weary to care for the stains he left upon
her.
Handful by handful she reaped the stiff yellow grain, bending to
every handful, and she heaped it into sheaves. When gleaners came
to her field to glean what she might drop, as beggars and gleaners
do at harvest time, she turned on them, her face dark with sweat and
earth, and drawn with the bitterness of labor, and she screamed
curses at them, and she cried, “Will you glean from a lone woman
who has no man to help her? I am poorer than you, you beggars,
and you cursed thieves!” And she cursed them so heartily and she
so cursed the mothers that bore them and the sons they had
themselves that at last they let her fields be, because they were
afraid of such powerful cursing.
Then sheaf by sheaf she carried the rice to the threshing-floor and
there she threshed it, yoking the buffalo to the rude stone roller they
had, and she drove the beast all through the hot still days of autumn,
and she drove herself, too. When the grain was threshed, she
gathered the empty straw and heaped it and tossed the grain up and
winnowed it in the winds that came sometimes.
Now she pressed the boy into labor too and if he lagged or longed to
play she cuffed him out of her sheer weariness and the despair of
her driven body. But she could not make the ricks. She could not
heap the sheaves into the ricks, for this the man had always done,
since it was a labor he hated less than some, and he did it always
neatly and well and plastered the tops smooth with mud. So she
asked the cousin to teach her this one year and she could do it
thenceforth with the boy if the man stayed longer than a year, and
the cousin came and showed her how and she bent her body to the
task and stretched and threw the grass to him as he sat on top of the
rick and spread it, and so the rice was harvested.
She was bone-thin now with her labor and with being too often
weary, and every ounce of flesh was gone from her, and her skin
was burnt a dark brown except the red of cheeks and lips. Only the
milk stayed in her breasts rich and full. Some women there are
whose food goes all to their own fat and none to child or food for
child, but this woman was made for children, and her motherhood
would rob her own body ruthlessly if there was any need for child.
Then came the day set for measuring out the landlord’s share of all
the harvest. Now this landlord of the hamlet and the fields about it
never came himself to fetch his share. He lived an idle rich man in
some far city or other, since the land was his from his fathers, and he
sent in his place his agent, and this year it was a new agent, for his
old agent had left him the last year, being rich enough after twenty
years to cease his labors. This new agent came now and he came to
every farmer in that hamlet, and the mother waited at her own door,