Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🩺 Diabetes Prediction using SVM

This project uses a Support Vector Machine (SVM) classifier to predict whether a person is diabetic based on health-related parameters. It includes a Gradio web app for live predictions and saves the model and scaler for deployment.

πŸš€ Features

  • πŸ” SVM model for classification
  • πŸ“Š Data standardization with StandardScaler
  • βœ… Model evaluation with accuracy score
  • πŸ’Ύ Model saved as model.pkl and scaler.pkl
  • 🌐 Gradio web interface for easy predictions

πŸ“‚ Files

-Dataset.ipynb – Jupyter notebook for data loading, preprocessing, model training, evaluation, and saving .pkl files.

  • diabetes.py – Python script version of the notebook for training and saving the model.
  • diabetes.csv: Dataset
  • model.pkl: Trained SVM model
  • scaler.pkl: StandardScaler used for preprocessing
  • requirements.txt: List of dependencies

Interface

Screenshot 2025-07-16 133353

About

A machine learning project that predicts whether a person is diabetic using an SVM classifier. Includes a Gradio web app for real-time predictions based on health parameters.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages