Multiple Disease Prediction Using Machine Learning
Multiple Disease Prediction Using Machine Learning
https://doi.org/10.22214/ijraset.2023.51411
International Journal for Research in Applied Science & Engineering Technology (IJRASET)
ISSN: 2321-9653; IC Value: 45.98; SJ Impact Factor: 7.538
Volume 11 Issue V May 2023- Available at www.ijraset.com
Abstract: In this digital world most of the people are having lots of health related issues. It is very important to know if we are
suffering from an illness, at an early staged disease rather than discovering it at a later. So on-time analysis of any health related
issues is important for the prevention and treatment of the illness. In this study we have developed a system for the prediction of
multiple diseases like heart, diabetes, Parkinson’s disease. By which patient can predict multiple diseases on single platform.
This disease prediction system uses ML algorithm named as Support vector machine.
Keyword: Machine Learning, Disease prediction, Heart Disease, Diabetes, Parkinson’s disease, Support vector machine.
I. INTRODUCTION
When anyone is currently afflicted with a disease, they must see a doctor, which is both time consuming and expensive. It can also
be difficult for the user if they are out of reach of doctors and hospitals because the illness cannot be detected. So, if the above
procedure can be done using automated software that saves time as well as money, it could be better for the patient, making the
process go more smoothly.
Lots people are always use internet to learn new things, particularly as the use of the internet grows every day. When an issue
occurs, people often want to look solution for it up on the internet. Hospitals and doctors have less access to the internet than the
patients. When a person gets affected with an illness, they do not have many options to find the solutions. As a result, this system
can be beneficial to patient.
Machine Learning is a subset of Artificial Intelligence. Machine learning mainly deals with the study of algorithms which improve
with the use of data. Machine Learning has two phases i.e. Training and Testing. There are two kinds of Machine Learning –
Supervised Learning and Unsupervised Learning. In supervised learning we develop a model with the help of data that is well
labelled.
The intent is to find a satisfactory Machine Learning algorithm which is efficient and accurate for the prediction of disease. In this
paper, the supervised Machine Learning is used for predicting the diseases. The main feature will be Machine Learning in which we
will be using algorithms such as Support vector machine. This will help in early prediction of diseases accurately.
In this system, we are going to predict Diabetes, Heart, and Parkinson’s disease. Later we can add many more diseases. To develop
multiple disease prediction systems we are going to use machine learning algorithms such as SVM. Django and Python pickling is
used to save the behavior of the model. In this prediction system all the parameters which are important for the predicting the
disease are included so it possible to predict the disease efficiently and more accurately.
©IJRASET: All Rights are Reserved | SJ Impact Factor 7.538 | ISRA Journal Impact Factor 7.894 | 130
International Journal for Research in Applied Science & Engineering Technology (IJRASET)
ISSN: 2321-9653; IC Value: 45.98; SJ Impact Factor: 7.538
Volume 11 Issue V May 2023- Available at www.ijraset.com
V. SYSTEM REQUIREMENT
A. Software Requirements
1) Operating System : Windows 11
2) Front End : HTML, CSS, Bootstrap, JavaScript
3) Back End : Python, Django
4) IDE : VS Code
5) Database : MySQL
B. Hardware Requirements
1) Processor : Intel Core I3 or Higher
2) RAM : 4 GB
3) Hard Disk : 1 TB
4) SDD : 128 GB
VI. DESIGN
A. Architecture Design
In the Fig. 6.1, we have experimented on three diseases that are heart, diabetes and Parkinson’s disease. The first step is to get
registered to get access for the dashboard of our platform. After registering successfully user will redirected to the dashboard where
user will able to see the three diseases that are heart disease, diabetes and Parkinson’s disease.
After selecting the disease patient will feed the symptoms that are required for the prediction. In next step we have imported the
dataset for heart disease, diabetes disease and Parkinson’s disease respectively. Once we have imported the dataset then
visualization of each inputted data takes place. After visualization the next step pre-processing of data takes place where we check
outliers, missing values and also scale the dataset then on the updated dataset we split the data into training and testing. Next is on
the training dataset we had applied SVM algorithm. Then we build a pickle file for all the disease. The pickle file is integrated with
the Django framework for the output of the model on the webpage.
©IJRASET: All Rights are Reserved | SJ Impact Factor 7.538 | ISRA Journal Impact Factor 7.894 | 131
International Journal for Research in Applied Science & Engineering Technology (IJRASET)
ISSN: 2321-9653; IC Value: 45.98; SJ Impact Factor: 7.538
Volume 11 Issue V May 2023- Available at www.ijraset.com
VII. IMPLEMENTATION
A. Support Vector Machine Algorithm
The SVM algorithm can be understand by focusing on its primary type SVM Classifier. The idea behind the SVM classifier is to
come up with a hyper plane in N Dimensional space that divides the data points belonging to different classes. However, this hyper-
plane is chosen based on margin as the hyper plane providing maximum margin between the two classes is considered. These
margins are calculated using data point known as support vector. Support vector are the data points that are near to the hyper plane.
1) Step 1: SVM algorithm predicts the classes. One class is identified as 1 and another class as -1.
2) Step 2: In SVM classifier, a loss function known as the hinge loss function is used to find the maximum margin.
3) Step 3: Loss function can also be called a cost function where cost is 0 when no class is incorrectly predicted. If this is not the
case then error is calculated.
4) Step 4: In most of the optimization problems, weights are optimized by calculating the gradients using advanced mathematical
concepts of partial derivatives.
5) Step 5: The gradients are updated only by using the regularization parameter when there is no error in the classification while
the loss function is also used when misclassification happens.
©IJRASET: All Rights are Reserved | SJ Impact Factor 7.538 | ISRA Journal Impact Factor 7.894 | 132
International Journal for Research in Applied Science & Engineering Technology (IJRASET)
ISSN: 2321-9653; IC Value: 45.98; SJ Impact Factor: 7.538
Volume 11 Issue V May 2023- Available at www.ijraset.com
VIII. RESULT
In the system we have used SVM algorithm for the prediction. When the patient will input the values in system according to that it
will show whether the patient has a disease or not. The parameters will show the range of the values needed. The entered value is
not between the ranges or is not valid or is empty it will show the warning sign that add a correct value.
IX. CONCLUSION
Predicting the disease earlier can improve the patients’ health. The aim of this project is to predict multiple diseases based on
symptoms. The project is built in such a way that the system takes the patients symptoms as input and generates an output, which is
nothing but the disease prediction.
This model can help to reduce the cost required in dealing with this disease and also help to improve the recovery process. By using
this system patient can reduce the money required for treatment and can save the time.
©IJRASET: All Rights are Reserved | SJ Impact Factor 7.538 | ISRA Journal Impact Factor 7.894 | 133
International Journal for Research in Applied Science & Engineering Technology (IJRASET)
ISSN: 2321-9653; IC Value: 45.98; SJ Impact Factor: 7.538
Volume 11 Issue V May 2023- Available at www.ijraset.com
X. FUTURE SCOPE
In future we can add more disease in exiting prediction system. We can try to increase the accuracy of prediction of disease to
reduce the morality. Also we can try to make the system more user friendly by adding new features.
XI. ACKNOWLEDGEMENT
We sincere thanks to our college Dhole Patil College of Engineering, Pune for giving us a platform to prepare a project on the topic
"Multiple Disease Prediction using machine Learning". We are sincerely grateful for Prof. Archana Priyadarshni as our guide and
Dr. Aarti Dandawate, Head of Computer Engineering Department, for providing help during our research, which would have
seemed difficult without their motivation, constant support, and valuable suggestion.
REFERENCES
[1] Priyanka Sonar, Prof. K. JayaMalini,” DIABETES PREDICTION USING DIFFERENT MACHINE LEARNING APPROACHES”, 2019 IEEE ,3rd
International Conference on Computing Methodologies and Communication (ICCMC)
[2] Archana Singh ,Rakesh Kumar, “Heart Disease Prediction Using Machine Learning Algorithms”, 2020 IEEE, International Conference on Electrical and
Electronics Engineering (ICE3)
[3] A.Sivasangari, Baddigam Jaya Krishna Reddy,Annamareddy Kiran, P.Ajitha,” Diagnosis of Liver Disease using Machine Learning Models” 2020 Fourth
International Conference on I-SMAC (IoT in Social, Mobile, Analytics and Cloud) (I-SMAC)
[4] A. K. Dwivedi, “Performance evaluation of different machine learning techniques for prediction of heart disease,” Neural Computing and Applications, vol. 29,
no. 10, pp. 685–693, 2018.
[5] K. Polaraju, D. Durga Prasad, and M. Tech Scholar, “Prediction of Heart Disease using Multiple Linear Regression Model,” International Journal of
Engineering Development and Research, vol. 5, no. 4, pp. 2321–9939, 2017. [Online]. Available: www.ijedr.org
[6] S. Pouriyeh, S. Vahid, G. Sannino, G. De Pietro, H. Arabnia, and J. Gutierrez, “A comprehensive investigation and comparison of machine learning techniques
in the domain of heart disease,” in 2017 IEEE Symposium on Computers and Communications (ISCC), 2017, pp. 204–207.
[7] Khurana, Sarthak . , Jain, Atishay ., Kataria ,Shikhar. ,Bhasin ,Kunal . , Arora ,Sunny . ,& Gupta , Dr.Akhilesh . Das. (2019). Disease Prediction
System.International Research Journal Of Engineering and Technology , 6(5) , 5178-5184.
[8] Kamboj ,Mgha. (2020).Heart Disease Prediction with Machine Learning Approaches.International Journal Of Science and Research , 9(7) , 1454-1458.
[9] Ware,Miss.Sangya . , Rakesh,Mrs.Shanu. K.,&Choudhary,Mr.Bharat . (2020). Heart Attack Prediction By Using Machine Learning Techniques. International
Journal Of Recent Technology and Engineering , 8(5), 1577-1580.
[10] Md. Nowshad R. Chowdhury, Ezaz Ahmed, Md. Abu Dayan Siddik, Akhlak Uz Zaman, “Heart Disease Prognosis Using Machine Learning Classification
Techniques”, 2021 6th International Conference for Convergence in Technology (I2CT) https://ieeexplore.ieee.org/document/9418181
©IJRASET: All Rights are Reserved | SJ Impact Factor 7.538 | ISRA Journal Impact Factor 7.894 | 134