This project focuses on the early diagnosis of diabetes using various machine learning models. It includes the implementation and comparison of different algorithms to predict the likelihood of diabetes based on patient data, aiming to improve early detection and intervention.
MIT License
This project focuses on building and evaluating a machine learning model to diagnose diabetes based on patient data.
The goal of this project is to develop a reliable machine learning model that can predict whether a patient has diabetes based on specific medical measurements.
The dataset used for this project is the Pima Indians Diabetes Database, which contains several medical predictor variables and one target variable indicating the presence of diabetes.
Clone the repository:
git clone https://github.com/mohammadreza-mohammadi94/Diabetes_Diagnosis_Machine_Learning_Model.git
cd Diabetes_Diagnosis_Machine_Learning_Model
Create and activate a virtual environment (optional but recommended):
python -m venv venv
source venv/bin/activate # On Windows, use `venv\Scripts\activate`
Install the required packages:
pip install -r requirements.txt
streamlit run app.py
The model uses various classification algorithms including Logistic Regression, Decision Tree, Random Forest, and Support Vector Machine (SVM). The performance of these models is evaluated using metrics such as accuracy, precision, recall, and F1-score.
Contributions are welcome! Please fork the repository and submit a pull request with your improvements or new features.
This project is licensed under the MIT License. See the LICENSE file for more details.
For any questions or feedback, please feel free to reach out via GitHub issues.