SlideShare ist ein Scribd-Unternehmen logo
1 von 4
Downloaden Sie, um offline zu lesen
ISSN (online) 2583-455X
BOHR International Journal of Computer Science
2022, Vol. 2, No. 1, pp. 58–61
https://doi.org/10.54646/bijcs.011
www.bohrpub.com
Disease Prediction Using Machine Learning
G. Vasu Sena, K. Rajinikanth, Mohammed Khaja Faizan∗ and D. Rohit Rajan
Student, Computer Science and Engineering, Gokaraju Rangaraju Institute of Engineering and Technology
∗Corresponding author: fabulousfaizan1234@gmail.com
Abstract. Predicting disease at an early stage becomes critical, and the most difficult challenge is to predict it
correctly along with the sickness. The prediction happens based on the symptoms of an individual. The model
presented can work like a digital doctor for disease prediction, which helps to timely diagnose the disease and
can be efficient for the person to take immediate measures. The model is much more accurate in the prediction
of potential ailments. The work was tested with four machine learning algorithms and got the best accuracy with
Random Forest.
Keywords: Machine Learning, Random Forest, Disease Prediction, Naïve Bayes.
INTRODUCTION
The main goal of our project is to provide the disease
name by taking the symptoms from the user or patients.
Nowadays everything is available on the internet, so we
thought of predicting the disease based on the symptoms
that are given by the customer online. It is an interactive
system that takes symptoms from the customer. The cus-
tomer has to provide a minimum of 2 symptoms that they
are suffering from.
The system responds effectively graphical user interface
(GUI) to make it look like or feels like it is a live interac-
tion. You can create this type of disease prediction using
machine learning algorithms as well as artificial algorithms
to enquire, identify, and respond to the custumer.
Random Forest Algorithm
1. Random forest selects k number of records randomly
from data having m records.
2. A separate decision tree is created for each sample.
3. Output is produced from every decision tree.
4. The result is based on averaging for classification and
regression. Random forest is considered one of the
effective algorithms used in classification.
Decision Tree Algorithm
Decision trees are commonly employed for classification.
A decision tree is a classifier with a tree structure in
which features are represented by internal nodes and the
branches of the tree represent decision rules. The decision
tree has two nodes. The judgment or test is made based on
the dataset’s properties.
Naïve Bayes Algorithm
The algorithm that is used in the classification of binary
and multiclass is the Naïve Bayes algorithm. The Naïve
Bayes algorithm is very simple and easy to under-
stand, and the Naïve Bayes algorithm provides good
output for a wide range of output P (class1|data1) = (P
(data1|class1) × P (class1)) / P (data1). With the help of the
Naïve Bayes algorithm, we can calculate the probability of
a piece of data belonging to a given class.
K-Nearest Neighbour (KNN)
A pattern has been found to link the data and results,
which helps in improving the recognition with each iter-
ation. It involves the following steps:
1. We need to load the required data.
2. We need to calculate the distance between points,
which is called the Euclidean distance.
3. We have top k top distances.
Python was chosen for a variety of reasons. It is depen-
dent on your perspective and background. It is made
for programmers. One of the most well-known program-
ming languages is Python. Python is one of the easiest
58
Disease Prediction Using Machine Learning 59
Figure 1. Work flow.
programming languages to learn. It is quite simple, and
we can use the grammar language in it as syntax. Python
is one of the high-level languages, which has an inbuilt
garbage collector that is used to free up the memory from
the elements that are not used in the code.
Bits and Pieces together
This approach can utilize the already done work by uti-
lizing it as a starting point. All the information from
accomplished work can be combined.
Equations
The equations should be inserted in an editable format
from the equation editor.
f (x) = a0 +
∞
∑
n=1

bncos
nπx
s
+ cnsin
nπx
s

PROPOSED SYSTEM
In this model, we (GUI) take the symptoms from the user
and predict the disease he is suffering from. The interface
responds immediately in a fraction of a time with accurate
accuracy.
• The user has to fill in the details like his name.
• The user has to enter the symptoms of suffering, at
least 2 symptoms.
• The system will store the data like his name and the
disease he is suffering from so that treating him the
next time will be easy and fast to cure him.
METHODOLOGY
A methodology is a representation of a system’s structure,
behavior, and other features. A system architecture is made
up of system components and subsystems that interact to
form the total. Individuals use an architecture diagram
to abstract the overall structure of a software system
and define constraints, linkages, and boundaries between
components. The methodology of the work is shown in
Figure 1.
Python has many applications. Some of them are the
following:
• Web Development
Many web development projects use Python because
Python has introduced a lot of frameworks that make
work easier, simpler, and more attractive.
• Data Science
Data science itself involves so many stages like data
mining, data sorting, data processing, etc. So, Python
provides inbuilt functions that make work easier and
simpler to work with.
RESULTS
This dataset was acquired from a Kaggle reference. Here, in
the dataset, we have 5,000 rows of data that help in training
models very efficiently (shown in Figure 2).
The testing data has nearly 45 rows that help in calculat-
ing accuracy (shown in Figure 3).
Figure 4 shows the interface of the disease prediction
scenario, and Figure 5 shows the final result achieved after
providing symptoms in the interface.
The work is being done with four machine learning
algorithms, i.e., decision trees, random forest, KNN, and
60 G. Vasu Sena et al.
Figure 2. Training set.
Figure 3. Test set.
Figure 4. Interface for prediction of disease.
Disease Prediction Using Machine Learning 61
Figure 5. Final result.
Figure 6. Comparison with different machine learning models.
Naïve Bayes. The best result was achieved with a random
forest algorithm. The comparison of all classifiers is shown
in Figure 6.
CONCLUSION
After completing the work, we can conclude that the ran-
dom forest predicts the disease with high accuracy, and
after the random forest, it is the decision tree that gives
one of the best accuracies. We have created a system that
can decrease the rush at hospitals and medical areas, and
it also helps in reducing the workload on the medical
staff. As a result, our system benefits both patients and
the medical field. By building such types of systems, we
can save time and money spent by the patients to undergo
tests or scanning to know what they are suffering from.
On average, our system achieved an accuracy of 93% in
editing diseases with the symptoms given by the user with
the random forest algorithm. In creating this system, we
also added a way to store the data entered by the user in
the database, which can be used in the future to help in
creating a better version of such a system.
REFERENCES
[1] Mohapatra, H. (2015). HCR (English) using neural network. Interna-
tional journal of advance research and innovative ideas in education,
1(4), 379385.
[2] Mohapatra, H., and Rath, A. K. (2019). Detection and avoidance of
water loss through municipality taps in India by using smart taps and
ICT. IET Wireless sensor systems, 9(6), 447–457.
[3] Mohapatra, H., and Rath, A. K. (2019). Fault tolerance in WSN
through PE-LEACH protocol. IET wireless sensor systems, 9(6),
358–365.
[4] Mohapatra, H., Debnath, S., and Rath, A. K. (2019). Energy man-
agement in wireless sensor network through EB-LEACH (No. 1192).
Easy Chair.
[5] Nirgude, V., Mahapatra, H., and Shivarkar, S. (2017). Face recognition
system using principal component analysis  linear discriminant
analysis method simultaneously with 3d morphable model and neu-
ral network BPNN method. Global journal of advanced engineering
technologies and sciences, 4(1), 1–6.

Weitere ähnliche Inhalte

Ähnlich wie Disease Prediction Using Machine Learning

IRJET- GDPS - General Disease Prediction System
IRJET- GDPS - General Disease Prediction SystemIRJET- GDPS - General Disease Prediction System
IRJET- GDPS - General Disease Prediction SystemIRJET Journal
 
PARKINSON’S DISEASE DETECTION USING MACHINE LEARNING
PARKINSON’S DISEASE DETECTION USING MACHINE LEARNINGPARKINSON’S DISEASE DETECTION USING MACHINE LEARNING
PARKINSON’S DISEASE DETECTION USING MACHINE LEARNINGIRJET Journal
 
IRJET- Factoid Question and Answering System
IRJET-  	  Factoid Question and Answering SystemIRJET-  	  Factoid Question and Answering System
IRJET- Factoid Question and Answering SystemIRJET Journal
 
Diabetes Prediction using Machine Learning Algorithms
Diabetes Prediction using Machine Learning AlgorithmsDiabetes Prediction using Machine Learning Algorithms
Diabetes Prediction using Machine Learning AlgorithmsIRJET Journal
 
Research on Multidimensional Expert System Based on Facial Expression And Phy...
Research on Multidimensional Expert System Based on Facial Expression And Phy...Research on Multidimensional Expert System Based on Facial Expression And Phy...
Research on Multidimensional Expert System Based on Facial Expression And Phy...IJRESJOURNAL
 
IRJET- Result on the Application for Multiple Disease Prediction from Symptom...
IRJET- Result on the Application for Multiple Disease Prediction from Symptom...IRJET- Result on the Application for Multiple Disease Prediction from Symptom...
IRJET- Result on the Application for Multiple Disease Prediction from Symptom...IRJET Journal
 
IRJET- Hybrid Architecture of Heart Disease Prediction System using Genetic N...
IRJET- Hybrid Architecture of Heart Disease Prediction System using Genetic N...IRJET- Hybrid Architecture of Heart Disease Prediction System using Genetic N...
IRJET- Hybrid Architecture of Heart Disease Prediction System using Genetic N...IRJET Journal
 
IRJET - Threat Prediction using Speech Analysis
IRJET - Threat Prediction using Speech AnalysisIRJET - Threat Prediction using Speech Analysis
IRJET - Threat Prediction using Speech AnalysisIRJET Journal
 
SEMI SUPERVISED BASED SPATIAL EM FRAMEWORK FOR MICROARRAY ANALYSIS
SEMI SUPERVISED BASED SPATIAL EM FRAMEWORK FOR MICROARRAY ANALYSISSEMI SUPERVISED BASED SPATIAL EM FRAMEWORK FOR MICROARRAY ANALYSIS
SEMI SUPERVISED BASED SPATIAL EM FRAMEWORK FOR MICROARRAY ANALYSISIRJET Journal
 
Effect of Data Size on Feature Set Using Classification in Health Domain
Effect of Data Size on Feature Set Using Classification in Health DomainEffect of Data Size on Feature Set Using Classification in Health Domain
Effect of Data Size on Feature Set Using Classification in Health Domaindbpublications
 
IRJET- Predicting Outcome of Judicial Cases and Analysis using Machine Le...
IRJET-  	  Predicting Outcome of Judicial Cases and Analysis using Machine Le...IRJET-  	  Predicting Outcome of Judicial Cases and Analysis using Machine Le...
IRJET- Predicting Outcome of Judicial Cases and Analysis using Machine Le...IRJET Journal
 
Automatic Selection of Open Source Multimedia Softwares Using Error Back-Prop...
Automatic Selection of Open Source Multimedia Softwares Using Error Back-Prop...Automatic Selection of Open Source Multimedia Softwares Using Error Back-Prop...
Automatic Selection of Open Source Multimedia Softwares Using Error Back-Prop...IJERA Editor
 
An Introduction To Artificial Intelligence And Its Applications In Biomedical...
An Introduction To Artificial Intelligence And Its Applications In Biomedical...An Introduction To Artificial Intelligence And Its Applications In Biomedical...
An Introduction To Artificial Intelligence And Its Applications In Biomedical...Jill Brown
 
MLTDD : USE OF MACHINE LEARNING TECHNIQUES FOR DIAGNOSIS OF THYROID GLAND DIS...
MLTDD : USE OF MACHINE LEARNING TECHNIQUES FOR DIAGNOSIS OF THYROID GLAND DIS...MLTDD : USE OF MACHINE LEARNING TECHNIQUES FOR DIAGNOSIS OF THYROID GLAND DIS...
MLTDD : USE OF MACHINE LEARNING TECHNIQUES FOR DIAGNOSIS OF THYROID GLAND DIS...cscpconf
 
Simplified Knowledge Prediction: Application of Machine Learning in Real Life
Simplified Knowledge Prediction: Application of Machine Learning in Real LifeSimplified Knowledge Prediction: Application of Machine Learning in Real Life
Simplified Knowledge Prediction: Application of Machine Learning in Real LifePeea Bal Chakraborty
 
Utilizing Machine Learning, Detect Chronic Kidney Disease and Suggest A Healt...
Utilizing Machine Learning, Detect Chronic Kidney Disease and Suggest A Healt...Utilizing Machine Learning, Detect Chronic Kidney Disease and Suggest A Healt...
Utilizing Machine Learning, Detect Chronic Kidney Disease and Suggest A Healt...IRJET Journal
 
IRJET- Prediction of Heart Disease using RNN Algorithm
IRJET- Prediction of Heart Disease using RNN AlgorithmIRJET- Prediction of Heart Disease using RNN Algorithm
IRJET- Prediction of Heart Disease using RNN AlgorithmIRJET Journal
 
IRJET- Predicting Heart Disease using Machine Learning Algorithm
IRJET- Predicting Heart Disease using Machine Learning AlgorithmIRJET- Predicting Heart Disease using Machine Learning Algorithm
IRJET- Predicting Heart Disease using Machine Learning AlgorithmIRJET Journal
 
EARLY BLIGHT AND LATE BLIGHT DISEASE DETECTION ON POTATO LEAVES USING CONVOLU...
EARLY BLIGHT AND LATE BLIGHT DISEASE DETECTION ON POTATO LEAVES USING CONVOLU...EARLY BLIGHT AND LATE BLIGHT DISEASE DETECTION ON POTATO LEAVES USING CONVOLU...
EARLY BLIGHT AND LATE BLIGHT DISEASE DETECTION ON POTATO LEAVES USING CONVOLU...IRJET Journal
 
HEALTH PREDICTION ANALYSIS USING DATA MINING
HEALTH PREDICTION ANALYSIS USING DATA  MININGHEALTH PREDICTION ANALYSIS USING DATA  MINING
HEALTH PREDICTION ANALYSIS USING DATA MININGAshish Salve
 

Ähnlich wie Disease Prediction Using Machine Learning (20)

IRJET- GDPS - General Disease Prediction System
IRJET- GDPS - General Disease Prediction SystemIRJET- GDPS - General Disease Prediction System
IRJET- GDPS - General Disease Prediction System
 
PARKINSON’S DISEASE DETECTION USING MACHINE LEARNING
PARKINSON’S DISEASE DETECTION USING MACHINE LEARNINGPARKINSON’S DISEASE DETECTION USING MACHINE LEARNING
PARKINSON’S DISEASE DETECTION USING MACHINE LEARNING
 
IRJET- Factoid Question and Answering System
IRJET-  	  Factoid Question and Answering SystemIRJET-  	  Factoid Question and Answering System
IRJET- Factoid Question and Answering System
 
Diabetes Prediction using Machine Learning Algorithms
Diabetes Prediction using Machine Learning AlgorithmsDiabetes Prediction using Machine Learning Algorithms
Diabetes Prediction using Machine Learning Algorithms
 
Research on Multidimensional Expert System Based on Facial Expression And Phy...
Research on Multidimensional Expert System Based on Facial Expression And Phy...Research on Multidimensional Expert System Based on Facial Expression And Phy...
Research on Multidimensional Expert System Based on Facial Expression And Phy...
 
IRJET- Result on the Application for Multiple Disease Prediction from Symptom...
IRJET- Result on the Application for Multiple Disease Prediction from Symptom...IRJET- Result on the Application for Multiple Disease Prediction from Symptom...
IRJET- Result on the Application for Multiple Disease Prediction from Symptom...
 
IRJET- Hybrid Architecture of Heart Disease Prediction System using Genetic N...
IRJET- Hybrid Architecture of Heart Disease Prediction System using Genetic N...IRJET- Hybrid Architecture of Heart Disease Prediction System using Genetic N...
IRJET- Hybrid Architecture of Heart Disease Prediction System using Genetic N...
 
IRJET - Threat Prediction using Speech Analysis
IRJET - Threat Prediction using Speech AnalysisIRJET - Threat Prediction using Speech Analysis
IRJET - Threat Prediction using Speech Analysis
 
SEMI SUPERVISED BASED SPATIAL EM FRAMEWORK FOR MICROARRAY ANALYSIS
SEMI SUPERVISED BASED SPATIAL EM FRAMEWORK FOR MICROARRAY ANALYSISSEMI SUPERVISED BASED SPATIAL EM FRAMEWORK FOR MICROARRAY ANALYSIS
SEMI SUPERVISED BASED SPATIAL EM FRAMEWORK FOR MICROARRAY ANALYSIS
 
Effect of Data Size on Feature Set Using Classification in Health Domain
Effect of Data Size on Feature Set Using Classification in Health DomainEffect of Data Size on Feature Set Using Classification in Health Domain
Effect of Data Size on Feature Set Using Classification in Health Domain
 
IRJET- Predicting Outcome of Judicial Cases and Analysis using Machine Le...
IRJET-  	  Predicting Outcome of Judicial Cases and Analysis using Machine Le...IRJET-  	  Predicting Outcome of Judicial Cases and Analysis using Machine Le...
IRJET- Predicting Outcome of Judicial Cases and Analysis using Machine Le...
 
Automatic Selection of Open Source Multimedia Softwares Using Error Back-Prop...
Automatic Selection of Open Source Multimedia Softwares Using Error Back-Prop...Automatic Selection of Open Source Multimedia Softwares Using Error Back-Prop...
Automatic Selection of Open Source Multimedia Softwares Using Error Back-Prop...
 
An Introduction To Artificial Intelligence And Its Applications In Biomedical...
An Introduction To Artificial Intelligence And Its Applications In Biomedical...An Introduction To Artificial Intelligence And Its Applications In Biomedical...
An Introduction To Artificial Intelligence And Its Applications In Biomedical...
 
MLTDD : USE OF MACHINE LEARNING TECHNIQUES FOR DIAGNOSIS OF THYROID GLAND DIS...
MLTDD : USE OF MACHINE LEARNING TECHNIQUES FOR DIAGNOSIS OF THYROID GLAND DIS...MLTDD : USE OF MACHINE LEARNING TECHNIQUES FOR DIAGNOSIS OF THYROID GLAND DIS...
MLTDD : USE OF MACHINE LEARNING TECHNIQUES FOR DIAGNOSIS OF THYROID GLAND DIS...
 
Simplified Knowledge Prediction: Application of Machine Learning in Real Life
Simplified Knowledge Prediction: Application of Machine Learning in Real LifeSimplified Knowledge Prediction: Application of Machine Learning in Real Life
Simplified Knowledge Prediction: Application of Machine Learning in Real Life
 
Utilizing Machine Learning, Detect Chronic Kidney Disease and Suggest A Healt...
Utilizing Machine Learning, Detect Chronic Kidney Disease and Suggest A Healt...Utilizing Machine Learning, Detect Chronic Kidney Disease and Suggest A Healt...
Utilizing Machine Learning, Detect Chronic Kidney Disease and Suggest A Healt...
 
IRJET- Prediction of Heart Disease using RNN Algorithm
IRJET- Prediction of Heart Disease using RNN AlgorithmIRJET- Prediction of Heart Disease using RNN Algorithm
IRJET- Prediction of Heart Disease using RNN Algorithm
 
IRJET- Predicting Heart Disease using Machine Learning Algorithm
IRJET- Predicting Heart Disease using Machine Learning AlgorithmIRJET- Predicting Heart Disease using Machine Learning Algorithm
IRJET- Predicting Heart Disease using Machine Learning Algorithm
 
EARLY BLIGHT AND LATE BLIGHT DISEASE DETECTION ON POTATO LEAVES USING CONVOLU...
EARLY BLIGHT AND LATE BLIGHT DISEASE DETECTION ON POTATO LEAVES USING CONVOLU...EARLY BLIGHT AND LATE BLIGHT DISEASE DETECTION ON POTATO LEAVES USING CONVOLU...
EARLY BLIGHT AND LATE BLIGHT DISEASE DETECTION ON POTATO LEAVES USING CONVOLU...
 
HEALTH PREDICTION ANALYSIS USING DATA MINING
HEALTH PREDICTION ANALYSIS USING DATA  MININGHEALTH PREDICTION ANALYSIS USING DATA  MINING
HEALTH PREDICTION ANALYSIS USING DATA MINING
 

Mehr von BOHR International Journal of Computer Science (BIJCS)

Mehr von BOHR International Journal of Computer Science (BIJCS) (8)

Object Detection and Ship Classification Using YOLOv5
Object Detection and Ship Classification Using YOLOv5Object Detection and Ship Classification Using YOLOv5
Object Detection and Ship Classification Using YOLOv5
 
A Comprehensive Study on Online Teaching–Learning (OTL) System and Platforms
A Comprehensive Study on Online Teaching–Learning (OTL) System and PlatformsA Comprehensive Study on Online Teaching–Learning (OTL) System and Platforms
A Comprehensive Study on Online Teaching–Learning (OTL) System and Platforms
 
Proposed Arrangements and Cyber Security Challenges in Nuclear Domain: An Exp...
Proposed Arrangements and Cyber Security Challenges in Nuclear Domain: An Exp...Proposed Arrangements and Cyber Security Challenges in Nuclear Domain: An Exp...
Proposed Arrangements and Cyber Security Challenges in Nuclear Domain: An Exp...
 
Do US Government and Commercial Media Concern Similar Topics? A Text-mining (...
Do US Government and Commercial Media Concern Similar Topics? A Text-mining (...Do US Government and Commercial Media Concern Similar Topics? A Text-mining (...
Do US Government and Commercial Media Concern Similar Topics? A Text-mining (...
 
Weed Detection Using Convolutional Neural Network
Weed Detection Using Convolutional Neural NetworkWeed Detection Using Convolutional Neural Network
Weed Detection Using Convolutional Neural Network
 
Virtualization in Distributed System: A Brief Overview
Virtualization in Distributed System: A Brief OverviewVirtualization in Distributed System: A Brief Overview
Virtualization in Distributed System: A Brief Overview
 
Reframing the Possibilities in Healthcare Using Blue Brain Technology
Reframing the Possibilities in Healthcare Using Blue Brain TechnologyReframing the Possibilities in Healthcare Using Blue Brain Technology
Reframing the Possibilities in Healthcare Using Blue Brain Technology
 
Implementation ofWeb Application for Disease Prediction Using AI
Implementation ofWeb Application for Disease Prediction Using AIImplementation ofWeb Application for Disease Prediction Using AI
Implementation ofWeb Application for Disease Prediction Using AI
 

Kürzlich hochgeladen

Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...roncy bisnoi
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations120cr0395
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSISrknatarajan
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...ranjana rawat
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . pptDineshKumar4165
 
Glass Ceramics: Processing and Properties
Glass Ceramics: Processing and PropertiesGlass Ceramics: Processing and Properties
Glass Ceramics: Processing and PropertiesPrabhanshu Chaturvedi
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...Call Girls in Nagpur High Profile
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordAsst.prof M.Gokilavani
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Bookingdharasingh5698
 
Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01KreezheaRecto
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Christo Ananth
 
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank  Design by Working Stress - IS Method.pdfIntze Overhead Water Tank  Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank Design by Working Stress - IS Method.pdfSuman Jyoti
 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...SUHANI PANDEY
 
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELLPVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELLManishPatel169454
 
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxBSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxfenichawla
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfKamal Acharya
 

Kürzlich hochgeladen (20)

Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSIS
 
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
The Most Attractive Pune Call Girls Manchar 8250192130 Will You Miss This Cha...
 
Thermal Engineering Unit - I & II . ppt
Thermal Engineering  Unit - I & II . pptThermal Engineering  Unit - I & II . ppt
Thermal Engineering Unit - I & II . ppt
 
Glass Ceramics: Processing and Properties
Glass Ceramics: Processing and PropertiesGlass Ceramics: Processing and Properties
Glass Ceramics: Processing and Properties
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
 
NFPA 5000 2024 standard .
NFPA 5000 2024 standard                                  .NFPA 5000 2024 standard                                  .
NFPA 5000 2024 standard .
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
(INDIRA) Call Girl Bhosari Call Now 8617697112 Bhosari Escorts 24x7
 
Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01Double rodded leveling 1 pdf activity 01
Double rodded leveling 1 pdf activity 01
 
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
Call for Papers - Educational Administration: Theory and Practice, E-ISSN: 21...
 
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank  Design by Working Stress - IS Method.pdfIntze Overhead Water Tank  Design by Working Stress - IS Method.pdf
Intze Overhead Water Tank Design by Working Stress - IS Method.pdf
 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
 
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELLPVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
PVC VS. FIBERGLASS (FRP) GRAVITY SEWER - UNI BELL
 
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptxBSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
BSides Seattle 2024 - Stopping Ethan Hunt From Taking Your Data.pptx
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
 
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
 

Disease Prediction Using Machine Learning

  • 1. ISSN (online) 2583-455X BOHR International Journal of Computer Science 2022, Vol. 2, No. 1, pp. 58–61 https://doi.org/10.54646/bijcs.011 www.bohrpub.com Disease Prediction Using Machine Learning G. Vasu Sena, K. Rajinikanth, Mohammed Khaja Faizan∗ and D. Rohit Rajan Student, Computer Science and Engineering, Gokaraju Rangaraju Institute of Engineering and Technology ∗Corresponding author: fabulousfaizan1234@gmail.com Abstract. Predicting disease at an early stage becomes critical, and the most difficult challenge is to predict it correctly along with the sickness. The prediction happens based on the symptoms of an individual. The model presented can work like a digital doctor for disease prediction, which helps to timely diagnose the disease and can be efficient for the person to take immediate measures. The model is much more accurate in the prediction of potential ailments. The work was tested with four machine learning algorithms and got the best accuracy with Random Forest. Keywords: Machine Learning, Random Forest, Disease Prediction, Naïve Bayes. INTRODUCTION The main goal of our project is to provide the disease name by taking the symptoms from the user or patients. Nowadays everything is available on the internet, so we thought of predicting the disease based on the symptoms that are given by the customer online. It is an interactive system that takes symptoms from the customer. The cus- tomer has to provide a minimum of 2 symptoms that they are suffering from. The system responds effectively graphical user interface (GUI) to make it look like or feels like it is a live interac- tion. You can create this type of disease prediction using machine learning algorithms as well as artificial algorithms to enquire, identify, and respond to the custumer. Random Forest Algorithm 1. Random forest selects k number of records randomly from data having m records. 2. A separate decision tree is created for each sample. 3. Output is produced from every decision tree. 4. The result is based on averaging for classification and regression. Random forest is considered one of the effective algorithms used in classification. Decision Tree Algorithm Decision trees are commonly employed for classification. A decision tree is a classifier with a tree structure in which features are represented by internal nodes and the branches of the tree represent decision rules. The decision tree has two nodes. The judgment or test is made based on the dataset’s properties. Naïve Bayes Algorithm The algorithm that is used in the classification of binary and multiclass is the Naïve Bayes algorithm. The Naïve Bayes algorithm is very simple and easy to under- stand, and the Naïve Bayes algorithm provides good output for a wide range of output P (class1|data1) = (P (data1|class1) × P (class1)) / P (data1). With the help of the Naïve Bayes algorithm, we can calculate the probability of a piece of data belonging to a given class. K-Nearest Neighbour (KNN) A pattern has been found to link the data and results, which helps in improving the recognition with each iter- ation. It involves the following steps: 1. We need to load the required data. 2. We need to calculate the distance between points, which is called the Euclidean distance. 3. We have top k top distances. Python was chosen for a variety of reasons. It is depen- dent on your perspective and background. It is made for programmers. One of the most well-known program- ming languages is Python. Python is one of the easiest 58
  • 2. Disease Prediction Using Machine Learning 59 Figure 1. Work flow. programming languages to learn. It is quite simple, and we can use the grammar language in it as syntax. Python is one of the high-level languages, which has an inbuilt garbage collector that is used to free up the memory from the elements that are not used in the code. Bits and Pieces together This approach can utilize the already done work by uti- lizing it as a starting point. All the information from accomplished work can be combined. Equations The equations should be inserted in an editable format from the equation editor. f (x) = a0 + ∞ ∑ n=1 bncos nπx s + cnsin nπx s PROPOSED SYSTEM In this model, we (GUI) take the symptoms from the user and predict the disease he is suffering from. The interface responds immediately in a fraction of a time with accurate accuracy. • The user has to fill in the details like his name. • The user has to enter the symptoms of suffering, at least 2 symptoms. • The system will store the data like his name and the disease he is suffering from so that treating him the next time will be easy and fast to cure him. METHODOLOGY A methodology is a representation of a system’s structure, behavior, and other features. A system architecture is made up of system components and subsystems that interact to form the total. Individuals use an architecture diagram to abstract the overall structure of a software system and define constraints, linkages, and boundaries between components. The methodology of the work is shown in Figure 1. Python has many applications. Some of them are the following: • Web Development Many web development projects use Python because Python has introduced a lot of frameworks that make work easier, simpler, and more attractive. • Data Science Data science itself involves so many stages like data mining, data sorting, data processing, etc. So, Python provides inbuilt functions that make work easier and simpler to work with. RESULTS This dataset was acquired from a Kaggle reference. Here, in the dataset, we have 5,000 rows of data that help in training models very efficiently (shown in Figure 2). The testing data has nearly 45 rows that help in calculat- ing accuracy (shown in Figure 3). Figure 4 shows the interface of the disease prediction scenario, and Figure 5 shows the final result achieved after providing symptoms in the interface. The work is being done with four machine learning algorithms, i.e., decision trees, random forest, KNN, and
  • 3. 60 G. Vasu Sena et al. Figure 2. Training set. Figure 3. Test set. Figure 4. Interface for prediction of disease.
  • 4. Disease Prediction Using Machine Learning 61 Figure 5. Final result. Figure 6. Comparison with different machine learning models. Naïve Bayes. The best result was achieved with a random forest algorithm. The comparison of all classifiers is shown in Figure 6. CONCLUSION After completing the work, we can conclude that the ran- dom forest predicts the disease with high accuracy, and after the random forest, it is the decision tree that gives one of the best accuracies. We have created a system that can decrease the rush at hospitals and medical areas, and it also helps in reducing the workload on the medical staff. As a result, our system benefits both patients and the medical field. By building such types of systems, we can save time and money spent by the patients to undergo tests or scanning to know what they are suffering from. On average, our system achieved an accuracy of 93% in editing diseases with the symptoms given by the user with the random forest algorithm. In creating this system, we also added a way to store the data entered by the user in the database, which can be used in the future to help in creating a better version of such a system. REFERENCES [1] Mohapatra, H. (2015). HCR (English) using neural network. Interna- tional journal of advance research and innovative ideas in education, 1(4), 379385. [2] Mohapatra, H., and Rath, A. K. (2019). Detection and avoidance of water loss through municipality taps in India by using smart taps and ICT. IET Wireless sensor systems, 9(6), 447–457. [3] Mohapatra, H., and Rath, A. K. (2019). Fault tolerance in WSN through PE-LEACH protocol. IET wireless sensor systems, 9(6), 358–365. [4] Mohapatra, H., Debnath, S., and Rath, A. K. (2019). Energy man- agement in wireless sensor network through EB-LEACH (No. 1192). Easy Chair. [5] Nirgude, V., Mahapatra, H., and Shivarkar, S. (2017). Face recognition system using principal component analysis linear discriminant analysis method simultaneously with 3d morphable model and neu- ral network BPNN method. Global journal of advanced engineering technologies and sciences, 4(1), 1–6.