[mlpack-git] master: Increase number of samples and give debugging output, in order to try and track down the bug I am seeing in all the Jenkins tests. (a2e3a64)
gitdub at big.cc.gt.atl.ga.us
gitdub at big.cc.gt.atl.ga.us
Thu Mar 5 22:02:19 EST 2015
Repository : https://github.com/mlpack/mlpack
On branch : master
Link : https://github.com/mlpack/mlpack/compare/904762495c039e345beba14c1142fd719b3bd50e...f94823c800ad6f7266995c700b1b630d5ffdcf40
>---------------------------------------------------------------
commit a2e3a644013903b7d694c0a291d771ad23b89c90
Author: Ryan Curtin <ryan at ratml.org>
Date: Wed Nov 5 16:43:16 2014 +0000
Increase number of samples and give debugging output, in order to try and track
down the bug I am seeing in all the Jenkins tests.
>---------------------------------------------------------------
a2e3a644013903b7d694c0a291d771ad23b89c90
src/mlpack/tests/distribution_test.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/mlpack/tests/distribution_test.cpp b/src/mlpack/tests/distribution_test.cpp
index fd3c76f..64268fd 100644
--- a/src/mlpack/tests/distribution_test.cpp
+++ b/src/mlpack/tests/distribution_test.cpp
@@ -57,10 +57,11 @@ BOOST_AUTO_TEST_CASE(DiscreteDistributionRandomTest)
arma::vec actualProb(3);
actualProb.zeros();
- for (size_t i = 0; i < 10000; i++)
+ for (size_t i = 0; i < 50000; i++)
actualProb((size_t) (d.Random()[0] + 0.5))++;
// Normalize.
+ Log::Debug << actualProb.t();
actualProb /= accu(actualProb);
// 8% tolerance, because this can be a noisy process.
More information about the mlpack-git
mailing list