Skip to content

Adityadln/Decision_tree_for_diabetes

Repository files navigation

Decision Tree Classifier for diabetes

roll nos : 106122003,106122041,106122057 and 106122061

Setting up

  • 1 create a new folder and navigate into the folder
  • 2 clone the repo(copy the code as below)
git clone https://github.com/Adityadln/Decision_tree_for_diabetes.git .
  • 3 Getting the packages
pip install -r requirements.txt
  • 4 Run the code
python3 Decision_tree.py
  • 5 initially the graphs folder will be empty but upon running there will be two graphs.
  • 6 The metrics and the decision tree split will be printed onto the terminal.

Data

  • 1 the data is taken from Kaggle,below is the url
https://www.kaggle.com/datasets/mathchi/diabetes-data-set

graphs

hyper-parameter-tuning confusion matrix

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages