[mlpack] 68/149: 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.

Barak A. Pearlmutter barak+git at pearlmutter.net
Sat May 2 09:11:10 UTC 2015


This is an automated email from the git hooks/post-receive script.

bap pushed a commit to branch svn-trunk
in repository mlpack.

commit 12f3c976df2902550eb55e451317418251ed8bab
Author: rcurtin <rcurtin at 9d5b8971-822b-0410-80eb-d18c1038ef23>
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.
    
    
    git-svn-id: http://svn.cc.gatech.edu/fastlab/mlpack/trunk@17296 9d5b8971-822b-0410-80eb-d18c1038ef23
---
 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.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/mlpack.git



More information about the debian-science-commits mailing list