This is a web application for predicting diabetes based on user input using a machine learning model.
app.py
: Flask application script.train_model.ipynb
: Jupyter Notebook for training the model.diabetes_prediction_model.pkl
: Trained ML model (pickle file).templates/
: HTML templates for the web application.
- Python (3.x)
- Jupyter Notebook
-
Clone the repository:
git clone <repository-url>
Install the required dependencies:
-Run the Jupyter Notebook train_model.ipynb:
##Run the Flask application:
-
Open your web browser and go to http://127.0.0.1:5000/ to access the Diabetes Prediction App.
-
Click on the "Predict" link to navigate to the prediction page.
-
Enter the required features for prediction and click on the "Predict" button.
- This project is licensed under the MIT License - see the LICENSE file for details.
- This project is based on a machine learning model trained on the Diabetes dataset.
- Inspired by the need for a simple and accessible tool for diabetes prediction.