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.
- Host: GitHub
- URL: https://github.com/bhargav-joshi/diabetes-prediction
- Owner: bhargav-joshi
- Created: 2020-06-21T08:15:11.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-07-04T14:46:02.000Z (almost 5 years ago)
- Last Synced: 2025-02-14T22:39:46.074Z (2 months ago)
- Topics: csvimport, dataset, knn-algorithm, python
- Language: Python
- Homepage:
- Size: 14.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Diabetes-Prediction
Diabetes Prediction from Datasets #Coding Blocks
#### `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***