|
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
| 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 a `StandardScaler + KNN` model with `GridSearchCV` and saves `model.joblib`. | |
| - `app.py`: Gradio UI for interactive predictions. | |
| ## Running locally | |
| ```bash | |
| pip install -r requirements.txt | |
| python train.py | |
| python app.py | |
| ``` | |
| ## Notes | |
| - The app will auto-train the model if `model.joblib` is missing. | |