Skip to content

This Repo is having project diabetic prediction system work on streamlit application.

License

Notifications You must be signed in to change notification settings

Waleed-Ahmed-Khan/diabetic-prediction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Diabetic Prediction System

Welcome to the Diabetic Prediction System by Waleed Ahmed! This system is designed to predict the likelihood of an individual having diabetes based on various features such as glucose levels, blood pressure, BMI, and more. Below, you'll find a comprehensive guide on how to use this system effectively.

Table of Contents

Introduction

The Diabetic Prediction System is a web-based application built using Streamlit, a popular Python library for creating interactive web applications. It leverages machine learning algorithms to analyze and predict the likelihood of diabetes in individuals based on their health data.

Getting Started

Installation

To install the necessary dependencies, follow these steps:

  1. Clone this repository to your local machine:

    git clone https://github.com/Waleed-Ahmed-Khan/diabetic-prediction.git
  2. Navigate to the project directory:

    cd diabetic-prediction
  3. Install the required Python packages:

    pip install -r requirements.txt

Running the Application

To run the Diabetic Prediction System, execute the following command:

streamlit run app.py

This will start the Streamlit server, and you can access the application in your web browser at the provided URL.

Features

Uploads

In the Uploads section, you can upload your own CSV file containing the relevant data for diabetic prediction. If you don't have a suitable dataset, you can download one from Kaggle. Once you upload your file, it will be processed and displayed for further analysis.

Exploratory Data Analysis (EDA)

The EDA section allows you to explore the uploaded data in detail. It provides various insights such as summary statistics, data distribution, correlations, and more. You can visualize the data using interactive charts and graphs to gain a better understanding of the dataset.

Machine Learning (ML)

In the ML section, the uploaded data is used to train and evaluate different machine learning models for diabetic prediction. Models such as Logistic Regression, Decision Trees, Random Forests, SVM, and Neural Networks are trained and compared based on their performance metrics. Confusion matrices and classification reports are provided to assess the effectiveness of each model.

Prediction

The Prediction section allows you to make predictions for new data based on the trained machine learning models. You can input the relevant features for an individual, and the system will predict whether they are likely to have diabetes or not.

Note: It's recommended to upload your data and perform EDA before proceeding to the ML and Prediction sections for better insights and understanding.

Usage

To use the Diabetic Prediction System effectively, follow the steps outlined in the Getting Started section. Once the application is up and running, navigate through the different sections (Uploads, EDA, ML, Prediction) using the sidebar menu. Upload your data, explore insights, train models, and make predictions as needed.

Contributing

Contributions to the Diabetic Prediction System are welcome! If you have any suggestions, feature requests, or bug reports, please open an issue or submit a pull request on the GitHub repository.

License

This project is licensed under the MIT License.

Need Any Help

if you need any help regarding code and want to make progress in it you are welcome to contact me at my email [email protected] . for more understnading here is the link of the application i am hosting from streamlit application host, click on the following link. Diabetic Prediction System by Waleed Ahmed. Thanks me Later.

About

This Repo is having project diabetic prediction system work on streamlit application.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages