Skip to content

Kumarharsh1/Diabetes-Prediction-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 

Repository files navigation

Diabetes Prediction App

Open in Streamlit

For Opening a WebApp - https://6890c6b0ddf903296517c592--diabetescheckapp.netlify.app/

Login id -kh949118@gmail.com,password - Harsh@1234

Overview

A Streamlit web app that predicts whether a patient is likely to have diabetes based on health parameters.
Built with Python, Scikit-learn, and Streamlit.


Features

  • User-friendly web interface
  • Input fields for health metrics (e.g., Glucose, BMI, Age)
  • Machine learning-based prediction
  • Instant results
  • Can be deployed online for public access

File Structure

diabetes-prediction-app ├── app.py # Main Streamlit app ├── model.pkl # Trained ML model ├── requirements.txt # Dependencies ├── README.md # Project documentation └── data/ └── diabetes.csv # Dataset


Dataset

The model is trained using the Pima Indians Diabetes Database from Kaggle:
Dataset Link


How to Run Locally

# Clone this repository
git clone https://github.com/your-username/diabetes-prediction-app.git

# Navigate to the project folder
cd diabetes-prediction-app

# Install dependencies
pip install -r requirements.txt

# Run the app
streamlit run app.py

Requirements

Python 3.8+
Streamlit
Pandas
Scikit-learn
Numpy

Install them all with:
pip install -r requirements.txt



About

Diabetes Prediction using Machine Learning This project uses machine learning models to predict whether a person is likely to have diabetes based on various health metrics. It includes data preprocessing, model training, evaluation, and deployment using Streamlit.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors