[mlpack-svn] r17296 - mlpack/trunk/src/mlpack/tests
fastlab-svn at coffeetalk-1.cc.gatech.edu
fastlab-svn at coffeetalk-1.cc.gatech.edu
Wed Nov 5 11:43:17 EST 2014
Author: rcurtin
Date: Wed Nov 5 11:43:16 2014
New Revision: 17296
Log:
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.
Modified:
mlpack/trunk/src/mlpack/tests/distribution_test.cpp
Modified: mlpack/trunk/src/mlpack/tests/distribution_test.cpp
==============================================================================
--- mlpack/trunk/src/mlpack/tests/distribution_test.cpp (original)
+++ mlpack/trunk/src/mlpack/tests/distribution_test.cpp Wed Nov 5 11:43:16 2014
@@ -57,10 +57,11 @@
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-svn
mailing list