Refactored example code a bit
Browse files
README.md
CHANGED
@@ -62,7 +62,9 @@ model = ClassificationModel(
|
|
62 |
|
63 |
)
|
64 |
|
65 |
-
predictions, logit_output = model.predict(["Build the wall",
|
|
|
|
|
66 |
predictions
|
67 |
### Output:
|
68 |
### array([1, 0])
|
|
|
62 |
|
63 |
)
|
64 |
|
65 |
+
predictions, logit_output = model.predict(["Build the wall",
|
66 |
+
"Build the wall of trust"]
|
67 |
+
)
|
68 |
predictions
|
69 |
### Output:
|
70 |
### array([1, 0])
|