[mlpack] 29/40: Loosen tolerance further. This is better-tested than my last attempt and appears to have a very low failure rate.
Barak A. Pearlmutter
barak+git at pearlmutter.net
Mon Feb 15 19:34:24 UTC 2016
This is an automated email from the git hooks/post-receive script.
bap pushed a commit to branch master
in repository mlpack.
commit a964357149a1926d6f274e997c35ab6e8aa12c27
Author: Ryan Curtin <ryan at ratml.org>
Date: Mon Feb 1 10:23:06 2016 -0800
Loosen tolerance further.
This is better-tested than my last attempt and appears to have a very low failure rate.
---
src/mlpack/tests/gmm_test.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mlpack/tests/gmm_test.cpp b/src/mlpack/tests/gmm_test.cpp
index 0f02a85..56300f6 100644
--- a/src/mlpack/tests/gmm_test.cpp
+++ b/src/mlpack/tests/gmm_test.cpp
@@ -218,7 +218,7 @@ BOOST_AUTO_TEST_CASE(GMMTrainEMMultipleGaussians)
for (size_t row = 0; row < dims; row++)
for (size_t col = 0; col < dims; col++)
BOOST_REQUIRE_CLOSE(gmm.Component(sortTry[i]).Covariance()(row, col),
- (covars[sortRef[i]])(row, col), 0.001);
+ (covars[sortRef[i]])(row, col), 0.05);
// Check the weight.
BOOST_REQUIRE_CLOSE(gmm.Weights()[sortTry[i]], weights[sortRef[i]],
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/mlpack.git
More information about the debian-science-commits
mailing list