Update README.md
Browse files
README.md
CHANGED
@@ -35,5 +35,14 @@ model = joblib.load("../d2i-pti-iu/iris_test/iris_svm.joblib")
|
|
35 |
iris = load_iris()
|
36 |
|
37 |
X = iris.data[:3]
|
|
|
38 |
labels = model.predict(X)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
39 |
```
|
|
|
35 |
iris = load_iris()
|
36 |
|
37 |
X = iris.data[:3]
|
38 |
+
Y = iris.target[:3]
|
39 |
labels = model.predict(X)
|
40 |
+
```
|
41 |
+
|
42 |
+
|
43 |
+
|
44 |
+
#### Eval
|
45 |
+
|
46 |
+
```python
|
47 |
+
model.score(X, Y)
|
48 |
```
|