Skip to content

Commit 792885e

Browse files
committed
Updated test [skip ci]
1 parent 4fa8262 commit 792885e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/classifier_test.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@ def test_multiclass
3131
model.fit(x_train, y_train)
3232
y_pred = model.predict(x_test)
3333
expected = [1, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 2, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 2, 2, 1, 1, 1, 0, 1, 2, 1, 2, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 1, 1, 1, 2, 1, 1, 1, 1, 1, 1, 1]
34-
# TODO fix
35-
# assert_equal expected, y_pred.first(100)
34+
assert_equal expected, y_pred.first(100)
3635

3736
y_pred_proba = model.predict_proba(x_test)
3837
expected = [0.0020083063282072544, 0.9485360383987427, 0.04945564642548561]

0 commit comments

Comments
 (0)