This project focuses on predicting Chronic Kidney Disease (CKD) using machine learning techniques. Early detection of CKD can significantly improve patient outcomes by enabling timely medical intervention.
The model is trained on the UCI Machine Learning Repository CKD dataset, which includes 24 clinical and demographic features such as blood pressure, hemoglobin, albumin levels, and more.
The goal is to classify whether a patient has CKD (Yes / No) using various ML algorithms and compare their performance.
- Perform data preprocessing and cleaning
- Train multiple machine learning models
- Evaluate models using performance metrics
- Deploy the best model with a user-friendly interface
CKD-Prediction/
│── data/
│── notebooks/
│── src/
│── models/
│── results/
│── main.py
│── requirements.txt
│── README.md
- Programming Language: Python
- Libraries: pandas, numpy, matplotlib, seaborn, sklearn
- GUI: tkinter
- Handling missing values
- Encoding categorical features
- Feature scaling and normalization
Models used:
- Logistic Regression
- Decision Tree
- Random Forest
- Neural Network (Keras)
Evaluation metrics:
- Accuracy
- Precision
- Recall
- F1 Score
-
GUI-based application built using tkinter
-
Allows users to:
- Train model
- Test model on new data
- Compared multiple models to identify best performance
- Decision Tree has achieved the highest accuracy from 87% to 93%
git clone https://github.com/Bikash07-git/chronic-kidney-disease-prediction.git
cd chronic-kidney-disease-predictionpython -m venv venv- Windows:
venv\Scripts\activate- Linux/Mac:
source venv/bin/activatepip install -r requirements.txtpython main.py-
Launch the application
-
Choose:
- Train Model → trains and saves model
- Test Model → predicts CKD on new input
- Add web deployment (Flask / FastAPI)
- Improve model performance using feature engineering
- Add real-time prediction API
- Use advanced models like XGBoost / LightGBM
This project is licensed under the MIT License.
- Dataset: UCI Machine Learning Repository
- Contributors: Open-source community