0% found this document useful (0 votes)
410 views

Heart Disease Detection Using Machine Learning

This document discusses using machine learning to detect heart disease. It begins with an introduction that explains how Python and machine learning can be used for this task. It then reviews literature on previous research detecting heart disease. The methodology section explains data collection from a public dataset, preprocessing steps like splitting data into training and test sets, and using algorithms like KNN and SVM for classification. Results showed the SVM algorithm achieved the highest accuracy of 86.2% for detecting heart disease. The conclusion states the goal was to accurately predict heart disease and determine the best algorithm for the task.
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)
410 views

Heart Disease Detection Using Machine Learning

This document discusses using machine learning to detect heart disease. It begins with an introduction that explains how Python and machine learning can be used for this task. It then reviews literature on previous research detecting heart disease. The methodology section explains data collection from a public dataset, preprocessing steps like splitting data into training and test sets, and using algorithms like KNN and SVM for classification. Results showed the SVM algorithm achieved the highest accuracy of 86.2% for detecting heart disease. The conclusion states the goal was to accurately predict heart disease and determine the best algorithm for the task.
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/ 12

Heart Disease Detection Using

Machine Learning
Contents
● Introduction
● Literature Review
● Methodology and Analysis
● Figures and Tables
● Conclusion
● References
Introduction
● Python is most powerful programming language having numerous
libraries which is used in this project with machine learning model.
● Machine learning is a subset model of artificial intelligence network in
which uses complex algorithms and deep learning neural networks.
● Cardio vascular disease is a widespread disease in all over a region. This
type of disease may cause due to smoking, high blood pressure, diabetes,
overweight, hyper tension, cholesterol etc.
This disease may occur by various heart problems such as coronary-
artery disease, cardio-vascular, stroke, heart failure and much more.
Python libraries are the pre-requisites for making prediction in which
SKLEARN is basically used in machine learning predictions.
From SKLEARN, we will be able to preprocess the data by splitting
the attributes and labels, test and train data, and also scale the values
in the data to be values between 0 and 1 by importing the library
STANDARDSCALAR.
Literature Review
Name of Refernce - Heart Disease detection using machine learing

Year of Published - 2018

Author - Chithambaram T and Logesh Kannan N

Abstract - Over the past decades, heart disease is common and


dangerous . .disease.

Objective - The main objective of the paper is to get a better accuracy to detect

The heart-disease using algorithm in which the target output counts

That a person having heart disease or not.


Methodology and Analysis
A] Methodology -
i. Data collection-
We have collected data from dataset provider –Kaggle.com. the
dataset which is published by Svetlana Ulianova as in the title of
Cardiovascular Disease dataset, 2019.The dataset collected consists of 70,000
records of patients data carries 11 features and Dataset is the information or a
tool essential to do any kind of research or a project.

ii. Data Preprocessing -


Segregation of target data and feature data as training and test data.
Scaling the values in the data to be values between 0 and 1 in which and scale
all the values before training the Machine Learning models.
B] Machine Learning Algorithm-

i. K-Nearest Neighbor algorithm-


KNN is a supervised classifier that carry-outs a observations from within a test set to
predict classification labels. KNN is one of the classification technique used whenever there is a
classification. It has a few assumptions includes dataset has little noise, labeled and it should
contains relevant features. By applying KNN in large datasets takes long time to process. The
accuracy gained with this algorithm is 63.4%.

ii. Support Vector Machine (SVM)-


SVM is also one of the classification algorithms in machine learning in which better
accuracy can be predicted. In comparison of other algorithms, it is better for predicting accuracy
in an expected way.
In our prediction, predicted highest accuracy is 72.5% using linear SVM kernel.
In our prediction, predicted highest accuracy is 86.2% using Gaussian SVM kernel.
Figures and Tables
Results and Visualization -
Our main goal is to predict the accuracy for future problems that the
disease may cause and which algorithm gives more accuracy that can be made for
the target output counts that a person having Heart disease or not.
The imported dataset can be processed and correlated to each other and
visualize the correlation for each attribute with another attribute to each other by
Heap map shows highest correlation for cholesterol and glucose.
For the above KNN classifier score in the range 1 to 11, the accuracy rate
predicted at 69.8%.If any value fix with the ‘k’ by assuming number of neighbor, it
will reflect the prediction rate nearly 69%-70% because large data is used.
Fig.1.Confusion matrix obtained by SVM

Fig.1.Confusion matrix obtained by Random Forest


Conclusion
Our main goal is to predict the accuracy for future problems that the
disease may cause and which algorithm gives more accuracy that can be
made for the target output counts that a person having Heart disease or
not.
The imported dataset can be processed and correlated to each other and
visualize the correlation foreach attribute with another attribute to each
other by Heap map shows highest correlation for cholesterol and glucose.
And this data and the data from the patients medical history can be used to
detect many diseases in the future.
References
1. Animesh Hazra, Subrata Kumar Mandal, Amit Gupta, Arkomita Mukherjee (2017)
Heart Disease Diagnosis and Prediction Using Machine Learning and Data Mining
Techniques. Advances in Computational Sciences and Technology ISSN 0973-6107
Volume 10, Number 7 (2017) pp. 2137-2159.http://www.republication.

2. Praveen Kumar Reddy , T.Sunil Kumar Reddy, Balakrishnan, Syed Muzamil Basha,
Ravi Kumar Poluru, ,August 2019, Heart Disease Prediction Using Machine
Learning Algorithm, Blue Eyes Intelligence Engineering & Sciences Publication
https:doi.org/10.35940/ijitee.J9340.0881019.com.

3. E.Taylor, P.S.Ezekiel, F.B.Deedam-Okuchaba (2019). A Model to Detect Heart


Disease using Machine Learning Algorithm. International Journal of computer
sciences and engineering E-ISSN:2347-2693 Vol.-7,issue-11,nov
2019https://doi.org/10.26438/ijcse/v7i11.15
Thank you !!!

You might also like