Skip to content

Commit

Permalink
DOC describe test_ovr_multilabel better
Browse files Browse the repository at this point in the history
  • Loading branch information
larsmans committed Dec 21, 2011
1 parent ba475b1 commit f41352e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sklearn/tests/test_multiclass.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ def test_ovr_fit_predict():


def test_ovr_multilabel():
# Toy dataset where features correspond directly to labels.
X = np.array([[0, 4, 5], [0, 5, 0], [3, 3, 3], [4, 0, 6], [6, 0, 0]])
y = [[1, 2], [1], [0, 1, 2], [0, 2], [0]]
Y = np.array([[0, 1, 1],
Expand Down

0 comments on commit f41352e

Please sign in to comment.