Internship Presentation
Internship Presentation
Internship seminar on
“HEART DISEASE PREDICTION USING LOGISTIC
REGRESSION ”
Carried out at
iGeeks, Bengaluru
during
22/08/2022 - 21/09/2022
Presented by
Suryanarayana M 4JN19EC099
Under the guidance of
Mrs Shwetha B
Assistant Professor, Department of ECE JNN College of Engineering,
Shimoga
Batch 24 ( JNNCE, Dept. of ECE) Internship Presentation March 6, 2023 1 / 19
National Education Society JNN College of Engineering
Contents:
1 Introduction
3 Company Profile
4 Objectives
5 Theoretical details
7 Results obtained
9 Learning Outcomes
10 Conclusion
Introduction:
According to the World Health Organization, every year 12 million deaths occur worldwide due
to Heart Disease. The load of cardiovascular disease is rapidly increasing all over the world from
the past few years. Many researches have been conducted in attempt to pinpoint the most
influential factors of heart disease as well as accurately predict the overall risk. Heart Disease is
even highlighted as a silent killer which leads to the death of the person without obvious
symptoms. The early diagnosis of heart disease plays a vital role in making decisions on lifestyle
changes in high-risk patients and in turn reduce the complications. This project aims to predict
future Heart Disease by analyzing data of patients which classifies whether they have heart
disease or not using machine-learning algorithms.
Machine learning is a type of artificial intelligence (AI) that provides computers with
the ability to learn without being explicitly programmed. Machine learning focuses on the
development of Computer Programs that can change when exposed to new data.
Machine learning is a method of teaching computers to learn from data, without being
explicitly programmed. Python is a popular programming language for machine learning
because it has a large number of powerful libraries and frameworks that make it easy to
implement machine learning algorithms.
To get started with machine learning using Python, you will need to have a basic
understanding of Python programming and some knowledge of mathematical concepts
such as probability, statistics, and linear algebra.
Company Profile:
iGeeks technologies
Objectives:
To determine significant risk factors based on medical dataset which may lead to heart
disease.
To determine the data set taken for prediction based upon the prediction there will
be two data sets test data and trained data upon it will be the values can be predicted
Theoretical details :
In step 1 importing a numpy,pandas and sklearn regression liberaries and after that load
a csv file to pandas data frames by using pandas liberary.
In this step data is slitting into test and train for accuracy finding.
For finding a accuracy data needs to trained so in previous step sliplitting of test and
data is trained by using logistic regression.
In this step calculating the accuracy score of training data and test data by using logistic
regreession.
After calculating accuracy score predicting the given input data is defective heart or
healthy heart.
Results obtained:
At the end of the project,result show that random forest and sklearn performed.Model
build a accuracy of test data and training data is 81.9% and 85%.
This project resolved the feature selection i.e. logestic regression behind the model and
and successfully predicted the given input data is healthy heart or defective heart.
The demand for smart solutions to real-world problems necessitates the need to
develop AI further in order to automate tasks that are tedious to program without AI.
Python programming language is considered the best algorithm to help automate
such tasks, and it offers greater simplicity and consistency than other programming
languages.
Machine Learning is used across many spheres around the world. The healthcare
industry is no exception. Machine Learning can play an essential role in predicting
presence absence of Locomotor disorders, Heart diseases and more. Such information,
if predicted well in advance, can provide important insights to doctors who can then
adapt their diagnosis and treatment per patient basis.
Due to its ability to run on multiple platforms without the need to change,
developers prefer Python, unlike in other programming languages. Python runs across
different platforms, such as Windows, Linux, and macOS, thus requiring little or no
changes. The platforms are fully compatible with the Python programming language,
which means that there is little to no need for a Python expert to explain the
program’s code.
Learning Outcomes:
Conclusion:
The early prognosis of cardiovascular diseases can aid in making decisions on lifestyle
changes in high risk patients and in turn reduce the complications, which can be a great
milestone in the field of medicine.
This project resolved the feature selection i.e. random forest behind the models and
successfully predict the heart disease, with 85% accuracy. The model used was Logistic
Regression. Further for its enhancement, we can train on models and predict the types of
cardiovascular diseases providing recommendations to the users, and also use more
enhanced models.
By using these, computer aided techniques we can predict the patient fast and better
and the cost can be reduced very much. There are a number of medical databases that we
can work on as these Machine learning techniques are better and they can predict
better than a human being which helps the patient as well as the doctors.
References: