[mlpack-git] master: Relax tolerance for test. (dd268fe)

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


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

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

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

commit dd268feaef00e2a82ae9c0363906ab5f1a4bbbb7
Author: Ryan Curtin <ryan at ratml.org>
Date:   Wed Dec 23 17:24:52 2015 -0500

    Relax tolerance for test.


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

dd268feaef00e2a82ae9c0363906ab5f1a4bbbb7
 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 d3129da..4e686d3 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 + 25);
+  BOOST_REQUIRE_GT(batchCorrect, streamCorrect + 10);
 }
 
 BOOST_AUTO_TEST_SUITE_END();



More information about the mlpack-git mailing list