PIMA Indian Diabetes dataset is used in this project. Features are;
- Pregnancies: Number of times pregnant
- Glucose: Plasma glucose concentration a 2 hours in an oral glucose tolerance test
- BloodPressure: Diastolic blood pressure (mm Hg)
- SkinThickness: Triceps skin fold thickness (mm)
- Insulin: 2-Hour serum insulin (mu U/ml)
- BMI: Body mass index (weight in kg/(height in m)^2)
- DiabetesPedigreeFunction: Diabetes pedigree function
- Age: Age (years)
- Outcome: Class variable (0 or 1)
Created and tuned a model with random forest. This model is saved as a pickle file (model.pkl).
index.html file opens with using flask. According to user inputs makes a prediction. For prediction process pickle file opens as model. If user do not enter anything in form return a warning.
Created a form for take the inputs from user.
Procfile, runtime.txt and requirements.txt ara necessary for heroku.