Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

FIX: fixes error caused by break line

  • Loading branch information...
commit 7c8521c0a0fd5f4a023896eae642613a8dd157b8 1 parent 9b38790
Wei LI kuantkid authored amueller committed

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. +2 2 sklearn/metrics/cluster/tests/test_supervised.py
4 sklearn/metrics/cluster/tests/test_supervised.py
@@ -172,8 +172,8 @@ def test_entropy():
172 172 def test_exactly_zero_info_score():
173 173 """Check numerical stabability when information is exactly zero"""
174 174 for i in np.logspace(1, 4, 4):
175   - labels_a, labels_b = np.ones(i, dtype=np.int),
176   - np.arange(i, dtype=np.int)
  175 + labels_a, labels_b = np.ones(i, dtype=np.int),\
  176 + np.arange(i, dtype=np.int)
177 177 assert_equal(normalized_mutual_info_score(labels_a, labels_b), 0.0)
178 178 assert_equal(v_measure_score(labels_a, labels_b), 0.0)
179 179 assert_equal(adjusted_mutual_info_score(labels_a, labels_b), 0.0)

0 comments on commit 7c8521c

Please sign in to comment.
Something went wrong with that request. Please try again.