Skip to content

Let's work together to make strides in kidney stone prediction and contribute to better health outcomes.

Notifications You must be signed in to change notification settings

ayushmehraa/Kidney-Stone-Prediction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kidney
Kidney Stone Prediction

Predict Risk of Stone in your kidney with data and AI and plan keep safe.


Technologies used.


python jupyter visible brain-3 flask html-filetype git


🤖 Kidney Stone Prediction

This repository contains the code and resources for a machine learning project focused on predicting the likelihood of kidney stone formation based on urine analysis data. The dataset used in this project is the Kidney Stone Prediction based on Urine Analysis dataset sourced from Kaggle. The goal of this project is to develop a predictive model that can assist in identifying individuals who are at a higher risk of developing kidney stones based on their urine composition.

📁 Dataset

The dataset used in this project can be downloaded from the following link: Kidney Stone Prediction based on Urine Analysis Dataset

  • Age: Age of the patient.
  • Gender: Gender of the patient (Male/Female).
  • CalciumOxalate: Level of calcium oxalate in urine.
  • UricAcid: Level of uric acid in urine.
  • CalciumPhosphate: Level of calcium phosphate in urine.
  • MagnesiumAmmoniumPhosphate: Level of magnesium ammonium phosphate in urine.
  • UrinepH: pH level of urine.
  • SpecificGravity: Specific gravity of urine.
  • KidneyStone: Target variable (0: No kidney stone, 1: Kidney stone present).

⚒️ Project Structure

The project is organized as follows:

  • data: This directory contains the dataset file (kidney_stone_dataset.csv).
  • static: This directory holds images and visual resources used in this templates.
  • notebooks: Jupyter notebooks used for data exploration, preprocessing, model training, and evaluation.
  • artifacts: contaions data, preprocessor and model pickle files.
  • src: Source code for the project. EDA_Kidney stone.ipynb: Data exploration and preprocessing utilities.
  • model_training.ipypy: notebook for training machine learning models.
  • app.py: Flask web application for kidney stone prediction.

🚀 Getting Started

  • Clone this repository to your local machine using:
git clone https://github.com/yourusername/kidney-stone-prediction.git

  • Install the required dependencies using:
pip install -r requirements.txt
  • Download the dataset (kidney_stone_dataset.csv) from the provided Kaggle link and place it inside the data directory.

  • Adjust the configuration in config.py as needed, including hyperparameters and file paths.

  • Run the web application using:

python app.py

📋 Results

The web application provides users with an interface to input urine analysis data and receive predictions regarding their risk of kidney stone formation. The underlying model's performance can be further fine-tuned and analyzed using the provided Jupyter notebooks in the notebooks directory.

🤝 Contributors

Feel free to contribute to this project by creating pull requests, reporting issues, or suggesting improvements. Your contributions are greatly appreciated!

💳License

This project is licensed under the MIT License.

About

Let's work together to make strides in kidney stone prediction and contribute to better health outcomes.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages