Downloads · 30 days
0
d2i-pti-iu/iris_test
iris_test is a tabular classification model from d2i-pti-iu. Use it for the tabular classification task on the model card, and read the license before you ship it in a product. It is set up for sklearn.
Downloads · 30 days
0
Access
Public
Updated May 2, 2023
Repo size
3.8 KB
Likes
0
Public
Click a slice to open those files.
.joblib3.8 KB · 64%
From the Hugging Face model README
import joblib
from sklearn.datasets import load_iris
from sklearn.model_selection import train_test_split
REPO_ID = "d2i-pti-iu/test_svc_model"
FILENAME = "iris_svm.joblib"
model = joblib.load("../d2i-pti-iu/iris_test/iris_svm.joblib")
iris = load_iris()
X = iris.data[:3]
Y = iris.target[:3]
labels = model.predict(X)
model.score(X, Y)