Skip to content
Snippets Groups Projects
Commit c219d094 authored by Andreas Mueller's avatar Andreas Mueller
Browse files

FIX whooops sorry

parent aaa66116
No related branches found
No related tags found
No related merge requests found
...@@ -282,7 +282,7 @@ def test_decision_function(): ...@@ -282,7 +282,7 @@ def test_decision_function():
assert_array_almost_equal(prediction, clf.label_[(clf.decision_function(X) assert_array_almost_equal(prediction, clf.label_[(clf.decision_function(X)
> 0).astype(np.int).ravel()]) > 0).astype(np.int).ravel()])
expected = np.array([[-1.], [-0.66], [-1.], [0.66], [1.], [1.]]) expected = np.array([[-1.], [-0.66], [-1.], [0.66], [1.], [1.]])
assert_array_almost_equal(clf.decision_function(X), expected) assert_array_almost_equal(clf.decision_function(X), expected, 2)
def test_weight(): def test_weight():
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment