Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 10

Major Project Presentation on- Heart Disease

Prediction Using Machine Learning

 Presented by:
 G.AKHILA-20211A0464
 J.VENKATESH-20211A0477
 M.CHANDRA SHEKAR REDDY-20211A04E2
UNDER THE GUIDANCE OF :
Dr. ASHOK KUMAR SIR
CONTENTS:
 Abstract
 Introduction
 Literature survey
 Project objective
 Block diagram
 References
ABSTRAC

T of Data Sets, compare information that can be used to Predict,
Heart Attack is a term that assigns a large number of medical conditions related to Heart. The key to
Heart diseases to evaluate large scores
Prevent, Manage such as Heart Attacks . Heart disease is mainly because of Stress, family Backgrounds,
high blood pressure, etc …Data analytics is used to incorporate world for its valuable use to
controlling, contravasting and manage a large Data Sets. It can be applied with an much success to
predict, prevent, managing a Cardiovascular Diseases. To solve this we aims to implement the Data
Analytics based On SVM and Genetics Algorithm to diagnosis of heart diseases.
INTRODUCTION
 Its is difficult to identify heart disease because of several contributory risk factors such as
diabetes, high blood pressure, high cholesterol, abnormal pulse rate, and many other
factors.
 Among various life threatening diseases, heart diseases has garnered a great deal of
attention in medical research .
 The diagnosis of heart disease is a challenging task ,which can offer automated prediction
about the heart condition of patient so that further treatment can be made effective.
 The diagnosis of heart disease is usually based on signs,symptoms of the patient.
 The Severity of the disease is classified based on various methods like K-Nearest
Neighbour Algorithm(KNN) ,Decision Trees (DT),Genetic algorithm (GA), and Naive
Bayes(NB).
 The nature of heart disease is complex and hence, the disease must be handled
carefully.Not doing so may affect the heart or cause premature death.
Literature survey
 [1]The health care industry collects huge amounts of health care data which,
unfortunately ,are not “; mined”; to discover hidden information for effective decision
making .Discovery of hidden patterns and relationships often goes unexploited
 [2]Association rules represent a promising technique to improve heart disease
prediction .Unfortunately ,When association are applied on a medical data set ,they
produce an extremely large number of rules .Most of such rules are medically irrelevant
and the time required to find them can be impractical.
 [3]The health care environment is still ‘ information rich’ But ‘knowledge poor’.There
is a wealth of data available within the healthcare systems. However ,there is a lack of
effective analysis tools to discover hidden relationships in data
 [4]Today medical services have come a long way to treat patients with various diseases.
Among the most lethal one is the heart disease problem which cannot be seen with a
naked eye and comes instantly when its limitations are reached. Today diagonising
patients correctly and administering effective treatments have become quite a challenge.
PROJECT OBJECTIVE
 The objective of this research is to develop a heart prediction system, the system can
discover and extract hidden knowledge associated with diseases from heart data set.
 This system aims to exploit machine learning techniques on medical data set to assist in the
prediction of the heart disease.
 Reduce the cost of medical tests.
 To help avoid human biases.
BLOCK DIAGRAM

UC Irvine machine Predicted output


learning repository

Categorized Exploratory Model


ML Algorithm Evaluation &
datasets data analysis
Accuracy score
CODE
#Required libraries
import numpy as np
import pandas as pd
from sklearn.model_selection import train_test_split
from sklearn.ensemble import RandomForestClassifier
from sklearn.metrics import accuracy_score

#Dataset loading
url = "https://archive.ics.uci.edu/ml/machine-learning-databases/heart-disease/processed.cleveland.data"
names = ['age', 'sex', 'cp', 'trestbps', 'chol', 'fbs', 'restecg', 'thalach', 'exang', 'oldpeak', 'slope', 'ca', 'thal', 'target']
data = pd.read_csv(url, names=names)

#Data split
X = data.drop('target', axis=1)
y = data['target']
# Splitting the data into training and testing sets
X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.2, random_state=42)

#Model
model = RandomForestClassifier()
model.fit(X_train, y_train)
y_pred = model.predict(X_test)
accuracy = accuracy_score(y_test, y_pred) #Model Evaluation
print(f"Accuracy: {accuracy * 100:.2f}%")
REFERENCES
 [1]Effective heart disease prediction using hybrid machine learning techniques :-Senthil
Kumar Mohan, Chandrasagar Thirumalai, and Gautam Srivasatava –(19 JUNE 2019)
 [2]Prediction of heart disease using machine learning :-Adit Gavhane ,Gouthami Kokkula,
Isha Pandya, Prof. Kailas Devadkar (Phd)-2018
 [3]Prediction of Heart Disease using Machine learning Algorithms:-
Mr.Santhanakrishna.J,Dr.Geetha.S-2019

You might also like