8000
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 518b183 commit e260583Copy full SHA for e260583
sklearn/cluster/tests/test_mean_shift.py
@@ -36,7 +36,7 @@ def test_estimate_bandwidth_1sample():
36
# Test estimate_bandwidth when n_samples=1 and quantile<1, so that
37
# n_neighbors is set to 1.
38
bandwidth = estimate_bandwidth(X, n_samples=1, quantile=0.3)
39
- assert_equal(bandwidth, 0.)
+ assert_array_almost_equal(bandwidth, 0., decimal=5)
40
41
42
def test_mean_shift():
0 commit comments