Our goal in this study is to predict if a patient has diabetes or not based on a variety of factors such as blood sugar levels, insulin levels, age, and BMI. We'll take care of everything from data collection to model deployment. We examine multiple machine learning algorithms using the accuracy score measure during Model evaluation to select the best one. Then, using Flask, a Python micro framework, we build a web app.
Unzip this repository after cloning it.
cd into the flask directory after downloading.
Create and activate a new virtual environment with Python 3.
Using pip install -r requirements.txt, install the required packages.
Run the following command: python app.py
In your browser, go to http://127.0.0.1:5000/.