This web application is designed to detect if someone has diabetes using machine learning and Python. It allows users to input various health parameters and predicts whether they are likely to have diabetes or not.
- Display dataset information: Provides an overview of the dataset used for training the model.
- User input: Allows users to enter their health parameters through a sidebar slider.
- Model prediction: Uses a trained Random Forest classifier to predict whether the user has diabetes or not.
- Accuracy score: Shows the accuracy score of the model's predictions on the test dataset.
- Educational resources: Provides links to educational content and resources related to diabetes.
- Python 3.6 or higher
- Streamlit library
- Pandas library
- Scikit-learn library
- Pillow library
-
Clone the repository:
git clone https://github.com/your-username/diabetes-detection.git
-
Install the required dependencies:
pip install -r requirements.txt