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 eff1cf2 commit c5ae227Copy full SHA for c5ae227
pymc/tests/gp/test_util.py
@@ -59,11 +59,11 @@ def setup_method(self):
59
def test_kmeans(self):
60
X = self.x[:, None]
61
Xu = pm.gp.util.kmeans_inducing_points(2, X).flatten()
62
- npt.assert_allclose(np.asarray(self.centers), np.sort(Xu), atol=0.1)
+ npt.assert_allclose(np.asarray(self.centers), np.sort(Xu), rtol=0.05)
63
64
X = at.as_tensor_variable(self.x[:, None])
65
66
67
68
def test_kmeans_raises(self):
69
with pytest.raises(TypeError):
0 commit comments