This project builds a Diabetes Prediction Model using Machine Learning techniques. The model is trained on the diabetes.csv dataset and evaluates its performance using an ROC Curve. The model is then deployed using Flask.
├── app.py # Flask web application
├── model.py # Machine learning model script
├── diabetes.csv # Dataset used for training
├── diabetes_model.pkl # Saved ML model
├── Figure_1.png # Model visualization
├── ROC CURVE.png # ROC Curve of the model
├── requirements.txt # Python dependencies
├── .gitignore # Git ignore file
└── README.md # Project documentation
git clone https://github.com/Siddhi272004-bit/diabetes-ml-project.git
cd diabetes-ml-projectpython -m venv venv
source venv/bin/activate # On Windows use: venv\Scripts\activatepip install -r requirements.txtpython app.pyAccess the web app at https://diabetes-ml-project-uslyqxdtmhrgjzl6ph2tzp.streamlit.app/ in your browser.
The ROC Curve is used to evaluate the performance of the model.
- Python
- Streamlit (for web deployment)
- Scikit-learn (for machine learning)
- Matplotlib & Seaborn (for data visualization)
- Pandas & NumPy (for data manipulation)
- Train a machine learning model on diabetes dataset.
- Save the trained model using Pickle.
- Serve predictions through a Flask web app.
- Visualize performance using ROC Curve.
- Implement JWT Authentication for secure API access.
- Deploy using AWS/GCP/Heroku.
- Improve model performance with Hyperparameter Tuning.
Pull requests are welcome! For major changes, please open an issue first to discuss what you would like to change.
This project is licensed under the MIT License.
