This repository contains a Streamlit application for predicting diabetes based on user input parameters. The prediction is made using a pre-trained machine learning model.
Link deployment for public: https://diabetes-prediction-by-ika.streamlit.app/
app.py: The main Streamlit application script.diabetes_model.pkl: The trained machine learning model used for prediction.scaler.pkl: The scaler used to normalize the input features.Diabetes_Prediction-Ika_Nurfitriani.ipynb: A Jupyter Notebook used for model training and evaluation.requirements.txt: To specify the Python packages and their versions that are required to run diabetes prediction application.
- User Input: Enter the required parameters for the prediction.
- Pregnancies
- Glucose
- Blood Pressure
- Skin Thickness
- Insulin
- BMI
- Diabetes Pedigree Function
- Age
- Prediction: Click the
Predictbutton to get the prediction.
- The application will display whether the person is diabetic or non-diabetic.
- If available, the prediction probabilities will also be displayed.
-
Clone the repository from GitHub:
git clone https://github.com/ikanurfitriani/Diabetes-Prediction.git -
Navigate to the project directory:
cd Diabetes-Prediction -
Install the required dependencies:
pip install -r requirements.txt -
Run the Streamlit application:
streamlit run app.py
The following is a screen capture from the Diabetes Prediction App:
SS1
SS2

