MAWLANA BHASHANI SCIENCE AND TECHNOLOGY UNIVERSITY
Department Of Computer Science & Engineering
Course Title: Research Project
Course code: CSE-5000
Presentation On
Chronic Kidney Disease Prediction and Detection Using Enhanced Machine
Learning Algorithms and Key Diagnostic Attributes
Submitted By:
Supervised By:
Shajiur Rahman Rabbe (CE21036)
Sayem Hosen (CE21045)
Session : 2020-21
Department Of CSE, MBSTU
Md. Mahfuz Reza
Associate Professor
Department Of CSE, MBSTU
1
OVERVIEW
Introduction
Preprocessing
Problem Statement
Workflow
Objectives
Limitation
CKD Dataset
Future Scope
Literature Review
Conclusion
Machine Learning Techniques
2
INTRODUCTION
Chronic Kidney Disease (CKD) is a progressive loss of kidney function. Early detection is
critical because CKD has no obvious symptoms in early stages. Machine Learning can
help predict CKD using medical parameters before severe damage occurs.
3
PROBLEM STATEMENT
CKD is often diagnosed at later stages → survival rate decreases.
Traditional diagnosis depends heavily on lab tests and expert interpretation.
Lack of early screening → more patients reach end-stage kidney failure.
Need an automated, accurate, early-stage prediction system.
4
OBJECTIVES
Build a machine learning–based system to accurately predict chronic kidney disease.
Analyze CKD dataset features//(using gpt4)
Preprocess the data (cleaning, encoding, outlier removal)
Apply ML algorithms
Compare model performance
Identify the best-performing model
5
CKD DATASET
Source: UCI Machine Learning Repository (or Kaggle)
Total samples: 400 patients
Total features: 24 biological and clinical features
Features include:
Age, Blood Pressure
Serum Creatinine
Blood Urea
Hemoglobin
Albumin
Diabetes, Hypertension etc.
LITERATURE REVIEW
Paper Title
Enhancing the Early
Detection of Chronic Kidney
Disease: A Robust Machine
Learning Model
Chronic Kidney Disease
Prediction Based on
Machine Learning
Algorithms
Year
2023
2023
Methodology
Dataset: UCI CKD (400 samples, 24 feature)
Preprocessing: Label Encoding, Iterative imputation
for missing values, Robust Scaling, Zstandardization, Min-Max scaling.
Accuracy
KNN: 100%
Naïve Bayes: 97.5%
Shortcomings
Uses only one dataset which is small
(400 samples) causing overfitting.
No external validation.
Feature Selection: Boruta Algorithm
No outlier Detection Before Scaling.
For model building, Naïve Bayes and K-Nearest
Neighbors (KNN) algorithms were used.
Hyperparameter tuning was performed using Grid
Search CV. The dataset was split into an 80–20 ratio
for training and testing, and model validation was
conducted using 15-fold cross-validation
Dataset: UCI CKD (400 samples, 24 feature)
Data preprocessing: Missing numerical values with
median, missing categorical values with mode,
categorical encoding, removes null-valued rows.
No Feature contribution analysis.
Feature engineering: PCA to reduce features to top
30%. RFE for feature ranking.
6
Missing class imbalance treatment
XGBoost:98.33%
After PCA XGBoost:
99.16%
Uses only one dataset which is small
(400 samples) causing overfitting.
Missing values effecting the outcome by
reduction of data integrity.
No external validation.
12 Models are tested namely XGboost, RF, LGBM,
Decision, Tree, KNN.
PCA reduces interpretability of the feature
influence on result.
Validation conducted using 10-fole cross validation
where metrices such as Accuracy, Precision, Recall,
F1-scrore, Confusion matrix are used.
Imbalanced categorical variables.
Paper Title
Chronic Kidney Disease
Prediction Using Machine
Learning Algorithms and
Paper Title
the Important Attributes for
Enhancing
the Early
the Detection
Detection of Chronic Kidney
Disease: A Robust Machine
Learning Model
Chronic Kidney Disease
Prediction Using Machine
Chronic
Kidney
Disease
Learning
Techniques
Prediction Based on
Machine Learning
Algorithms
Year
2023
Year
2023
Methodology
Accuracy
Dataset: Used CKD datasets (UCI Repository
KNN: 76.96%
mainly)
Decision Tree:
Preprocessing: Label Encoding, Iterative
98.60%
Methodology
Accuracy
imputation for missing values, Robust Scaling, ZANN: 95.20%
Dataset:
UCI CKD (400 samples,
feature)
KNN: 100%
standardization,
Min-Max24
scaling.
Preprocessing: Label Encoding, Iterative imputation Naïve Bayes: 97.5%
for missing
values,(UCI
Robust
Scaling, mainly)
ZUsed
CKD datasets
Repository
Min-Max scaling.
Usedstandardization,
supervised ML algorithms:
KNN, Decision
Tree, Artificial Neural Network (ANN)
Feature Selection:
Algorithm
Performed
attributeBoruta
importance
analysis
(Specific gravity, blood pressure, age, etc.)
For model
building,
Naïve
Bayes
and K-Nearest
Evaluated
models
using
standard
metrics:
Neighbors
(KNN) algorithms
were MAE,
used.etc.
Accuracy, Precision,
Recall, RMSE,
Hyperparameter tuning was performed using Grid
Search CV. The dataset was split into an 80–20 ratio
training
and testing,
modelHospital,
validation
was
2022 for
Dataset:
Collected
fromand
St. Paul’s
Ethiopia
RF+ RFECV (8
conducted using
cross-validation
(2018–2019),
1718 15-fold
instances,
19 features. Both
feature): 99.80%
2023
Dataset:
UCI/ notckd)
CKD (400
samples,
24 (stages
feature)1–5)
XGBoost:98.33%
binary
(ckd
and
five-class
DataData
preprocessing:
Missing
numerical
preprocessing:
Outlier
removalvalues
using with
IQR
SVM: 99.83%
median,
missing
categorical
values
with
mode,
After
PCAfeature
XGBoost:
rule, mean imputation on numeric missing vales,
(No
categorical
null-valued rows.
99.16%
categoricalencoding,
encoding,removes
Z-score normalization,
Class
selection)
imbalance for binary case solved using
Feature engineering:oversampling.
PCA to reduce features to top
30%. RFE for feature ranking.
Feature Selection Techniques:
12 Models are tested
namely
XGboost, RF, LGBM,
ANOVA,
RFECV
Decision, Tree, KNN.
Machine Learning Models: RF, SVM, Liner
Validation conducted
cross
validation
optimizedusing
OVR,10-fole
Decision
Tree.
where metrices
such 10-fold
as Accuracy,
Evaluation:
cross Precision,
validation.Recall,
F1-scrore,
Confusion
matrixRecall,
are used.
Metrices:
Accuracy,
Precision,
F1-score,
Sensitivity, Specificity
XGBoost: 99.96%
(No feature
selection)
Shortcomings
Uses only one dataset which is small (400
samples) causing overfitting.
Shortcomings
No cross-validation, leading to possible
Uses
only one
dataset DT
which
small
overfitting
(especially
withis98.6%)
(400 samples) causing overfitting.
No hyperparameter tuning described.
No external validation.
No use of feature engineering,
No
outlier Detection
Before Scaling.
standardization,
or normalization.
No external dataset validation.
No
Feature contribution
analysis.
No comparison
with modern
models
(e.g., Random Forest, XGBoost, SVM,
MissingLogistic
class imbalance
treatment
Regression).
Multiclass accuracy (stages 1-5) is
Comparatively low (79-82%)
Uses only one dataset which is small
(400
causing overfitting.
No samples)
external validation
dataset.
Missing
effecting
the
Class vales
imbalance
(CKD
vsoutcome
non-CKD)by
reduction
of datawhich
integrity.
required
oversampling,
may cause
overfitting.
No external validation.
Dataset collected from one hospital
PCA reduces interpretability
of the feature
Only.
influence on result.
No deep learning, only use traditional ML
Imbalanced categorical variables.
7
8
ML TECHNIQUES
Logistic Regression
Decision Tree
Random Forest
Support Vector Machine
K-Nearest Neighbors
XGBoost
9
PREPROCESSING
Original
Dataset
Handling Missing
Values
Handling
Categorical
Values
Feature
Engineering
Correct
Dataset
Figure: Dataset Preprocessing
WORKFLOW
10
Raw Data
Outlier Detection
Feature
Engineering
Data Splitting
Categorical
features were
transformed into
numeric
Outlier detection
used to remove
unusual data
New features were
obtained for
better efficiency
80:20 split ratio
was used
Model Selection
Model Training
Based on the
performance, best
model was
selected
Machine learning
models were
trained, and tuned
hyperparameters
by grid search CV
11
LIMITATION
Small dataset causing overfitting
Missing values reduces data integrity
Improper classification
Outlier detection
Feature contribution or interpretability
11
DISCUSSION
Binary models performed extremely well → almost perfect CKD detection.
Multi-class performance moderate due to stage overlap & imbalance.
Feature selection improved accuracy and reduced unnecessary features.
Creatinine, BUN, Hemoglobin & Specific Gravity were the strongest predictors.
ML models can support early diagnosis and help doctors make faster decisions.
12
FUTURE SCOPE
Collect real-time clinical data
Integrate Electronic Health Records
Use Deep learning (ANN,CNN)
Improve model interpretability with SHAP/LIME
Develop mobile app for CKD screening
13
CONLUSION
ML can predict CKD with high accuracy
Early detection helps reduce kidney failure cases
Research contributes to affordable healthcare solutions
Random Forest is ideal for CKD prediction applications
14
ANY
QUESTIONS?
15
THANK YOU
F O R
T H E
A T T E N T I O N