[mlpack-git] master: Relax tolerance. (cfb5983)

gitdub at big.cc.gt.atl.ga.us gitdub at big.cc.gt.atl.ga.us
Wed Dec 23 21:13:18 EST 2015


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

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

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

commit cfb5983819adf81009ea266ca54ba9e3b30d7926
Author: Ryan Curtin <ryan at ratml.org>
Date:   Wed Dec 23 21:13:06 2015 -0500

    Relax tolerance.


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

cfb5983819adf81009ea266ca54ba9e3b30d7926
 src/mlpack/tests/hoeffding_tree_test.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mlpack/tests/hoeffding_tree_test.cpp b/src/mlpack/tests/hoeffding_tree_test.cpp
index 4e686d3..cd0fe2f 100644
--- a/src/mlpack/tests/hoeffding_tree_test.cpp
+++ b/src/mlpack/tests/hoeffding_tree_test.cpp
@@ -980,7 +980,7 @@ BOOST_AUTO_TEST_CASE(BatchTrainingTest)
 
   // The batch tree must be a bit better than the stream tree.  But not too
   // much, since the accuracy is already going to be very high.
-  BOOST_REQUIRE_GT(batchCorrect, streamCorrect + 10);
+  BOOST_REQUIRE_GT(batchCorrect, streamCorrect);
 }
 
 BOOST_AUTO_TEST_SUITE_END();



More information about the mlpack-git mailing list