[mlpack-git] master: The RandomizedSVDReconstructionError test is prone to not match the reconstruction error, so we slightly increase the number of iterations for the power method. (e777a56)

gitdub at mlpack.org gitdub at mlpack.org
Thu Jul 7 18:52:34 EDT 2016


Repository : https://github.com/mlpack/mlpack
On branch  : master
Link       : https://github.com/mlpack/mlpack/compare/d7287ac8851d399a1e94bf1b66ead70800c87cf4...e777a56db9f151dca564ecd15547d30497e03eb5

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

commit e777a56db9f151dca564ecd15547d30497e03eb5
Author: Marcus Edel <marcus.edel at fu-berlin.de>
Date:   Fri Jul 8 00:52:34 2016 +0200

    The RandomizedSVDReconstructionError test is prone to not match the reconstruction error, so we slightly increase the number of iterations for the power method.


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

e777a56db9f151dca564ecd15547d30497e03eb5
 src/mlpack/tests/randomized_svd_test.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mlpack/tests/randomized_svd_test.cpp b/src/mlpack/tests/randomized_svd_test.cpp
index a911279..d0050e9 100644
--- a/src/mlpack/tests/randomized_svd_test.cpp
+++ b/src/mlpack/tests/randomized_svd_test.cpp
@@ -41,7 +41,7 @@ BOOST_AUTO_TEST_CASE(RandomizedSVDReconstructionError)
 
   arma::svd_econ(U1, s1, V1, centeredData);
 
-  svd::RandomizedSVD rSVD(0, 6);
+  svd::RandomizedSVD rSVD(0, 10);
   rSVD.Apply(data, U2, s2, V2, 3);
 
   // Use the same amount of data for the compariosn (matrix rank).




More information about the mlpack-git mailing list