Skip to content

Commit

Permalink
kmeans test tolerance due to flakiness
Browse files Browse the repository at this point in the history
  • Loading branch information
adamgayoso committed Dec 28, 2023
1 parent 6c1f706 commit e866f3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def test_kmeans():
sk_means_labels = pairwise_distances_argmin(X, sk_means_cluster_centers)

accuracy = (k_means_labels == sk_means_labels).sum() / len(k_means_labels)
assert accuracy > 0.999
assert accuracy > 0.997


def test_kbet():
Expand Down

0 comments on commit e866f3f

Please sign in to comment.