|
Download README.md from ppryan/iris_classification_using_KNN: direct link, hf CLI and curl.
- Browser
- Download file 519 Bytes
-
https://huggingface.co/spaces/ppryan/iris_classification_using_KNN/resolve/main/README.md
- Command line
-
hf download hf://spaces/ppryan/iris_classification_using_KNN/README.md
-
curl -L -o README.md https://huggingface.co/spaces/ppryan/iris_classification_using_KNN/resolve/main/README.md
519 Bytes
A newer version of the Gradio SDK is available: 6.30.0
metadata
title: Iris Classification Demo
sdk: gradio
app_file: app.py
Iris Classification Demo
A simple Hugging Face Space that predicts Iris species using a KNN classifier.
What’s inside
train.py: trains aStandardScaler + KNNmodel withGridSearchCVand savesmodel.joblib.app.py: Gradio UI for interactive predictions.
Running locally
pip install -r requirements.txt
python train.py
python app.py
Notes
- The app will auto-train the model if
model.joblibis missing.