You are on page 1of 36

VISVESVARAYA TECHNOLOGICAL UNIVERSITY

BELGAUM -590014

Project Report On
CHRONIC KIDNEY DISEASE AND STAGES
PREDICTION WITH RECOMMENDATION OF
SUITABLE DIET PLAN
Submitted by:
AKSHATH H KANDLUR (1DT19CS012)
ANKITH KUMAR SINGH (1DT19CS018)
BANUPRIYA B NAIK (1DT19CS025)

Under the Guidance of:


Ms.K. Deepa Shree
(Asst. Professor, Dept. of CSE)

DAYANANDA SAGAR ACADEMY OF TECHNOLOGY AND MANAGEMENT


Opp. Art of living, Udayapura, Kanakapura Road, Bangalore- 560082
Affiliated to Visvesvaraya Technological University, Belagavi and Approved by AICTE, New
Delhi
CSE, ISE, ECE, EEE, ME, CE Branches Accredited by NBA, New Delhi
NAAC Accredited with A+ Grade

Department of Computer Science and Engineering


Academic Year: 2022-23
DAYANANDA SAGAR ACADEMY OF TECHNOLOGY AND
MANAGEMENT,
Kanakapura Road, Udayapura, Bangalore -560 082

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING

CERTIFICATE

This is to certify that the Project “CHRONIC KIDNEY DISEASE AND STAGES
PREDICTION WITH RECOMMENDATION OF SUITABLE DIET PLAN ”
has been successfully carried out by AKSHATH H KANDLUR (1DT19CS012),
ANKITH KUMAR SINGH (1DT19CS018), BANUPRIYA B NAIK (1DT19CS025)
a bonafide students of DAYANANDA SAGAR ACADEMY OF TECHNOLOGY
& MANAGEMENT in partial fulfilment of the requirements for the award of degree
in
Bachelor of Engineering in Computer Science and Engineering of Visvesvaraya
Technological University, Belgaum during academic year 2022-2023. It is certified that
all corrections/suggestions indicated have been incorporated in the report deposited in the
departmental library. The project report has been approved as it satisfies the academic
requirements in respect of project work for the said degree.

Ms. K. Deepa Shree Dr. Kavitha C


(Asst. Professor, Dept. of CSE ) ( H.O.D Dept of CSE)

Examiners:
1.
2.
ABSTRACT

Chronic kidney disease (CKD) is a type of kidney disease in which there is gradual loss of
kidney function over a period of months or years. Prediction of this disease is one of the most
important problems in medical fields. So automated tool which will use machine learning
techniques to determine the patient’s kidney condition that will be helpful to the doctors in
prediction of chronic kidney disease and hence better treatment. The proposed system extracts
the features which are responsible for CKD , then machine learning process can automate the
classification of the chronic kidney disease in different stages according to its severity. The
objective is to use machine learning algorithm and suggest suitable diet plan for CKD patient
using classification algorithm on medical test records. Diet recommendation for patient will be
given according to potassium zone which is calculated using blood potassium level to slow
down the progression of CKD.
ACKNOWLEDGEMENT
It gives us immense pleasure to present before you our project titled “CHRONIC
KIDNEY DISEASE AND STAGES PREDICTION WITH RECOMMENDATION
OF SUITABLE DIET”. The joy and satisfaction that accompany the successful
completion of any task would be incomplete without the mention of those who made it
possible. We are glad to express our gratitude towards our prestigious institution
DAYANANDA SAGAR ACADEMY OF TECHNOLOGY AND MANAGEMENT
for providing us with utmost knowledge, encouragement and the maximum facilities in
undertaking this project.
We wish to express a sincere thanks to our respected principal Dr. Ravi Shankar M for
all their support.
We express our deepest gratitude and special thanks to Dr. Kavitha C, H.O.D, Dept. Of
Computer Science Engineering, for all her guidance and encouragement.
We sincerely acknowledge the guidance and constant encouragement of our project
guide, Ms.K. Deepa Shree, Asst. Professor, Dept. of CSE, DSATM and also our project
coordinator Dr. Saravana Kumar R, Associate Professor, Dept. of CSE, DSATM.

AKSHATH H KANDLUR (1DT19CS012)


ANKITH KUMAR SINGH(1DT19CS018)
BANUPRIYA B NAIK (1DT19CS025)
TABLE OF CONTENTS

CHAPTER NO. DESCRIPTION PAGE NO.


1 INTRODUCTION 1

1.1 Goal 2

1.2 Objective 2

1.3 Problem Statement 2


1.4 Methodology 3
1.5 Dataset 9

2 LITERATURE SURVEY 11
2.1 AN Empirical Evaluation 11

2.2 Data Mining Classification Techniques 11

2.3 A Deep Learning-Based System 12

2.4 Predictive Analysis 12


2.5 Data Mining Classification Techniques 12
2.6 Analysis of CKD Dataset 13
2.7 Comparative Study of Classifier for CKD 18
Using Naïve Bayes ,KNN and Random Forest

3 FUNCTIONAL REQUIREMENTS 20
3.1 Interface Requirements 20

3.2 Non Functional Requirements 21

3.3 Technologies Used 21

3.4 System Requirement 22


3.4 Project Structure 22

REFERENCE 29
Chronic Kidney Diseases Prediction and Recommendation of Suitable Diet
Plan

Chapter-1
INTRODUCTION

The health-care industry is producing copious amounts of data which need to be mined in
order to discover hidden information for effective prediction, diagnosis and decision
making. Currently, kidney disease has been a crucial problem. It is one of the leading
causes of death in India. Chronic kidney disease (CKD), is delineated by the gradual loss
of kidney function. Kidneys filter wastes and excess fluids from your blood, which are
then excreted in your urine. If this disease gets worse, wastes can accumulate in the blood
and can cause difficulties like high blood pressure, anemia, weakening of bones, poor
nutritional health and nerve damage. Also, kidney disease increases the risk of having
heart and blood vessel disease.

The harmful outcomes can be avoided and prevented by early detections, according to
researchers conducted. Awareness of CKD among patients is gradually increasing, but
still low. The Global Burden of Disease (GBD) 2015 ranks chronic kidney disease as the
eighth leading cause of death in India. All over the world, the highest count of patient
with diabetes is in India with the projection figure of 57.2 million cases in 2025and also
the count of patient with hypertension is expected to double from 2000 to 2025, hence
these will make India the reservoir of CKD [1].The burden of CKD management thus
falls largely on primary care providers (PCPs). Hence an accurate, convenient, and
automated CKD detection method is important for clinical practice Undiagnosed CKD
can be identified, predicting the likelihood that patients will develop chronic disease, and
present patient-specific prevention interventions with Machine learning techniques.
Accurate predictive models can be created by health systems, which lower risks and
eventually improve standards.

The data mining techniques of classification, clustering and association helps in extracting
knowledge from large amount of data. Machine learning and data mining techniques
together have been the prime factors in determining and diagnosis of various critical
diseases. Management of diet depends on the current Glomerular Filtration Rate (GFR
rate) and the severity of the disease. We will be classifying the disease in five stages-
Stage 1, stage 2 and stage 3, Stage 4, Stage 5. Stage 1 is safe and requires a lenient diet
plan to be followed. Whereas stage 2, a potential CKD patient will be given a restricted
and strict diet. Keeping the balance of minerals, electrolytes,

Dept. of CSE, DSATM 2022-23 1


Chronic Kidney Diseases Prediction and Recommendation of Suitable Diet
Plan

To build a real time is gradual loss of kidney function over a period of months or years.
and liquids inside body will be difficult for stage 3 to 5 patient. Therefore, they have to be
under proper dietary guidance.

An important diet for a renal improvement and prevent further harm is essential, which
also helps in keeping balance of electrolytes and water in the body. Other than stages of
severity, many other factors will contribute in shaping the diet. The blood potassium level,
urea level, calcium level, phosphorous level and so on. In this study, to identify suitable
diet plan for a CKD patient the main focus will be on blood potassium level.

1.1 GOAL
 Application useful for the hospitals where system is an automation for CKD
prediction.

• Its stages prediction and recommending suitable diet plan for the patients using ML

algorithms.

1.2 OBJECTIVE
The objective of our work is to:

• To build an automation for chronic kidney disease prediction using ML


techniques.

• To build an system to predict kidney disease stages using GFR method.

• To build a system which recommends suitable dietary plan for the


patients.

• To build an system as real time application useful for hospitals.

• System is a smart decision maker.

1.3 PROBLEM STATEMENT


• Chronic kidney disease (CKD) has become a global health issue and is an area of
concern.

• Chronic kidney disease (CKD) is a type of kidney disease in which there is gradual
loss of kidney function over a period of months or years.

• Prediction of this disease is one of the most important problems in medical fields.

Dept. of CSE, DSATM 2022-23 2


Chronic Kidney Diseases Prediction and Recommendation of Suitable Diet
Plan

1.4 METHODOLOGY

1.4.1 CLASSIFICATION RULES


Basically classification is used to classify each item in a set of data into one of the
predefined set of classes or groups.

“Bayesian Algorithm or KNN" is used to predict CKD. GFR used for Stage Prediction.

Fig.1.4.1 Classification Rules

Step 1 : Raw data Collected

This is the first step in the prediction process where we collect medical data. Previous
years patients data collected for processing. More than 5000 + data-sets used for
processing. Training data-sets will contain patient details and also parameters that are
required for prediction.

Dept. of CSE, DSATM 2022-23 3


Chronic Kidney Diseases Prediction and Recommendation of Suitable Diet
Plan

Step 2: Extract and Segment Data (Data Preprocessing)

Here medical data analyzed and only relevant data extracted. The data required for
processing extracted and segmented according to the requirement. Required data
extraction is done because entire training data not required for processing and if we input
all data, it requires too much of time for processing, so data processing is done.

Step 3: Train Data

Once required data extracted and segmented, we need to train the data, train means
converting the data into the required format such as numerical values or binary or string
etc.. conversion depends on the algorithm type.

Step 4: ML Technique for Disease Prediction

Machine Learning

Machine learning is a process of studying a system based on data. Machine learning is a


part of data science where we use machine learning algorithms to process data.

Supervised Learning Technique

Its a predictive model used for the tasks where it involves prediction of one value using
other values in the data-set. Supervised learning will have predefined labels. It classifies
an object based on the parameters to one of the predefined set of labels.

We have many algorithms to build model in supervised learning such as KNN, Naive
bayes, Decision Tree, ID3, Random Forest, SVM , Regression techniques etc….
Depending of the requirement, labels, parameters and data-set we select the appropriate
algorithm for predictions. Algorithm is used to build a model that makes predictions based
on evidence in the presence of uncertainty.

In this project For prediction we make use to “Bayesian Classifier or KNN algorithm”
which is an efficient and works fine for all different sets of parameters. It also generates
accurate results.

Dept. of CSE, DSATM 2022-23 4


Chronic Kidney Diseases Prediction and Recommendation of Suitable Diet
Plan

Fig 1.4.2 Proposed Model

Step 5: CKD Prediction

Doctor can access to the core module where system predicts the CKD and Stages for the
new patients based on the inputted parameters. Here system uses “KNN” algorithm or
“Naive Bayes” for Disease prediction.

Step 6: Results

Results generated by the algorithm is checked with the accuracy using confusion matrix
method. Here we validate the results generated by the algorithm “bayesian classifier” and
“KNN algorithm”.

Step 7: Visual Representation

Final outputs represented on GUI. When users gets login to the application system predicts
the disease and displays on a GUI.

Dept. of CSE, DSATM 2022-23 5


Chronic Kidney Diseases Prediction and Recommendation of Suitable Diet
Plan

1.4.2 ALGORITHM USED


After the pre-processing of data acquired, the following algorithms for classification of
CKD predictions and stages recommendation:
• Naïve Bayes Algorithm
• GFR (Glomerular filtration rate) Algorithm

Naïve Bayes Algorithm Steps

Step 1: Scan the dataset (storage servers)


Retrieval of required data for mining from the servers such as database, cloud, excel sheet
etc.

Step 2: Calculate the probability of each attribute value. [n, n_c, m, p]

Here for each attribute we calculate the probability of occurrence using the following
formula. (mentioned in the next step). For each class(disease) we should apply the
formulae.

Step 3: Apply the formulae

P(attributevalue(ai)/subjectvaluevj)=(n_c + mp)/(n+m) Where:

n = the number of training examples for which v =

vj nc = number of examples for which v = vj and a = ai

p = a priori estimate for P(aijvj) m = the equivalent

sample size

Step 4: Multiply the probabilities by p

For each class, here we multiple the results of each attribute with p and final results are
used for classification.

Step 5: Compare the values and classify the attribute values to one of the predefined set of
class.

Dept. of CSE, DSATM 2022-23 6


Chronic Kidney Diseases Prediction and Recommendation of Suitable Diet
Plan

Sample Example

Attributes (Parameters) – AGE , GENDER , BP [m=3]

Subject (Disease) – CKD, NOT CKD [p=1/2=0.5]

Training Dataset:

Patient AGE GEN BP Disease (subject)


Name DER

Anil 25 M 110 CKD

Anu 25 F 112 CKD

Shilpa 30 F 120 NOT CKD

Kumar 35 M 105 CKD

Chaitra 35 F 120 NOT CKD

Fig 1.4.2 Training dataset

GLOMERULAR FILTRATION RATE

Dept. of CSE, DSATM 2022-23 7


Chronic Kidney Diseases Prediction and Recommendation of Suitable Diet
Plan

A GFR below 60 for three months or more or a GFR above 60 with kidney damage
(marked by high levels of albumin in your urine) indicates chronic kidney
disease. ...Blood or protein in the urine can be an early sign of kidney disease.
GFR - glomerular filtration rate is the best test to measure your level of kidney function
and determine your stage of kidney disease. Your doctor can calculate it from the results
of your blood creatinine test, your age, body size and gender. Your GFR tells your doctor
your stage of kidney disease and helps the doctor plan your treatment. If your GFR
number is low, your kidneys are not working as well as they should. The earlier kidney
disease is detected, the better the chance of slowing or stopping its progression.

https://www.kidney.org/atoz/content/gfr

Dept. of CSE, DSATM 2022-23 8


Chronic Kidney Diseases Prediction and Recommendation of Suitable Diet Plan

Fig 1.4.3 Stages of CKD

1.5 DATASET

Data-set Description

CKD prediction is one of the leading disease in the current medical sector. As it is
difficult to predict the CKD disease and types at early stages, this proposed system helps

to predict the CKD disease and related types at early stages.


System useful for doctors to take faster and better decisions. To predict CKD disease and
related types we use so many parameters such as age, blood pressure, specific
gravity,albumin, sugar, red blood cells,pus cell,pus cell clumps,bacteria,blood glucose
random,blood urea,serum creatinine, sodium, potassium,hemoglobin, packed cell
volume,white blood cell count, red blood cell count, hypertension, diabetes mellitus,
coronary artery disease, appetite, pedal edema, anemia.
All these parameter are more relevant for disease prediction and we are using around 5000
records to get better results.

Dept. of CSE, DSATM 2022-23 9


Chronic Kidney Diseases Prediction and Recommendation of Suitable Diet Plan

Parameters List:

Fig 1.6.1 Parameters list

Chapter-2

Dept. of CSE, DSATM 2022-23 10


Chronic Kidney Diseases Prediction and Recommendation of Suitable Diet Plan

LITERATURE SURVEY

2.1 AN EMPIRICAL EVALUATION


YEAR OF PUBLICATION: 2020

AUTHORS: BILAL KHAN , RASHID NASEEM , FAZAL MUHAMMAD , GHULAM


ABBAS AND SUNGHWAN KIM.

METHODOLOGY: NBTree, J48, Support Vector Machine, Logistic Regression,


Multilayer Perceptron.

LIMITATIONS:

• Used algorithms generates graphical outputs, not suitable for real time.

• Small datasets used.

• Prediction done for only static datasets.

2.2 DATA MINING CLASSIFICATION TECHNIQUES.

YEAR OF PUBLICATION: 2016

AUTHORS: Veenita Kunwar, Khushboo Chandel, Sai Sabitha, Abhay Bansal.

METHODOLOGY: They have used readily available data tools such as Rapid Miner tool
for implementation.

LIMITATIONS:

• Using tools like Rapid Miner and other such tools namely R-Tool, Wekaa tool the
results can be easily obtained but the testing of these is not possible.

2.3 A DEEP LEARNING-BASED SYSTEM

YEAR OF PUBLICATION: 2019

Dept. of CSE, DSATM 2022-23 11


Chronic Kidney Diseases Prediction and Recommendation of Suitable Diet Plan

AUTHORS: Navaneeth Bhaskar and Suchetha M.

METHODOLOGY: deep learning Convolutional Neural Network (CNN) algorithm


which is incorporated with a Support Vector Machine (SVM) classifier.

LIMITATIONS:

 Data type is image, images used for prediction which leads to less accurate results.

 More time required for data processing.

 Less efficient.

2.4 PREDICTIVE ANALYSIS


YEAR OF PUBLICATION: 2016

AUTHORS: Anusorn Charleonnan, Thipwan Fufaung, Tippawan Niyomwong, Wandee


Chokchueypattanakit, Sathit Suwannawach, Nitat Ninchawee.

METHODOLOGY: Regression and support vector machine(SVM) is used for


implementation.

LIMITATIONS:

 These Regression and SVM techniques produces graphical outputs the distinguishing
will be difficult in the graphical method.

 Not suitable for real time as doctors cant understand.

2.5 DATA MINING CLASSIFICATION TECHNIQUES

YEAR OF PUBLICATION: 2016

AUTHORS: Veenita Kunwar , Khushboo Chandel , Sai Sabitha , Abhay Bansal.

DATA SET USED: The data set used for implementation is only static data available on
the UCI Machine Learning Repository.

LIMITATIONS:

Dept. of CSE, DSATM 2022-23 12


Chronic Kidney Diseases Prediction and Recommendation of Suitable Diet Plan

 No Real-time data is used for implementation.

 only 400 data sets from the repository is used.

2.6 ANALYSIS OF CHRONIC KIDNEY DISEASE DATASET

YEAR OF PUBLICATION: 2020

AUTHORS: Yedilkhan Amirgaliyev, Shahriar Shamiluulu and Azamat Serek.

METHODOLOGY USED: In this research study, the effects of using clinical features to
classify patients with chronic kidney disease by using support vector machines algorithm
is investigated.

LIMITATIONS:

 Using SVM only model is developed.

 Only prototype is developed.

 Graphical outputs generated.

 Not implemented as real time application useful for the hospitals.

Literature Survey Outcome


 There are so many research papers published on this chronic kidney disease prediction
using Data science techniques. Most of the papers just presented idea, but no
implementation done.
 There are some research papers where implementation is done. But all these papers
just train the training datasets and model is developed and model evaluated and results
shown. These kinds of implementation can not be used on real time to predict disease.
These are just prototypes.

Almost all works predicted chronic kidney disease using PYTHON or R Language which
uses ready libraries to train the training datasets. All these works trained only the static
datasets. None of the works done it for dynamic datasets. Stages prediction and diet
recommendations are new to the real time.

Machine Learning
ML concerns with construction and study of system that can learn from data. For example,
ML can be used in E-mail message to learn how to distinguish between spam and inbox
messages.

Dept. of CSE, DSATM 2022-23 13


Chronic Kidney Diseases Prediction and Recommendation of Suitable Diet Plan

Functionality:
• A computer program is said to be learn from experience E with respect to some task T
and some performance P only if the program performance increases with experience
E.
• ML is a branch of AI which contains statistical, probabilistic, optimization technique
that can learn from past experience and discover the pattern from large complex data
sets.
• For example, we can apply ML technique in predicting student performance based on
their behaviors. Student performance depends on many factors such as living locality,
SSLC result, PUC result, Family income, Parents education, use of internet, use of
mobile, use of bike, use of Social Networking and other habits.
• We can predict student performance using ML technique before exams so that we can
improve student performance by knowing status of student.
• ML based technique can be applied to classify the employees in an organization either
to be class leave or stay based on their behavior.

ML Problems:
1. Is this disease cancer?
2. Identifying types of cancer.
3. What’s the market value of a House?
4. In Social Networking we can use ML technique to find best friends based on their
interaction.
5. Suggesting the interesting tourist places using ML.
6. Predicting Customer purchasing patterns in Online shopping.

Types of ML:

There are there types of Machine learning(ML), they are: i.


Supervised Machine Learning
Here we have labels and the input is past examples.
Ex: 1-4

ii. Unsupervised Machine Learning

Dept. of CSE, DSATM 2022-23 14


Chronic Kidney Diseases Prediction and Recommendation of Suitable Diet Plan

Extraction of patterns without labels.


Ex. 5 and 6
iii. Semi-Supervised Machine Learning
Mixture of both Supervised and Unsupervised Machine Learning.

Supervised learning

Supervised learning is an approach to machine learning that is based on training data that
includes expected answers. An artificial intelligence uses the data to build general models
that map the data to the correct answer.
Example: Sorting

A robot is learning to sort garbage using visual identification. It sits all day picking out
recyclable items from garbage as it passes on a conveyor belt. It places items such as
glass, plastic and metal into 12 bins. Each item is labeled with an identification number on
a sticker. Once a day, human experts examine the bins and inform the robot which items
were improperly sorted. The robot uses this feedback to improve.

UnSupervised learning

Unsupervised learning is an approach to machine learning whereby software learns from


data without being given correct answers. It is an important type of artificial intelligence
as it allows an AI to self-improve based on large, diverse data sets such as real world
experience.
Example: Human Behavior
A learner that possesses visual highly developed visual and speech recognition capabilities
could watch a large number of television shows to learn about human behavior.

Semi-Supervised learning

Semi-supervised learning can be positioned halfway between unsupervised and


supervised learning models. A semi-supervised learning problem starts with a series of
labeled data points as well as some data point for which labels are not known. The goal
of a semi-supervised model is to classify some of the unlabeled data using the labeled
Information set.

Dept. of CSE, DSATM 2022-23 15


Chronic Kidney Diseases Prediction and Recommendation of Suitable Diet Plan

Example: Speech Analysis: Speech analysis i.e. Labeling audio files.

More on ML Techniques
The ML algorithms can be categorize in two ways as follows,
• The first is a grouping of algorithms by the learning style.
• The second is a grouping of algorithms by similarity in form or function (like
grouping similar animals together).

Algorithms Grouped by Learning Style:


There are different ways an algorithm can model a problem based on its interaction with
the experience or environment or whatever we want to call the input data. This taxonomy
or way of organizing machine learning algorithms is useful because it forces you to think
about the roles of the input data and the model preparation process and select one that is
the most appropriate for your problem in order to get the best result.
The three different learning styles in machine learning algorithms:

• Supervised Learning: Input data is called training data and has a known label or
result such as spam or not spam, a stock price at a time.

Fig 2.6.1 Supervised Learning Algorithm

A model is prepared through a training process where it is required to make predictions


and is corrected when those predictions are wrong. The training process continues until

the model achieves a desired level of accuracy on the training data.


Example problems are classification and regression.
Dept. of CSE, DSATM 2022-23 16
Chronic Kidney Diseases Prediction and Recommendation of Suitable Diet Plan

 Unsupervised Learning: Input data is not labeled and does not have a known result.

Fig 2.6.1 Unsupervised Learning Algorithm

A model is prepared by deducing structures present in the input data. This may be to
extract general rules. It may through a mathematical process to systematically reduce
redundancy, or it maybe to organize data by similarity.
Example problems are clustering, dimensionality reduction and association rule learning.
Example algorithms include: the Apriori algorithm and k-Means.

• Semi-Supervised Learning: Input data is a mixture of labeled and unlabeled


examples

Fig 2.6.3 Semi-Supervised Learning Algorithm

Dept. of CSE, DSATM 2022-23 17


Chronic Kidney Diseases Prediction and Recommendation of Suitable Diet Plan

There is a desired prediction problem but model must learn the stmust learn the structures
to organize the data as well as make predictions.
Example problems are classification and regression.

2.7 COMPARATIVE STUDY OF CLASSIFIER FOR CKD USING


NAIVE BAYES, KNN AND RANDOM FOREST.
YEAR OF PUBLICATION: 2019

AUTHORS: Devika R, Sai Vaishnavi Avilala, V. Subramaniyaswamy.

METHODOLOGY USED: The data set used for implementation is only static data
available on the UCI Machine Learning Repository. this paper examines the performance
of Naive Bayes, K-Nearest Neighbour (KNN) and Random Forest classifier on the basis
of its accuracy

LIMITATIONS:

• Less datasets used.

• Only static datasets used.

• only 400 data sets from the repository is used.

Dept. of CSE, DSATM 2022-23 18


Chronic Kidney Diseases Prediction and Recommendation of Suitable Diet Plan

Chapter-3 FUNCTIONAL REQUIREMENT


The functional requirements describe the core functionality of the application.

3.1 INTERFACE REQUIREMENT


 Admin gets login to the application by inputting id and pwd.

 Admin creates doctors and receptionists and system can have n number of doctors and
receptionists.

 Admin of the system sets unique id and password for each staff (doctor and receptionist)

 Admin specifies the type of the disease that we are handling (nothing but CKD)

 Admin uploads all stages of CKD.

 Admin uploads the required parameters for CKD prediction, there are totaly 24 parameters
used for CKD prediction.

 Receptionists uploads the dataset required for CKD prediction and stage prediction.

 New patients registrations will be done.

 View the patients history such as disease details and treatment details

Dept. of CSE, DSATM 2022-23 19


Chronic Kidney Diseases Prediction and Recommendation of Suitable Diet Plan

 Upload Patient Data (New patient) - here doctor inputs the new patient parameters requried
for CKD prediction.

 Chronic Kidney Disease Prediction Module [New patient – Navie Bayes Algorithm] - this
the core module where system predicts the CKD for the new patients based on the inputted
parameters. Here system uses “Naive Bayes” algorithm for CKD prediction.

 Stage Prediction Module (GFR Method used) - in this module system predicts the stages
for the patients suffering from CKD, system uses GFR method for stage prediction.

 Upload Treatment Details - here doctor uploads treatment details for the patients.

 View Patients History - doctor can view the patients history.

3.2 NON-FUNCTIONAL REQUIREMENT

• Non-functional requirements are constraints that must be adhered to during development.


They limit what resources can be used and set bounds on aspects of the software’s quality.

• One of the most important things about non-functional requirements is to make them
verifiable. The verification is normally done by measuring various aspects of the system and
seeing if the measurements confirm to the requirements.

• Non-functional requirements are divided into several groups:

• Usability- System is a medical oriented application and system is an automation for kidney
disease prediction and mainly used by doctors and receptionists of the hospitals and as its a
browser based application it can be accessed world wide.

• Reliable-our application provides the services according the users satisfaction and interest,
and designed as per users requirements and more user friendly, so the application is more
reliable compare to other medical sector applications.

• Maintainability-as we update the software regularly it will be easy to maintain it.


Application is designed in such a way that future modifications and enhancements can be
done easily.

• Efficiency - The application provides the efficient results as it uses data mining technique or
machine learning technique for disease prediction. Huge amount of data mined to get more
efficient results.

Dept. of CSE, DSATM 2022-23 20


Chronic Kidney Diseases Prediction and Recommendation of Suitable Diet Plan

• Re-usability – The system is a web based application, once the user creates an account; user
can access the system multiple times.

• These requirements constrain the design to meet specified levels of quality.

• The second group of non-functional requirements categories constrains the environment and
technology of the system.

3.3 TECHNOLOGIES USED


Technologies Required for implementation :

 C++

 VS Code

 SQL Sever

 Windows XP version & Higher

3.4 SYSTEM REQUIREMENT


Software requirements

• IDE: Visual Studio (tool used for the development of real time applications,
Microsoft technology which supports more libraries, tools and concepts required to
work with real time application compared to other technologies)

• Programming Language: C# (programming language which is used for processing


purpose, similar to C++, more compatible and supportive with visual studio)

• Back End – MS SQL Server (used to store the data, Microsoft technology more
compatible with visual studio)

Hardware Requirements

• RAM: 4GB+

• Processor: Intel Dual Core on wards

• Processor Speed: 2.4ghz+

• Hard Disk: 500GB+

Dept. of CSE, DSATM 2022-23 21


Chronic Kidney Diseases Prediction and Recommendation of Suitable Diet Plan

3.5 PROJECT STRUCTURE


Users and Modules:

Admin: Administrator is a one who maintains the entire application. Administrator is a


owner of the application.

Doctor: Doctor is a one who specifies the necessary inputs for chronic kidney disease
prediction. Doctor is a service receiver. The key service given by the system is “chronic
kidney disease prediction” based on the medical data.

Receptionist: Receptionist is one who maintains the patients registration, billing and
treatment details.

Patient: Patient is a one who receives the services from the application.

Modules of the project

Admin has the following modules:

• Login Module - here admin gets login to the application by inputting id and password.

• Add Doctors and Receptionists - admin creates doctors and receptionists and system
can have n number of doctors and receptionists.

• Set Id and Password of Staffs - admin of the system sets unique id and password for
each staff (doctor and receptionist)

• Add Parameters - admin uploads the required parameters for CKD prediction, there
are totaly 24 parameters used for CKD prediction.

• Change Password - here admin can change the password.

Dept. of CSE, DSATM 2022-23 22


Chronic Kidney Diseases Prediction and Recommendation of Suitable Diet Plan

Fig 3.5 Data Flow Diagram(Admin)

Receptionist has the following modules:

• Login Module - Here receptionists gets login to the application by inputting id and
pwd.

• Data-set Module (Old Patients and parameters) - here receptionists uploads the
dataset required for CKD prediction and stage prediction.

• Patient Registration - here new patients registrations will be done.

• Manage Patients History - can view the patients history such as disease details and
treatment details

• Change Password - here admin can change the password.

Dept. of CSE, DSATM 2022-23 23


Chronic Kidney Diseases Prediction and Recommendation of Suitable Diet Plan

Fig 3.5 Data Flow Diagram(Admin)

Dept. of CSE, DSATM 2022-23 24


Chronic Kidney Diseases Prediction and Recommendation of Suitable Diet Plan

Doctor has the following modules:

• Login Module - here doctor gets login to the application by inputting


id and pwd.

• Upload Patient Data (New patient) - here doctor inputs the new
patient parameters required for CKD prediction.

• Chronic Kidney Disease Prediction Module [New patient – Navie


Bayes
Algorithm] - this the core module where system predicts the CKD for the new patients
based on the inputted parameters. Here system uses “Naive Bayes” algorithm for
CKD prediction.

• Stage Prediction Module (GFR Method used) - in this module system


predicts the stages for the patients suffering from CKD, system uses
GFR method for stage prediction.

• Diet Recommendation

• Upload Treatment Details - here doctor uploads treatment details for


the patients.

• View Patients History - doctor can view the patients history.

Dept. of CSE, DSATM 2022-23 25


Chronic Kidney Diseases Prediction and Recommendation of Suitable Diet Plan

Fig 3.5 Data Flow Diagram(Doctor)

Patient has the following modules:

• Login Module - here patient gets login to the application by inputting


id and pwd.

• Patient History - here patients can view the history such as registration
details, treatment details, disease details etc…

• Treatment Module - here patients can view the treatment details


upload by doctor.

Dept. of CSE, DSATM 2022-23 26


Chronic Kidney Diseases Prediction and Recommendation of Suitable Diet Plan

Fig 3.5 Data Flow Diagram(Patient)

Chapter-4

REFERENCES

 A. S. Levey, R. Atkins, and J . Coresh, “Chronic kidney disease as a global public


health problem: approaches and initiatives - a position statement from Kidney
Disease
Improving Global Outcomes”, Kidney International, vol. 72 no.3, pp. 247-259, Aug
2007.

 V . Jha, G. Garcia, and K. Iseki, “Chronic kidney disease: global dimension and
perspectives”, Lancet, vol. 382 no. 9888, pp. 260-272, Jul 2013.

 K.R Lakshmi, Y. Nagesh, and M. VeeraKrishna, "Performance Comparison of Three


Data Mining Techniques for Predicting Kidney Dialysis Survivability", International
Journal of Advances in Engineering and Technology, vol.7, no.1, pp. 242-254,
March 2014.

 G. Caocci, R. Baccoli, R. Littera, S. Orrù, C. Carcassi and G. La Nasa, "Comparison


Between an Artificial Neural Network and Logistic Regression in Predicting Long
Term Kidney Transplantation Outcome", Artificial Neural Networks Kenji Suzuki,
IntechOpen, DOI: 10.5772/53104, 2013.

Dept. of CSE, DSATM 2022-23 27


Chronic Kidney Diseases Prediction and Recommendation of Suitable Diet Plan

 T. Di Noia, V. C. Ostuni, F. Pesce, G. Binetti, D. Naso, F. P. Schena, and E. Di


Sciascio. "An end stage kidney disease predictor based on an artificial neural
networks ensemble", Expert Systems with Applications, vol. 40, pp. 4438–4445,
2013

 A. Kusiak, B. Dixonb, and Sh. Shaha, "Predicting survival time for kidney dialysis
patients: a data mining approach", Computers in Biology and Medicine, vol. 35, pp.
311–327, 2005

 J. Levman, T. Leung, P. Causer, D. Plewes, and A. L. Martel, "Classification of


dynamic contrast-enhanced magnetic resonance breast lesions by support vector
machines," Medical Imaging, IEEE Transactions on, vol. 27, pp. 688-696, 2008.

 N. H. Sweilam, A. Tharwat, and N. A. Moniem, "Support vector machine for


diagnosis cancer disease: A comparative study," Egyptian Informatics Journal, vol.
11, pp. 81-92, 2010.
 E. Gumus, N. Kilic, A. Sertbas, and O. N. Ucan, "Evaluation of face recognition
techniques using PCA, wavelets and SVM," Expert Systems with Applications, vol.
37, pp. 6404-6408, 2010.

 V. Vapnik, "The nature of statistical learning theory" Springer Science and Business
Media, 2013.

 C.C. Chang and C.J. Lin, "LIBSVM: a library for support vector machines," ACM
Transactions on Intelligent Systems and Technology (TIST), vol. 2, pp. 27, 2011.

 K. Tufan, "Noninvasive diagnosis of atherosclerosis by using empirical mode


decomposition, singular spectral analysis, and support vector machines," Biomedical
Research, vol. 24, pp. 303-313, 2013.

 Soundarapandian P. (2015). UCI Machine Learning


 Repository[https://archive.ics.uci.edu/ml/datasets/chronic_kidney_disease]. Irvine,
CA:
 University of California, School of Information and Computer Science.

 Sh. Shamiluulu, M.M. Boukar, Z. Yussupova. “Medical Tool for Assisting Patients
in Kazakhstan Polyclinics”. Proceedings: 11th IEEE International Conference on

Dept. of CSE, DSATM 2022-23 28


Chronic Kidney Diseases Prediction and Recommendation of Suitable Diet Plan

 Application of Information and Communication Technologies (ICECCO 2017).


Abuja, Nigeria pp: 80-84

Dept. of CSE, DSATM 2022-23 29

You might also like