[mlpack-git] master: Make sure that we don't run out of samples. (c76e8f3)

gitdub at big.cc.gt.atl.ga.us gitdub at big.cc.gt.atl.ga.us
Wed Dec 23 11:43:03 EST 2015


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

On branch  : master
Link       : https://github.com/mlpack/mlpack/compare/de9cc4b05069e1fa4793d9355f2f595af5ff45d2...6070527af14296cd99739de6c62666cc5d2a2125

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

commit c76e8f351c17c3cbc4b7960c78fa74d1b748f863
Author: Ryan Curtin <ryan at ratml.org>
Date:   Wed Sep 30 09:45:33 2015 -0400

    Make sure that we don't run out of samples.


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

c76e8f351c17c3cbc4b7960c78fa74d1b748f863
 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 4bc7a0b..2a58399 100644
--- a/src/mlpack/tests/hoeffding_tree_test.cpp
+++ b/src/mlpack/tests/hoeffding_tree_test.cpp
@@ -297,7 +297,7 @@ BOOST_AUTO_TEST_CASE(HoeffdingSplitProbability1SplitTest)
   info.MapString("cat1", 0);
   info.MapString("cat0", 1);
 
-  HoeffdingSplit<> split(2, 2, info, 1.0, 5000);
+  HoeffdingSplit<> split(2, 2, info, 1.0, 12000);
 
   // Feed samples from each class.
   for (size_t i = 0; i < 5000; ++i)



More information about the mlpack-git mailing list