Skip to content

GitCode11/Diabetes-Classification-using-KNN-Algorithm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Diabetes-Classification-using-KNN-Algorithm

In this, We are given a Diabetes Data set consisting of following features -

['Pregnancies', 'Glucose', 'BloodPressure', 'SkinThickness', 'Insulin', 'BMI', 'DiabetesPedigreeFunction', 'Age', 'Outcome']

and the task is to predict whether a person is suffering from diabetes or not (Binary Classification).

Person is classified as 0 or 1 (Diabetic or Not) using K-Nearest Neighbors classifier(KNN).

The Dataset are two .csv Files that are provided.

  1. Diabetes_XTrain.csv - It consists of 576 Rows and 8 Columns(Features)
  2. Diabetes_YTrain.csv - It consists of 576 Rows and 1 Column (That contains Result)

The max Accuracy that could be achieved was 70 %.

To run the code, please make sure that the latest version of Python, Jupyter and aforementioned libraries are installed in your system.

About

Predict whether a Person has Diabetes or Not on the basis of some features

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published