Skip to content

This Tensorflow model is trained on the diabetes dataset to predict whether the person has diabetes .

Notifications You must be signed in to change notification settings

hitesh-bhatnagar/Diabetes_prediction_model

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

Diabetes Prediction Model

This repository contains a Jupyter Notebook for predicting diabetes using a machine learning model. The dataset used for this project is from Kaggle: Diabetes Prediction Dataset.

Table of Contents

Overview

Diabetes is a chronic disease that affects millions of people worldwide. Early detection is crucial for managing the condition and preventing complications. This project aims to predict the likelihood of diabetes in a patient based on various medical attributes using machine learning techniques.

Dataset

The dataset used in this project is publicly available on Kaggle and contains several medical predictors such as age, BMI, blood pressure, insulin level, and more.

Installation

To run this project, you need to have Python and Jupyter Notebook installed on your system. Additionally, install the required Python packages by running:

pip install -r requirements.txt

Usage

  1. Clone the repository:
    git clone https://github.com/your-username/diabetes-prediction.git
    cd diabetes-prediction
  2. Install the required packages:
    pip install -r requirements.txt
  3. Open the Jupyter Notebook:
    jupyter notebook Diabetes_prediction_model.ipynb
  4. Follow the steps in the notebook to preprocess the data, train the model, and evaluate its performance.

Model

The notebook covers the following steps:

  1. Data Exploration: Understanding the dataset and visualizing the features.
  2. Data Preprocessing: Cleaning the data and preparing it for the model.
  3. Model Training: Training various machine learning models such as Logistic Regression, Decision Tree, Random Forest, and others.
  4. Model Evaluation: Evaluating the performance of the models using metrics such as accuracy, precision, recall, and F1 score.

Results

The model's performance is evaluated, and the best-performing model is selected based on the evaluation metrics. Details of the results can be found in the notebook.

Contributing

Contributions are welcome! Please fork the repository and submit a pull request for any enhancements or bug fixes.

About

This Tensorflow model is trained on the diabetes dataset to predict whether the person has diabetes .

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published