Instructions to use BOUIDA/iris-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Scikit-learn
How to use BOUIDA/iris-classifier with Scikit-learn:
from huggingface_hub import hf_hub_download import joblib model = joblib.load( hf_hub_download("BOUIDA/iris-classifier", "sklearn_model.joblib") ) # only load pickle files from sources you trust # read more about it here https://skops.readthedocs.io/en/stable/persistence.html - Notebooks
- Google Colab
- Kaggle
Download params.yaml from BOUIDA/iris-classifier: direct link, hf CLI and curl.
- Browser
- Download file 233 Bytes
-
https://huggingface.co/BOUIDA/iris-classifier/resolve/main/params.yaml
- Command line
-
hf download hf://BOUIDA/iris-classifier/params.yaml
-
curl -L -o params.yaml https://huggingface.co/BOUIDA/iris-classifier/resolve/main/params.yaml
233 Bytes
| # Hyperparamètres et réglages du TP1. On les sort du code pour pouvoir | |
| # les changer sans toucher au script (et plus tard les suivre avec DVC/MLflow). | |
| data: | |
| test_size: 0.2 | |
| random_state: 42 | |
| model: | |
| C: 1.0 | |
| max_iter: 200 |