Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kowshik24/diabetes-prediction-pytorch-ann
This is the code repo for Diabeted Prediction using ANN(Pytorch)
https://github.com/kowshik24/diabetes-prediction-pytorch-ann
Last synced: 25 days ago
JSON representation
This is the code repo for Diabeted Prediction using ANN(Pytorch)
- Host: GitHub
- URL: https://github.com/kowshik24/diabetes-prediction-pytorch-ann
- Owner: kowshik24
- License: apache-2.0
- Created: 2023-07-30T20:34:25.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-08-04T11:15:05.000Z (over 1 year ago)
- Last Synced: 2023-08-04T12:08:45.657Z (over 1 year ago)
- Language: Python
- Size: 4.43 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ๐ฉบ๐Diabetes-Prediction-Pytorch-ANN
This is the code repo for Diabetes Prediction using ANN(Pytorch)
## Installation1. Clone the repository:
```
git clone https://github.com/kowshik24/Diabetes-Prediction-Pytorch-ANN
```2. Install the required libraries:
```
pip install -r requirements.txt
```3. Run the training script:
```
python train.py
```
4. Run the testing script:```
python test.py
```
5. Run the Flask app:```
python app.py
```
6. Open the browser and go to the link:```
http://127.0.0.1:5000/predict
```
# Dataset
The dataset is taken from [Kaggle](https://www.kaggle.com/uciml/pima-indians-diabetes-database).# Images of the Web App
![!Demo](images/image_1.png)
![!Demo](images/image_2.png)
![!Demo](images/image_3.png)# Project Motivation
This project is done as a part of my Deeep Learning course using Pytorch.
# File Description
- `diabetes.csv` - The dataset.
- `model.py` - The ANN model.
- `train.py` - The training code.
- `test.py` - The testing code.
- `app.py` - The Flask app.
- `templates` - The folder containing the HTML files.
- `static` - The folder containing the CSS files.
- `images` - The folder containing the images.# Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
# License
[Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0)
# Project Status
This project is completed.
# Acknowledgement
- [Pytorch](https://pytorch.org/)
- [Pandas](https://pandas.pydata.org/)
- [Numpy](https://numpy.org/)
- [Matplotlib](https://matplotlib.org/)
- [Seaborn](https://seaborn.pydata.org/)
- [Scikit-learn](https://scikit-learn.org/stable/)
- [Jupyter Notebook](https://jupyter.org/)
# Author
- [Kowshik Deb Nath](https://github.com/kowshik24)