Skip to content

Commit

Permalink
Remove test_hubs_equal_to_zero
Browse files Browse the repository at this point in the history
  • Loading branch information
JKomorniczak committed Aug 6, 2024
1 parent bbf9223 commit 8a61f3f
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions problexity/tests/test_classification.py
Original file line number Diff line number Diff line change
Expand Up @@ -446,12 +446,6 @@ def test_hubs():
metric = px.classification.hubs
assert _get_comparison(metric)>0.5

def test_hubs_equal_to_zero():
X, y = make_classification(random_state=115)
X[y==0] += 100
value = px.classification.hubs(X,y)
assert value==0

def test_hubs_close_to_one():
X, y = make_classification(random_state=115, flip_y=0.5)
value = px.classification.hubs(X,y)
Expand Down

0 comments on commit 8a61f3f

Please sign in to comment.