Skip to content

The project Diabetic Prediction is fully made using Python (sklearn and pandas library). The model was trained on Pima Indians Diabetes Dataset, used to detect if the person is diabetic or not.

Notifications You must be signed in to change notification settings

siddhikasavant/Diabetic-Prediction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

7 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🩺 Diabetes Prediction using Machine Learning

This project uses the Pima Indians Diabetes Dataset to predict whether a person is diabetic using health data and a Machine Learning model.

πŸš€ Features

  • Used Random Forest Classifier
  • Scaled inputs using StandardScaler
  • Achieved ~81% accuracy
  • Accepts real-time user input for prediction

🧠 Tech Stack

  • Python
  • Jupyter Notebook
  • pandas, numpy
  • scikit-learn (ML magic)

πŸ“ Dataset Info

  • Source: Pima Indians Diabetes Dataset
  • Total Rows: 768
  • Columns:
    • Pregnancies
    • Glucose
    • Blood Pressure
    • Skin Thickness
    • Insulin
    • BMI
    • Diabetes Pedigree Function
    • Age
    • Outcome (0 = Not Diabetic, 1 = Diabetic)

πŸ“Š Example Prediction

# Example input
[5, 160, 70, 32, 100, 35.0, 0.8, 42]

Model Output
"⚠️ Diabetic Detected"

How to Run

  • Clone the repo:
git clone https://github.com/siddhikasavant/Diabetes-Prediction.git
  • Open main.ipynb in Jupyter
  • Run all cells & try testing your own values

About

The project Diabetic Prediction is fully made using Python (sklearn and pandas library). The model was trained on Pima Indians Diabetes Dataset, used to detect if the person is diabetic or not.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published