An open API service indexing awesome lists of open source software.

https://github.com/chandkund/predicting-diabetes-onset

The "Predicting Diabetes Onset" project aims to build a machine learning model that predicts whether an individual has diabetes based on various health-related features. The dataset used for this project includes attributes related to medical history and physical measurements.
https://github.com/chandkund/predicting-diabetes-onset

deep-learning numpy pandas python seaborn sklearn-library sklearn-metrics visualization

Last synced: 3 months ago
JSON representation

The "Predicting Diabetes Onset" project aims to build a machine learning model that predicts whether an individual has diabetes based on various health-related features. The dataset used for this project includes attributes related to medical history and physical measurements.

Awesome Lists containing this project

README

          

# Predicting Diabetes Onset ๐Ÿฉบ๐Ÿ’ก

## Project Overview
This project focuses on predicting the onset of diabetes using various machine learning models. The goal is to develop a predictive model based on health-related features to determine the likelihood of diabetes.

## Dataset
The dataset includes the following features:
- **Pregnancies**: Number of pregnancies ๐Ÿคฐ
- **Glucose**: Plasma glucose concentration (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**: A measure of likelihood of diabetes based on family history.
- **Age**: Age of the individual (years) ๐ŸŽ‚
- **Outcome**: Whether the individual has diabetes (1) or not (0) โœ…โŒ

## Models Used
- **GaussianNB**
- **DecisionTreeClassifier**
- **RandomForestClassifier**
- **LogisticRegression**
- **AdaBoostClassifier**
- **XGBClassifier**
- **SVC**
- **GradientBoostingClassifier**
- **Neural Network**

## Installation
To run this project, you need to install the following Python libraries:
- pandas ๐Ÿ“œ
- numpy ๐Ÿงฎ
- scikit-learn ๐Ÿ› ๏ธ
- xgboost ๐Ÿš€
- tensorflow (for Neural Networks) ๐Ÿง 

You can install them using pip:
```bash
pip install pandas numpy scikit-learn xgboost tensorflow
```

## Usage
Clone the repository:
```bash
git clone https://github.com/chandkund/Predicting-Diabetes-Onset
```
## Navigate to the project directory:
```bash
cd Predicting-Diabetes-Onset
```
## Run the main script:
```bash
python main.py
```
Results
The project evaluates the performance of various models on the dataset, providing insights into which model performs best for predicting diabetes onset.

License
This project is licensed under the MIT License - see the [LICENSE](LICENSE)file for details.