We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0ea2b5 commit ae6f580Copy full SHA for ae6f580
sklearn/cluster/tests/test_mean_shift.py
@@ -37,7 +37,7 @@ def test_estimate_bandwidth_1sample():
37
# Test estimate_bandwidth when n_samples=1 and quantile<1, so that
38
# n_neighbors is set to 1.
39
bandwidth = estimate_bandwidth(X, n_samples=1, quantile=0.3)
40
- assert_equal(bandwidth, 0.)
+ assert_array_almost_equal(bandwidth, 0., decimal=5)
41
42
43
def test_mean_shift():
0 commit comments