Skip to content

Commit

Permalink
Reduce general precision to 4 decimals.
Browse files Browse the repository at this point in the history
  • Loading branch information
csadorf committed Aug 31, 2023
1 parent f70f198 commit 1112522
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/cuml/tests/test_metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -1030,7 +1030,7 @@ def test_pairwise_distances(metric: str, matrix_size, is_col_major):
# Test the pairwise_distance helper function.
rng = np.random.RandomState(0)

compare_precision = 2 if metric == "nan_euclidean" else 6
compare_precision = 2 if metric == "nan_euclidean" else 4

# Compare to sklearn, single input
X = prep_dense_array(
Expand Down

0 comments on commit 1112522

Please sign in to comment.