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.
- π SVM model for classification
- π Data standardization with
StandardScaler - β Model evaluation with accuracy score
- πΎ Model saved as
model.pklandscaler.pkl - π Gradio web interface for easy predictions
-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: Datasetmodel.pkl: Trained SVM modelscaler.pkl: StandardScaler used for preprocessingrequirements.txt: List of dependencies