[mlpack] 146/324: Disambiguate: math::RandomSeed() -> mlpack::math::RandomSeed(). Issue noted by Zhihao.

Barak A. Pearlmutter barak+git at cs.nuim.ie
Sun Aug 17 08:22:05 UTC 2014


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

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

commit ae6d77adb9091b611672b12f2030a5a3c551ab3a
Author: rcurtin <rcurtin at 9d5b8971-822b-0410-80eb-d18c1038ef23>
Date:   Tue Jul 8 12:18:40 2014 +0000

    Disambiguate: math::RandomSeed() -> mlpack::math::RandomSeed().  Issue noted by
    Zhihao.
    
    
    git-svn-id: http://svn.cc.gatech.edu/fastlab/mlpack/trunk@16785 9d5b8971-822b-0410-80eb-d18c1038ef23
---
 src/mlpack/tests/svd_test.cpp | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/mlpack/tests/svd_test.cpp b/src/mlpack/tests/svd_test.cpp
index 388a3cd..7160645 100644
--- a/src/mlpack/tests/svd_test.cpp
+++ b/src/mlpack/tests/svd_test.cpp
@@ -42,7 +42,7 @@ BOOST_AUTO_TEST_CASE(SVDMomentumTest)
   // Fill sparse matrix.
   sp_mat cleanedData = arma::sp_mat(locations, values, maxUserID, maxItemID);
 
-  math::RandomSeed(10);
+  mlpack::math::RandomSeed(10);
   ValidationRMSETermination<sp_mat> vrt(cleanedData, 2000);
   AMF<ValidationRMSETermination<sp_mat>,
       RandomInitialization,
@@ -54,7 +54,7 @@ BOOST_AUTO_TEST_CASE(SVDMomentumTest)
   size_t RMSE_1 = amf_1.Apply(cleanedData, 2, m1, m2);
   size_t iter_1 = amf_1.TerminationPolicy().Iteration();
 
-  math::RandomSeed(10);
+  mlpack::math::RandomSeed(10);
   AMF<ValidationRMSETermination<sp_mat>,
       RandomInitialization,
       SVDBatchLearning> amf_2(vrt,
@@ -95,7 +95,7 @@ BOOST_AUTO_TEST_CASE(SVDRegularizationTest)
   // Fill sparse matrix.
   sp_mat cleanedData = arma::sp_mat(locations, values, maxUserID, maxItemID);
 
-  math::RandomSeed(10);
+  mlpack::math::RandomSeed(10);
   ValidationRMSETermination<sp_mat> vrt(cleanedData, 2000);
   AMF<ValidationRMSETermination<sp_mat>,
       RandomInitialization,
@@ -106,7 +106,7 @@ BOOST_AUTO_TEST_CASE(SVDRegularizationTest)
   mat m1,m2;
   size_t RMSE_1 = amf_1.Apply(cleanedData, 2, m1, m2);
 
-  math::RandomSeed(10);
+  mlpack::math::RandomSeed(10);
   AMF<ValidationRMSETermination<sp_mat>,
       RandomInitialization,
       SVDBatchLearning> amf_2(vrt,

-- 
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