Instructions to use Jeroneo/iris-classifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Scikit-learn
How to use Jeroneo/iris-classifier with Scikit-learn:
from huggingface_hub import hf_hub_download import joblib model = joblib.load( hf_hub_download("Jeroneo/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
| { | |
| "test_accuracy": 0.9333, | |
| "cv_mean_accuracy": 0.9667, | |
| "cv_std_accuracy": 0.0211, | |
| "n_estimators": 100, | |
| "max_depth": 5, | |
| "train_samples": 120, | |
| "test_samples": 30, | |
| "class_names": [ | |
| "setosa", | |
| "versicolor", | |
| "virginica" | |
| ], | |
| "feature_names": [ | |
| "sepal length (cm)", | |
| "sepal width (cm)", | |
| "petal length (cm)", | |
| "petal width (cm)" | |
| ] | |
| } |