Views
No views yet
0 (setosa), 1 (versicolor), or 2 (virginica)1import skops.io as sio
2from huggingface_hub import hf_hub_download
3
4path = hf_hub_download(repo_id="mosesalphonse/iris-classifier", filename="model.skops")
5model = sio.load(path, trusted=True)
6
7prediction = model.predict([[5.1, 3.5, 1.4, 0.2]])
8print(prediction)