Skip to content

mpnithishpraba/MLP1-Diabetes-Prediction-Model

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

5 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🩺 Diabetes Prediction System

A Machine Learning project that predicts whether a person has diabetes based on medical input data.


πŸš€ Features

  • Data preprocessing (handling missing values)
  • Train/Test split (80% / 20%)
  • Stratified sampling
  • Random Forest / XGBoost model
  • Cross-validation for reliable performance
  • Automatic generation of test.csv
  • User input prediction via terminal

πŸ› οΈ Tech Stack

  • Python
  • Pandas
  • NumPy
  • Scikit-learn
  • XGBoost

βš™οΈ Installation

pip install -r requirements.txt


▢️ Run the Project

python main.py


πŸ“Š Model Performance

  • Test Accuracy: ~75% – 80%
  • Cross-Validation Accuracy: ~75% – 80%

πŸ“Œ Input Parameters

  • Pregnancies
  • Glucose
  • Blood Pressure
  • Skin Thickness
  • Insulin
  • BMI
  • Diabetes Pedigree Function
  • Age

πŸ“ˆ Output

  • Predicts whether the person may have diabetes or not

⚠️ Disclaimer

This project is for educational purposes only and should not be used for medical diagnosis.


πŸ‘¨β€πŸ’» Author

Nithish Praba M P
Machine Learning Enthusiast

About

Machine Learning model for diabetes prediction using Random Forest and XGBoost with preprocessing and evaluation

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages