Chapter Two
Chapter Two
LITERATURE REVIEW
This study developed a good machine learning-based method. With the use of a wide variety of
data sources, such as genetic information, medical imaging, electronic health records, and
lifestyle variables, the initiative aims to overcome the shortcomings of conventional diagnostic
techniques. In order to give context for the study on machine learning applications in heart
disease diagnosis and to guide the creation of a strong methodology by incorporating lessons
from previous studies, the review's main goal is to present a thorough overview of the body of
i. General Overview
iii. Theoretical Review which describes the theories and systems associated with the project
and
This study's conceptual overview explores the underlying theories, fundamental ideas, and
pertinent frameworks that influence the investigation of machine learning applications in the
diagnosis of heart disease. This review seeks to provide a solid conceptual framework for the
research by clarifying these fundamental components and offering insight into the theoretical
The human body's delicate and intricate balance is what determines health. In general, diseases
are upsets of this equilibrium that frequently impair the regular operation of systems and organs.
A particular class of disorders includes problems with the cardiovascular system. The heart and
blood arteries are part of this complex network, which is essential for the body's transportation of
It's important to take into account the variables that may contribute to the development of
illnesses while talking about them. Our health outcomes are shaped by a combination of genetic
Now, let's discuss a particular component without giving it a name: a heart-related ailment. This
organ is the cardiovascular system's main workhorse, pumping blood nonstop so that each and
every cell in the body gets fed. Any condition that affects the heart can have a significant impact
on general health.
These disorders are linked to a number of risk factors, such as physical activity, stress levels,
dietary practices, and underlying medical problems. Preventing the beginning or advancement of
such health issues is mostly dependent on routine examinations and sustaining a healthy lifestyle.
When it comes to cardiovascular health, education and awareness are powerful instruments.
Maintaining a strong cardiovascular system may be greatly aided by realizing the significance of
The story of illnesses throughout history, heart disease included, is weaved together with the
threads of changing society norms, medical advancements, and changing lifestyles. Venturing
into the past, we observe a journey characterized by the confluence of human perseverance,
The intricate workings of the circulatory system were mysterious to the ancient world. Ancient
societies held the heart in high regard as the home of the soul, and it was more frequently linked
to philosophical ideas than to actual scientific understanding. Our understanding of the human
Scientific inquiry had a boom during the Renaissance, when explorers such as Leonardo da Vinci
dissected human corpses and established the basis for our understanding of anatomy. But the
19th and 20th centuries saw the real advances in our understanding of cardiac disorders.
stethoscope, made it possible for doctors to identify irregular heartbeats, which led to the
diagnosis of cardiac disorders. Our knowledge was further expanded by the groundbreaking
work of people like William Harvey, who clarified the circulatory system, and the identification
In the modern day, heart-related conditions, such as cardiovascular disorders, have emerged as
major worldwide health issues. An concerning increase in heart-related illnesses has been
attributed to sedentary lifestyles, rapid urbanization, and dietary changes. The development of
challenging terrain of cardiovascular health. The history of heart disease serves as a wake-up call
and a monument to human resiliency. It exhorts us to take on the difficulties of our contemporary
lifestyle, promote preventative measures, and keep looking for novel remedies to protect the
Cardiovascular diseases (CVDs) encompass a range of conditions affecting the heart and blood
vessels. These conditions pose a significant global health burden, contributing to morbidity and
heart and blood vessels. Here are key cardiovascular diseases in the context of this project:
by the accumulation of plaque in the coronary arteries, leading to reduced blood flow to
the heart. Understanding risk factors, symptoms, and diagnostic methods for CAD is
crucial.
2. Heart Failure: Heart failure occurs when the heart is unable to pump blood effectively,
leading to inadequate oxygen supply to the body. Explore the different types of heart
3. Arrhythmias: Arrhythmias involve irregular heartbeats, which can be too fast, too slow,
Explore conditions such as aortic stenosis, mitral regurgitation, and their clinical
heart health, its role in the development of other cardiovascular diseases, and strategies
for management.
6. Peripheral Artery Disease (PAD): PAD involves the narrowing of arteries outside the
heart, typically in the legs. Understand the symptoms, risk factors, and diagnostic
methods for PAD, and explore how machine learning can contribute to early detection.
7. Cardiomyopathies: Cardiomyopathies are conditions that affect the heart muscle, leading
8. Myocardial Infarction (Heart Attack): Myocardial infarction occurs when blood flow to a
part of the heart muscle is blocked, leading to tissue damage. Understand the risk factors,
symptoms, diagnostic methods, and the importance of early intervention in heart attacks.
It is important to note that symptoms can vary among individuals, and some people may
sometimes have different heart attack symptoms than men. But here's a consolidated list of
Shortness of breath
Fatigue
Dizziness or light-headedness
Nausea or vomiting
individuals to seek prompt medical attention for proper evaluation and diagnosis.
Early detection of heart disease holds immense importance across various dimensions,
profoundly influencing patient outcomes and healthcare systems. At its core, timely
identification serves as a linchpin for a cascade of benefits, ranging from preventive measures
and enhanced treatment efficacy to improved quality of life and substantial economic
considerations.
One of the paramount aspects is the prevention of complications associated with heart disease.
Early detection acts as a crucial shield against life-threatening events such as heart attacks, heart
failure, and strokes, averting the progression to severe and potentially irreversible stages. The
complications.
In the realm of treatment, the significance of early detection is evident in its ability to optimize
procedures, initiating these measures at the early stages of heart disease proves more efficacious
in managing the condition and forestalling further damage to the heart. The ripple effect extends
to an improved quality of life for individuals as symptoms are managed, cardiac function is
Economic considerations underscore the importance of early detection, with a direct impact on
healthcare costs. Preventing severe complications that necessitate extensive medical procedures
being generally more affordable than treating advanced stages of heart disease, contribute to a
Moreover, the concept of tailored treatment approaches comes to the forefront. Early detection
allows healthcare professionals to customize treatment plans based on specific types of heart
disease and individual variations. This personalized approach takes into account genetic
predispositions, lifestyle choices, and coexisting conditions, ensuring that interventions are
The optimization of resource allocation is another key facet of the importance of early detection.
By swiftly identifying cases and prioritizing interventions based on severity and urgency,
healthcare systems can ensure that critical resources, including emergency services and
specialized treatments, are directed where they are most needed. This strategic allocation fosters
Armed with knowledge about their heart health status, individuals can make informed decisions
regarding lifestyle choices, medication adherence, and active participation in their own care. This
Ultimately, the reduction in mortality rates stands as the pinnacle of the importance of early
increased life expectancy and a higher likelihood of survival. It is through the collective
realization of these multifaceted benefits that the imperative of early detection emerges as a
Heart diseases among the elderly constitute a significant and complex health challenge, as aging
itself brings about physiological changes that can impact the cardiovascular system, including
arterial stiffness, diminished elasticity of blood vessels, and alterations in cardiac structure and
function. These age-related changes often contribute to a higher prevalence of conditions such as
coronary artery disease, heart failure, and atrial fibrillation among the elderly population.
Furthermore, the aging heart may experience a decline in its ability to respond to stress and adapt
to fluctuations in demand, making it more susceptible to the impact of risk factors like
hypertension and high cholesterol. Beyond these intrinsic factors, lifestyle choices accumulated
over a lifetime, such as dietary habits, physical activity levels, and tobacco use, play a pivotal
role in shaping cardiovascular health in later years. The elderly also commonly contend with
comorbidities like diabetes and arthritis, which can further complicate the cardiovascular
landscape. The interplay of these factors necessitates a nuanced and holistic approach to
managing heart diseases among the elderly, encompassing tailored interventions, regular health
monitoring, and strategies that account for the unique physiological and lifestyle considerations
of this demographic. As the global population continues to age, understanding and addressing the
intricate dynamics of heart diseases in the elderly becomes paramount for healthcare systems.
become integral components of healthcare for the elderly. Moreover, fostering awareness about
heart-healthy behaviors and facilitating access to preventive care can empower the elderly to take
an active role in maintaining their cardiovascular well-being. Recognizing the diverse nature of
cardiovascular conditions in the elderly, from the subtle manifestations to acute events,
underscores the need for personalized and patient-centered care. Advances in medical research
and technology continue to provide new avenues for understanding and addressing heart diseases
in the elderly, emphasizing the importance of ongoing scientific exploration and innovation.
Ultimately, navigating the complexities of cardiovascular health among the elderly requires a
collaborative effort involving healthcare professionals, caregivers, and the elderly themselves to
optimize preventive strategies, enhance quality of life, and promote healthy aging.
Heart diseases manifest with varying nuances across different demographic groups, presenting
unique challenges and considerations. Among men, there exists a historical recognition of a
higher susceptibility to heart diseases, often experiencing cardiac issues at an earlier age than
their female counterparts. This gender disparity is linked to factors such as hormonal differences
and varied lifestyle patterns. Postmenopausal women, on the other hand, face an altered
cardiovascular landscape due to hormonal changes, highlighting the critical role of estrogen in
heart health. Individuals with a family history of heart diseases navigate a genetic terrain that
screening and proactive management. Those with high blood pressure contend with a heightened
atherosclerosis and coronary artery disease. Diabetes amplifies cardiovascular risks, showcasing
the intricate interplay between metabolic health and heart health. Smoking, a prevalent risk
factor, inflicts damage on blood vessels and heightens the risk of heart attacks. Inactive or
sedentary individuals grapple with obesity and related risk factors, underscoring the pivotal role
of physical activity in cardiovascular well-being. Poor dietary habits further contribute to the
multifaceted landscape of heart diseases, with excessive intake of saturated fats, salt, and sugars
influencing cardiovascular risk. Recognizing these diverse risk profiles necessitates targeted and
tailored approaches to prevention, intervention, and education within each demographic group,
ensuring a comprehensive strategy to mitigate the impact of heart diseases across the spectrum of
Moreover, the distinctive cardiovascular challenges faced by each demographic group reflect the
intricate interplay of biological, environmental, and lifestyle factors. For men, the traditional
association with higher risk underscores the need for early awareness campaigns and routine
screenings to catch potential issues before they escalate. Postmenopausal women, with hormonal
shifts altering their cardiovascular dynamics, benefit from specialized care that considers the
unique challenges and vulnerabilities associated with this life stage. Those with a family history
are encouraged to adopt proactive health measures, given the genetic predisposition that may
heighten their susceptibility to heart diseases. Managing high blood pressure becomes not only a
health priority but also a preventative measure, as hypertension serves as a gateway to various
cardiovascular complications.
Individuals grappling with high cholesterol face a nuanced journey, with a focus on dietary
atherosclerosis and related issues. The intricate relationship between diabetes and heart diseases
metabolic health and cardiovascular outcomes. Smokers, faced with a higher incidence of heart
attacks, benefit not only from smoking cessation interventions but also from targeted
Inactivity and sedentary lifestyles, pervasive concerns in modern society, contribute significantly
to obesity and cardiovascular risks. Tailored exercise regimens, coupled with lifestyle
diseases for this demographic. Similarly, individuals with poor dietary habits find empowerment
through nutritional education, advocating for heart-healthy choices and emphasizing the impact
This intricate tapestry of risk factors and considerations mandates a multifaceted and inclusive
approach to cardiovascular health. From targeted educational initiatives and preventive measures
to personalized treatment strategies, addressing the diverse needs of each demographic group is
advancements continue to shed light on the specificities within these groups, the evolving
landscape of cardiovascular care strives for a more precise, nuanced, and patient-centered
various elements converge within each demographic group. For instance, individuals with a
combination of risk factors, such as those with both diabetes and a family history of heart
diseases, require integrated healthcare strategies that acknowledge the synergistic impact of these
influences. It underscores the importance of personalized medicine, where treatment plans are
Addressing heart diseases among these diverse groups also requires a societal commitment to
health equity. Disparities in access to healthcare, preventive measures, and educational resources
Bridging these gaps involves not only advancing medical interventions but also fostering
environments that promote healthy living, encourage regular screenings, and provide equal
In conclusion, the landscape of heart diseases among different demographic groups is intricate
and multifaceted. The evolving understanding of genetic, environmental, and lifestyle factors
brings forth a new era in cardiovascular care that goes beyond a one-size-fits-all approach. As we
navigate this complex terrain, continuous research, education, and advocacy become
instrumental in shaping a future where heart health is safeguarded for individuals across age,
gender, and diverse lifestyles. Through collaborative efforts in healthcare, public health
Heart diseases, encompassing a range of conditions affecting the cardiovascular system, can
manifest various side effects that impact overall health and well-being. Let's explore some
common side effects associated with heart diseases and delve into their implications:
1. Fatigue:
Fatigue is a prevalent side effect of heart diseases and is often a result of the heart's
encounters increased resistance in the blood vessels, the body may not receive an
adequate supply of oxygen and nutrients, leading to fatigue. This can significantly impact
2. Shortness of Breath:
Heart diseases can lead to a condition known as heart failure, where the heart's pumping
capacity is impaired. As a result, fluid may accumulate in the lungs, causing shortness of
breath. This symptom is particularly noticeable during physical exertion or even at rest,
3. Edema (Swelling):
Swelling, especially in the legs, ankles, or abdomen, is a common side effect of heart
diseases. It occurs when the heart is unable to effectively pump blood, causing fluid to
accumulate in the body's tissues. Edema is often a sign of heart failure and can contribute
enough blood and oxygen. It is a common side effect of coronary artery disease, where
the arteries supplying blood to the heart become narrowed or blocked. Angina can vary in
Heart diseases can lead to irregular heartbeats or arrhythmias, disrupting the normal
rhythm of the heart. This can manifest as palpitations, fluttering sensations, or a racing
heart. Arrhythmias can be associated with various heart conditions and may increase the
Insufficient blood flow to the brain, often resulting from heart diseases, can lead to
dizziness or fainting. When the heart's pumping capacity is compromised, the brain may
not receive an adequate supply of oxygen, causing these symptoms. Fainting episodes can
7. Cognitive Impairment:
In severe cases, chronic inadequate blood flow to the brain due to heart diseases may
Certain heart conditions, such as atrial fibrillation, can disrupt the normal blood flow,
leading to the formation of blood clots. These clots can travel to the brain, causing a
stroke. The increased risk of clot formation underscores the systemic consequences of
9. Sleep Disturbances:
awakenings during the night. Conditions such as heart failure may cause discomfort and
difficulty breathing when lying down, leading to disrupted sleep patterns. Additionally,
the overall stress and anxiety associated with managing heart conditions can impact sleep
quality.
Individuals with heart diseases often experience a decline in exercise tolerance. The
compromised ability of the heart to pump blood efficiently can limit physical activities.
Understanding these side effects is crucial for early detection and management of heart
play pivotal roles in mitigating these side effects and improving the overall prognosis for
individuals living with heart conditions. It's essential to recognize that the side effects of
heart diseases can vary depending on the specific condition, its severity, and individual
factors. Addressing these side effects involves a comprehensive approach that includes
In contrast to the natural intelligence exhibited by people and other animals, artificial
intended to do a variety of tasks, including speech recognition, learning, planning, and problem-
solving. Robotics is the study of the relationship between perception and action, thus if that
relationship is to be intelligent, Artificial Intelligence must play a major part in robotics. The
fundamental issues of what knowledge is necessary for any part of thinking, how that knowledge
should be represented, and how that knowledge should be applied are addressed by artificial
intelligence. By requiring AI to engage with actual items in the real world, robotics puts AI to
1. Computer vision: The goal of computer vision, one of the most well-known disciplines of
artificial intelligence at the moment, is to provide methods that let computers recognize and
comprehend digital images and videos. Computers can recognize objects, faces, people, animals,
and other features in photos by applying machine learning models to them. Computers can learn
to discriminate between different images by feeding a model with adequate data. Algorithmic
models assist computers in teaching themselves about the contexts of visual input. Along with a
model, a conventional neural network breaks down images into pixels and assigns tags or labels.
1. Object tracking is one example of how computer vision is used in several sectors. tracking
several classes.
identification of faces. Smartphones with face unlock identify users by mapping and
2. FUZZY LOGIC: Fuzzy logic is a method for resolving questions or assertions that can be true
or untrue. This approach mimics human decision-making by taking into account all viable
options between digital values of "yes" and "no." In plain terms, it gauges how accurate a
hypothesis is. This area of artificial intelligence is used to reason about ambiguous subjects. It's
an easy and adaptable way to use machine learning techniques and rationally mimic human
cognition. (GARANHEL, 2023)The architecture of fuzzy logic is divided into four sections:
engine for inference. determines the degree to which fuzzy inputs and rules are compatible.
3. ROBOTS: Robots are programmed robots that can perform intricate chains of operations
autonomously. They can be managed by people using external devices or by embedded control
systems. Humans use robots to assist in laborious and repetitive activities. Particularly, robots
with AI capabilities can support space research by organizations like NASA. The most recent
and well-known examples of robotic evolution are humanoid robots. Artificial intelligence and
neural networks are used to power Sophia, a robot created by Hanson Robotics. She can engage
with people and understands their emotions, gestures, and recognition of human faces.
Manufacturing, healthcare, retail, and other sectors are among the many industries where
Expert systems are designed to provide "expert quality" performance in handling problems in a
specific domain. In this chapter, we look at the structure of expert systems focusing on the
classical rule-based system. We then look at the process of developing an expert system.
Definition
Expert systems are computer applications that embody some non-algorithmic expertise for
solving certain types of problems. For example, expert systems are used in diagnostic
applications servicing both people and machinery. They also play chess, make financial
policies, and perform many other services which previously required human expertise. (Merritt,
2018).
Expert Systems seek to embed the knowledge of a human expert (for example a highly skilled
physician or lawyer) in a computerized consulting service. They are more efficient because
expert systems do have the same limitations that humans have such as exhaustion and human
error and also, they preserve and disseminate the knowledge in a simple and structured manner
embedded in its inference engine, the 'thinking' part of the system. The knowledge base and the
roles. These are illustrated in Figure 2.1 above. The major components are:
Inference engine - the code at the core of the system, which derives recommendations
The inference engine uses one of two methods for acquiring information from the knowledge
base:
1. Forward chaining reads and processes a set of facts to make a logical prediction about
what will happen next. An example of forward chaining would be making predictions
2. Backward chaining reads and processes a set of facts to reach a logical conclusion about
To understand expert system design, it is also necessary to understand the major roles of
Domain expert - the individual or individuals who currently are experts in solving the
Knowledge engineer - the individual who encodes the expert's knowledge in a declarative
User- the individual who will be consulting with the system to get advice that would have
the above modules, retrieving appropriate facts and rules during the reasoning process.
Knowledge acquisition
Consultation
Explanation
KNOWLEDGE ACQUISITION
The designer of the system must liaise with people to gain knowledge and these people must be
acknowledged experts in the appropriate area of activity, for example, physicians, lawyers, or
investment analysts. The knowledge engineer acts as an intermediary between the human expert
Typical of the information that must be gathered is vocabulary or jargon, general concepts, and
facts, problems that commonly arise, the solutions to the problems that occur, and skills for
solving particular problems. This process of picking the brain of an expert is a specialized form
Having acquired the information, the knowledge engineer is also responsible for the self-
consistency of the data and several specific tests have to be performed to ensure that the
The knowledge engineer may use specialized software systems to help monitor the performance
of an expert system under development. When the human expert who is the source of the
knowledge spots an error in the program's performance, in either the program's conclusions or its
line of reasoning, such a system assists in finding the source of the error in the database by
explaining the program's conclusions, retracing the reasoning steps until the faulty (or missing)
rule is identified. It may then assist in knowledge acquisition by modifying faulty rules or adding
The system is in this mode when a user is interacting with it using the user interface. The user
interacts by entering data in the native language (e.g., English Language) and the system
responds using a backward chaining (deductive reasoning) process to derive an answer to the
questions posed by. the user. This process is usually done using the information from the
knowledge base. The information is processed using the inference engine this is usually done
As explained earlier the user may during this time be asked for information that can be used to
support the system's hypothesis, with appropriate backtracking if contradictory evidence to this
hypothesis is found.
EXPLANATION
This mode allows the system to explain its conclusions and its reasoning process. This ability
comes from the AND/OR trees created during the deduction process. As a result, most expert
This ability to provide explanations is the big advantage of Expert Systems over neural network-
based (NN) systems, and the reason why, despite the notable success of NN systems in many
current application areas, Expert Systems are likely to remain for a long time the Al technique of
choice for safety-critical applications such as medical diagnosis, and ones where for legal
Step 1: The knowledge base is examined to see if 'hops (Fritz)' is a recorded fact. It's not.
Step 2: Rule base is examined to see if there's a rule of the form IF A THEN hops(x); x=Fritz:
There is, with A=frog(x); ×-Fritz. But is the premise 'frog (Fritz)' actually true?
Step 3: The knowledge base is examined to see if 'frog (Fritz)' is a recorded fact. As with 'hops
(Fritz),' it's not, so it's again necessary to look instead for an appropriate rule.
Step 4: Rule base is examined to see if there's a rule of the form IF A THEN frog(x); x=Fritz.
Again, there is a suitable rule, this time with A=green(x); ×-Fritz. But now is 'green (Fritz)' true?
Step 5: The knowledge base is yet again examined, this time to see if 'green (Fritz)' is a recorded
fact, and yes - this time the premise is directly known to be true.
One can therefore finally conclude that the original assertion ‘hops (Fritz)' was also true.
Failure of a query
If the required fact 'green (Fritz)' had not been found in the knowledge base, the rule base would
have yet again been examined, this time looking for a rule of the form IF A THEN green(x);
X=Fritz. However, there is no rule in this database of this form, specifying a condition 'A' under
which things are green; this would cause the system to exit in fail mode, effectively concluding
Knowledge-Based System
The knowledge-based section of the expert system will consist of the knowledge acquired from
The structure of the expert system which will be implemented in this project will be given below
The theoretical framework examines known ideas that are pertinent to the study topic. It
exhibits a mastery of ideas and theories that are closely related to the main topic of the
research paper and reveals a profound comprehension of their relevance in wider fields of
study. This framework functions as a path through which the research problem is examined,
bringing the study into line with accepted theoretical viewpoints and assisting in the
scholarly community.
Heart Disease Detection models are important tools for detecting heart diseases among
groups of people.