[mlpack-git] master: Loosen tolerances to reduce failure rate. (1e5443b)

gitdub at big.cc.gt.atl.ga.us gitdub at big.cc.gt.atl.ga.us
Wed Dec 23 19:12:24 EST 2015


Repository : https://github.com/mlpack/mlpack

On branch  : master
Link       : https://github.com/mlpack/mlpack/compare/bcabda77ee982d8c3512a5bf77f72fe10f1c5e09...0af5e8c8d98a42ce82232ceddc37609df7e7920d

>---------------------------------------------------------------

commit 1e5443b07137258efe8afb4991fd5049325912ef
Author: Ryan Curtin <ryan at ratml.org>
Date:   Wed Dec 23 17:26:14 2015 -0500

    Loosen tolerances to reduce failure rate.


>---------------------------------------------------------------

1e5443b07137258efe8afb4991fd5049325912ef
 src/mlpack/tests/gmm_test.cpp | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/mlpack/tests/gmm_test.cpp b/src/mlpack/tests/gmm_test.cpp
index aa672fd..8bb9e68 100644
--- a/src/mlpack/tests/gmm_test.cpp
+++ b/src/mlpack/tests/gmm_test.cpp
@@ -405,9 +405,9 @@ BOOST_AUTO_TEST_CASE(GMMRandomTest)
   BOOST_REQUIRE_CLOSE(gmm.Weights()[1], gmm2.Weights()[sortedIndices[1]], 7.0);
 
   BOOST_REQUIRE_CLOSE(gmm.Component(0).Mean()[0],
-      gmm2.Component(sortedIndices[0]).Mean()[0], 6.5);
+      gmm2.Component(sortedIndices[0]).Mean()[0], 7.5);
   BOOST_REQUIRE_CLOSE(gmm.Component(0).Mean()[1],
-      gmm2.Component(sortedIndices[0]).Mean()[1], 6.5);
+      gmm2.Component(sortedIndices[0]).Mean()[1], 7.5);
 
   BOOST_REQUIRE_CLOSE(gmm.Component(0).Covariance()(0, 0),
       gmm2.Component(sortedIndices[0]).Covariance()(0, 0), 13.0);
@@ -419,9 +419,9 @@ BOOST_AUTO_TEST_CASE(GMMRandomTest)
       gmm2.Component(sortedIndices[0]).Covariance()(1, 1), 13.0);
 
   BOOST_REQUIRE_CLOSE(gmm.Component(1).Mean()[0],
-      gmm2.Component(sortedIndices[1]).Mean()[0], 6.5);
+      gmm2.Component(sortedIndices[1]).Mean()[0], 7.5);
   BOOST_REQUIRE_CLOSE(gmm.Component(1).Mean()[1],
-      gmm2.Component(sortedIndices[1]).Mean()[1], 6.5);
+      gmm2.Component(sortedIndices[1]).Mean()[1], 7.5);
 
   BOOST_REQUIRE_CLOSE(gmm.Component(1).Covariance()(0, 0),
       gmm2.Component(sortedIndices[1]).Covariance()(0, 0), 13.0);



More information about the mlpack-git mailing list