https://github.com/nirmit27/diabetes-prediction
A Streamlit webapp that predicts diabetes based on patient data.
https://github.com/nirmit27/diabetes-prediction
data-science machine-learning ml ml-model python python3 sklearn streamlit streamlit-webapp svm svm-classifier
Last synced: about 2 months ago
JSON representation
A Streamlit webapp that predicts diabetes based on patient data.
- Host: GitHub
- URL: https://github.com/nirmit27/diabetes-prediction
- Owner: nirmit27
- License: mit
- Created: 2024-05-19T08:44:18.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-09-02T06:00:07.000Z (over 1 year ago)
- Last Synced: 2025-01-08T18:16:06.533Z (over 1 year ago)
- Topics: data-science, machine-learning, ml, ml-model, python, python3, sklearn, streamlit, streamlit-webapp, svm, svm-classifier
- Language: Jupyter Notebook
- Homepage: https://diabetes-prediction-lr3wknr6yrdjv87jgbttka.streamlit.app/
- Size: 89.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Diabetes Prediction
## About
This is a [Streamlit](https://streamlit.io/) web application that makes predictions about **diabetes** based on the patient data provided by the user.
## How it works
- Using the **Support Vector Classifier** model provided by the [Scikit-Learn library](https://scikit-learn.org/stable/modules/generated/sklearn.svm.SVC.html), prediction about diabetes based on the patient's medical details is made.
- This model has been trained on the [Diabetes Dataset for Beginners](https://www.kaggle.com/datasets/shantanudhakadd/diabetes-dataset-for-beginners) from **Kaggle** using standardization and stratification techniques.
- The pre-trained **SVC** model has been saved as a pickle file. The app collects user inputs through a form, feeds those inputs to the model, which then makes the prediction displayed by the app as the prediction result.
### Dataset link
> [Diabetes Dataset for Beginners](diabetes.csv)
### Deployment link
> [Diabetes Prediction](https://diabetes-prediction-lr3wknr6yrdjv87jgbttka.streamlit.app/)