Permalink
Browse files

FIX: fixes error caused by break line

  • Loading branch information...
weilinear authored and amueller committed Sep 17, 2012
1 parent 9b38790 commit 7c8521c0a0fd5f4a023896eae642613a8dd157b8
Showing with 2 additions and 2 deletions.
  1. +2 −2 sklearn/metrics/cluster/tests/test_supervised.py
@@ -172,8 +172,8 @@ def test_entropy():
def test_exactly_zero_info_score():
"""Check numerical stabability when information is exactly zero"""
for i in np.logspace(1, 4, 4):
- labels_a, labels_b = np.ones(i, dtype=np.int),
- np.arange(i, dtype=np.int)
+ labels_a, labels_b = np.ones(i, dtype=np.int),\
+ np.arange(i, dtype=np.int)
assert_equal(normalized_mutual_info_score(labels_a, labels_b), 0.0)
assert_equal(v_measure_score(labels_a, labels_b), 0.0)
assert_equal(adjusted_mutual_info_score(labels_a, labels_b), 0.0)

0 comments on commit 7c8521c

Please sign in to comment.