Skip to content

Commit cd60746

Browse files
committed
Numbers for architecture on CI
1 parent 6b9cb56 commit cd60746

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

fast_hdbscan/tests/test_hdbscan.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -154,14 +154,14 @@ def test_hdbscan_badargs():
154154
def test_fhdbscan_allow_single_cluster_with_epsilon():
155155
np.random.seed(0)
156156
no_structure = np.random.rand(150, 2)
157-
# without epsilon we should see 68 noise points and 9 labels
157+
# without epsilon we should see 68 noise points and 8 labels
158158
c = HDBSCAN(
159159
min_cluster_size=5,
160160
cluster_selection_epsilon=0.0,
161161
).fit(no_structure)
162162
unique_labels, counts = np.unique(c.labels_, return_counts=True)
163-
assert len(unique_labels) == 9
164-
assert counts[unique_labels == -1] == 62
163+
assert len(unique_labels) == 8
164+
assert counts[unique_labels == -1] == 68
165165

166166
# An epsilon of 0.2 will produce 2 noise points and 2 labels
167167
# Allow single cluster does not prevent applying the epsilon threshold.

0 commit comments

Comments
 (0)