[mlpack-git] master, mlpack-1.0.x: Disambiguate: math::RandomSeed() -> mlpack::math::RandomSeed(). Issue noted by Zhihao. (b595048)
gitdub at big.cc.gt.atl.ga.us
gitdub at big.cc.gt.atl.ga.us
Thu Mar 5 21:52:00 EST 2015
Repository : https://github.com/mlpack/mlpack
On branches: master,mlpack-1.0.x
Link : https://github.com/mlpack/mlpack/compare/904762495c039e345beba14c1142fd719b3bd50e...f94823c800ad6f7266995c700b1b630d5ffdcf40
>---------------------------------------------------------------
commit b595048c9d876624d0e47d0b1f07ab87c2b90fde
Author: Ryan Curtin <ryan at ratml.org>
Date: Tue Jul 8 12:18:40 2014 +0000
Disambiguate: math::RandomSeed() -> mlpack::math::RandomSeed(). Issue noted by
Zhihao.
>---------------------------------------------------------------
b595048c9d876624d0e47d0b1f07ab87c2b90fde
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,
More information about the mlpack-git
mailing list