0% found this document useful (0 votes)
56 views19 pages

Internship Presentation

The internship project involved predicting heart disease using logistic regression. The objectives were to develop a machine learning model to predict heart disease risk factors based on a medical dataset. The student interned at iGeeks technologies in Bengaluru from August 22nd to September 21st 2022. They collected and preprocessed data, checked for missing values, split the data into training and test sets, trained a logistic regression model, evaluated the model's accuracy at 81.9-85%, and built a predictive system to determine if a patient has a healthy or defective heart.

Uploaded by

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

Internship Presentation

The internship project involved predicting heart disease using logistic regression. The objectives were to develop a machine learning model to predict heart disease risk factors based on a medical dataset. The student interned at iGeeks technologies in Bengaluru from August 22nd to September 21st 2022. They collected and preprocessed data, checked for missing values, split the data into training and test sets, trained a logistic regression model, evaluated the model's accuracy at 81.9-85%, and built a predictive system to determine if a patient has a healthy or defective heart.

Uploaded by

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

National Education Society JNN College of Engineering

JNN College of Engineering


Sawalanga Road, Navule, Shivamogga -277204
(Accredited by NBA, NAAC ’B’ and Certified by UGC 2f and 12B)

Department of Electronics and Communication Engineering

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

2 Domain of the work undertaken

3 Company Profile

4 Objectives

5 Theoretical details

6 Design and implementation

7 Results obtained

8 Applications in current Scenario

9 Learning Outcomes

10 Conclusion

Batch 24 ( JNNCE, Dept. of ECE) Internship Presentation March 6, 2023 2 / 19


Introduction

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.

Batch 24 ( JNNCE, Dept. of ECE) Internship Presentation March 6, 2023 3 / 19


Domain of the work undertaken

Domain of the work undertaken:


Machine learning using python

Figure 1: Machine learning using python.

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.

Batch 24 ( JNNCE, Dept. of ECE) Internship Presentation March 6, 2023 4 / 19


Company Profile

Company Profile:

iGeeks technologies

Figure 2: iGeeks logo.

Incorporated in the year 2009.


Headquarters is in Bangalore, Karnataka.
Services: HR consultancy,Corporate
Training,Software
development,Internship,Software product.

Batch 24 ( JNNCE, Dept. of ECE) Internship Presentation March 6, 2023 5 / 19


Objectives

Objectives:

To develop machine learning model to predict future possibility of heart disease by


implementing Logistic Regression.

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

Batch 24 ( JNNCE, Dept. of ECE) Internship Presentation March 6, 2023 6 / 19


Theoretical details

Theoretical details :

Download and installation of anaconda application.


An introduction for jupyter for IDE.
Undertaken python from basics to intermediate.
Some introduction on python networking and some libraries.
Introduction to Machine learning to implement some algorithms like logestic
regression,random forest etc.
Carrired over a project on implementing python basics and machine learning
concept.This project is also based on this concept.

Batch 24 ( JNNCE, Dept. of ECE) Internship Presentation March 6, 2023 7 / 19


Design and implementation

Design and implementation:

Step 1:Data collection and preprocessing

Figure 3:Data collection and preprocessing

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.

Batch 24 ( JNNCE, Dept. of ECE) Internship Presentation March 6, 2023 8 / 19


Design and implementation

Design and implementation:

Step 2:Checking a null or missing values

Figure 4:Checking a null or missing values


In this step it will check the any missing or null values present in the data set if there is
any missing or null value it will show in output but in our case there is no missing or null
values.

Batch 24 ( JNNCE, Dept. of ECE) Internship Presentation March 6, 2023 9 / 19


Design and implementation

Design and implementation:

Step 3:checking distribution of target variable

Figure 5:Checking distributive target variables


In the next step target the values of defective heart and healthy heart.But in this project 1
means Defective heart and 0 means healthy heart.And this will show the how much
defective and healthy heart in the data set buy using this it help to separate the defective
and healthy heart.

Batch 24 ( JNNCE, Dept. of ECE) Internship Presentation March 6, 2023 10 / 18


Design and implementation

Design and implementation:

Step 4:splitting data into test data and training data

Figure 6:splitting data into test and training data

In this step data is slitting into test and train for accuracy finding.

Batch 24 ( JNNCE, Dept. of ECE) Internship Presentation March 6, 2023 11 / 19


Design and implementation

Design and implementation:

Step 5:Model training

Figure 7: Model training

For finding a accuracy data needs to trained so in previous step sliplitting of test and
data is trained by using logistic regression.

Batch 24 ( JNNCE, Dept. of ECE) Internship Presentation March 6, 2023 12 / 19


Design and implementation

Design and implementation:

Step 6:Model evaluation and accuracy score

Figure 8:Accuracy score

In this step calculating the accuracy score of training data and test data by using logistic
regreession.

Batch 24 ( JNNCE, Dept. of ECE) Internship Presentation March 6, 2023 13 / 19


Design and implementation

Design and implementation:

Step 7:Building a predictive system

Figure 9:Buildin a predictive

After calculating accuracy score predicting the given input data is defective heart or
healthy heart.

Batch 24 ( JNNCE, Dept. of ECE) Internship Presentation March 6, 2023 14 / 19


Results obtained

Results obtained:

Figure 10: Healthy heart

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.

Batch 24 ( JNNCE, Dept. of ECE) Internship Presentation March 6, 2023 15 / 19


Applications in current Scenario

Applications in current Scenario:

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.

Batch 24 ( JNNCE, Dept. of ECE) Internship Presentation March 6, 2023 16 / 19


Learning Outcomes

Learning Outcomes:

Time Management and Adaptability.


Interpersonal Skills.
Understand a wide variety of learning algorithms.

Batch 24 ( JNNCE, Dept. of ECE) Internship Presentation March 6, 2023 17 / 19


Conclusion

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.

Batch 24 ( JNNCE, Dept. of ECE) Internship Presentation March 6, 2023 18 / 19


Conclusion

References:

[1]Chaimaa Boukhatem,Heba Yahia Youssef,”Heart Disease Prediction Using Machine


Learning”,Published in: 2022 Advances in Science and Engineering Technology
International Conferences (ASET).

[2]Archana singh,”Heart Disease Prediction Using Machine Learning Algorithms”,2020


International Conference on Electrical and Electronics Engineering (ICE3).

[3]Vijeta Sharma,”Heart Disease Prediction using Machine Learning Techniques”,2020


2nd International Conference on Advances in Computing, Communication Control and
Networking (ICACCCN).

[4]Aditi Gavhane,”Prediction of Heart Disease Using Machine Learning”, 2018 Second


International Conference on Electronics, Communication and Aerospace Technology
(ICECA).

[5]Reldean Williams,”Heart Disease Prediction using Machine Learning Techniques”,


2021 International Conference on Data Analytics for Business and Industry (ICDABI).

Batch 24 ( JNNCE, Dept. of ECE) Internship Presentation March 6, 2023 19 / 19

You might also like