0% found this document useful (0 votes)
13 views24 pages

BT40962 PPT

The project focuses on predicting heart disease using machine learning algorithms, specifically KNN, SVM, Neural Networks, and Decision Trees, with the latter achieving the highest accuracy of 97%. The study emphasizes the importance of early detection and the potential of machine learning in improving heart disease management. The methodologies include data collection, preprocessing, feature extraction, and classification to identify significant risk factors and enhance prediction accuracy.

Uploaded by

thakursparsh19
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
13 views24 pages

BT40962 PPT

The project focuses on predicting heart disease using machine learning algorithms, specifically KNN, SVM, Neural Networks, and Decision Trees, with the latter achieving the highest accuracy of 97%. The study emphasizes the importance of early detection and the potential of machine learning in improving heart disease management. The methodologies include data collection, preprocessing, feature extraction, and classification to identify significant risk factors and enhance prediction accuracy.

Uploaded by

thakursparsh19
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 24

Heart Disease Prediction using

Machine Learning Algorithms

Project Team:
Suryansh(21SCSE1011028)
Vaibhav Singh(21SCSE1010992)

Under the Guidance of

Ms. Sapna Gupta

Assistant Professor, Dept. of CSE


Abstract
Heart disease is a commonly occurring disease and is the major cause of sudden death now
a days. This disease attacks the person instantly. Most people are not aware of the symptoms of
heart disease. Timely attention and proper diagnosis of heart disease will reduce the mortality
rate.
Medical data mining is to explore hidden patterns from the data sets. In this project, we
have applied five machine learning algorithms namely KNN, SVM, Neural Network predict the
heart disease.
Result shows that Neural Network gives high accuracy score with 96% compare to other
algorithms SVM is 86%, KNN is 90%.
Introduction to Machine Learning
 Machine learning is a subset of artificial intelligence that focuses on the development of
algorithms and models that enable computers to learn from and make predictions or
decisions based on data.
 These algorithms assess heart disease risk using diverse data, enabling personalized
treatment. Machine learning can detect early signs in medical images and ECG data .
 Machine learning advances drug discovery, patient monitoring, and public health
initiatives, ultimately improving heart disease management and reducing its
societal impact.
Why we work on Machine Learning?
Machine learning algorithms find natural patterns in data that generate insight and help you
make better decisions and predictions. They are used every day to make critical decisions in
medical diagnosis, stock trading, energy load forecasting, and more.

Pros Applications

• Automation of • Risk Prediction


Everything • Data Integration
• Wide Range of • Treatment Planning
Applications • Remote Monitoring
• Scope of • Health Care
Problem Statement
• Ischemic disease (Blood Flow Blockage) is the global leading cause of death, making
early detection crucial in mitigating its impact.
• In recent years, ML-based model has exhibited promising results in creating accurate
and efficient AI models for cardiac disorders.
• This study examines existing Algorithm prediction systems research using ML-based
approaches.
• We trained five machine learning algorithms on this data, including KNN,
SVM ,Neural Network
• The best results came from the Decision Tree algorithm, which achieved 98%
accuracy, by taking this disadvantage and converted to advantage and make further.
Objectives
 Use a machine learning model to predict future possibility
of heart disease
 Determine significant risk factors based on medical
dataset which may lead to heart disease
 Reduce the cost of medical tests
 Provides new approach to concealed patterns in the data.
 Develop a model which can discover and extract hidden
knowledge associated with diseases from a historical heart
data set
Proposed Methodology
We had selected 3 methodologies for best prediction of heart disease i.e., DT, KNN &
RF
DT builds
classification
model in the
form of tree
structure
RF
on- y b
a n m ul ui l ds
N is & la z ti
de c i p l e a
KN etric rithm s
m
para ing alg
o and ion tree
m
l ea r
n toge erge
t he r

Algorithms
KNN Algorithm
The K-NN working can be explained on the basis
of the below algorithm:
Step-1: Select the number K of the neighbors.

Step-2: Calculate the Euclidean distance of K


number of neighbors.

Step-3: Take the K nearest neighbors as per the


calculated Euclidean distance.

Step-4: Among these k neighbors, count the


number of the data points in each category.

Step-5: Assign the new data points to that category


for which the number of the neighbor is maximum.
SVM Algorithm
The logic behind the decision tree can be easily understood because it shows a tree-like
structure .
Step-1: Begin the tree with the root node, says Age it contain
complete dataset.

Step-2: Find the best attribute in the dataset using Attribute


Selection Measure.

Step-3: Divide the Age into subsets that contains possible values
for the best attributes.

Step-4: Generate the decision tree node, which contains the best
attribute.

Step-5: Recursively make new decision trees using the subsets


of the dataset created in step -3.
Neural Network Algorithm
Step-1: Select random K data points from the
training set

Step-2: Build the decision trees associated with the


selected data points (Subsets).

Step-3: Choose the number N for decision trees


that you want to build.

Step-4: Repeat Step 1 & 2.

Step-5: For new data points, find the predictions of


each decision tree, and assign the new data points
to the category that wins the majority votes.
Requirements
Software Requirements Hardware Requirements

 Software: Any
preferred IDE, Jupyter,  Hard Disk Drive: 512
Google Collab. GB
 Programming  Processor: i5 and above
Language: Python  RAM: 4 GB (8 GB
 Operating System: preferred)
Windows, Linux,
MacOS.
Modules

Data Feature
Extraction
Collection Prediction

Data
Classification
Preprocessing
Modules Description
Data Collection:This part collects important information from different places about
patients, like their health records, personal details, and test results such as blood pressure
and cholesterol levels, to understand their overall heart health.

Data Preprocessing: This file contains all the pre-processing functions needed to process
all input documents and texts. First we read the train, test and validation data files then
performed some preprocessing. There are some exploratory data analysis is performed like
response variable distribution and data quality checks like null or missing values etc.

Feature Extraction: Extracts relevant features from data sources, such as heart rate
variability (HRV) from ECG signals.

Classification: We tried different ways to predict heart disease and picking the best ones.
Then, we adjusted these methods to predict heart disease and checked which features were
most important. Finally, we looked at how well the models worked with different types of
System Design
Implementation
Fig: Future Selection using Seaborn Fig: Data
Visualization plot
Fig: Accuracy Result
Result
Conclusion
Our project used five
algorithms to predict heart
disease. After refining them,
Decision Tree had the best
accuracy at 97%, better than
before. This improvement
shows Decision Tree is
promising for early detection.
Even though the base paper
had 98% for Decision Tree, our
References
 A. Srivastava and A. k. Singh, "Heart disease prediction using machine
learning", Proc. 2nd Int. Conf. Advance Compute. Innov. Technol. Eng.
(ICACITE), pp. 2633-2635, Apr. 2022.
 Katarya, Rahul, and Polipireddy Srinivas. "Predicting heart disease at early
stages using machine learning: a survey." 2020 International Conference on
Electronics and Sustainable Communication Systems (ICESC). IEEE, 2020.
 Fahd Saleh Alotaibi, "Implementation of Machine Learning Model to predict
Heart Failure Disease," International Journal of Advanced Computer Science
and Applications (IJACSA), vol. 10, no.6, pp.261- 268, 2019.
 (Sep. 2022). Aortic Stenosis Overview. [Online].Available: https://www
Thank You

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy