An open API service indexing awesome lists of open source software.

https://github.com/bhargav-joshi/diabetes-prediction

This project involves the prediction of Diabetes in a person using the "kNN Algorithm". The Prediction is also exported at the end with the CSV file. The Dataset is from Coding Blocks.
https://github.com/bhargav-joshi/diabetes-prediction

csvimport dataset knn-algorithm python

Last synced: 17 days ago
JSON representation

This project involves the prediction of Diabetes in a person using the "kNN Algorithm". The Prediction is also exported at the end with the CSV file. The Dataset is from Coding Blocks.

Awesome Lists containing this project

README

        

# Diabetes-Prediction
Diabetes Prediction from Datasets #Coding Blocks

![DP](https://user-images.githubusercontent.com/47782249/86514503-4e532180-be30-11ea-9aeb-e04ed4773237.jpg)

#### `Training Data`

* [XTrain](https://github.com/bhargav-joshi/Diabetes-Prediction/blob/master/Diabetes_XTrain.csv)
* [YTrain](https://github.com/bhargav-joshi/Diabetes-Prediction/blob/master/Diabetes_YTrain.csv)

#### `Testing Data`

* [Xtest](https://github.com/bhargav-joshi/Diabetes-Prediction/blob/master/Diabetes_Xtest.csv)

#### LIBRARIES USED -

- `import numpy as np`
- `import matplotlib.pyplot as plt`
- `import pandas as pd`

#### Algorithm Used -> ` kNN `

#### How to Check the Accuracy of Challange ?

`df.to_csv("Solution.csv",index=False)`

***Use this to Export your prediction and then Upload it on challenge after submitting It will calculate the accuracy***