[mlpack-git] master: Remove random seed to make test reproducible. (808b52d)

gitdub at big.cc.gt.atl.ga.us gitdub at big.cc.gt.atl.ga.us
Thu Mar 5 22:04:32 EST 2015


Repository : https://github.com/mlpack/mlpack

On branch  : master
Link       : https://github.com/mlpack/mlpack/compare/904762495c039e345beba14c1142fd719b3bd50e...f94823c800ad6f7266995c700b1b630d5ffdcf40

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

commit 808b52d4ed403819ee40b5da3b3f14c74c705c0d
Author: Ryan Curtin <ryan at ratml.org>
Date:   Wed Dec 3 02:33:18 2014 +0000

    Remove random seed to make test reproducible.


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

808b52d4ed403819ee40b5da3b3f14c74c705c0d
 src/mlpack/tests/logistic_regression_test.cpp | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/mlpack/tests/logistic_regression_test.cpp b/src/mlpack/tests/logistic_regression_test.cpp
index b6ef228..c3c319b 100644
--- a/src/mlpack/tests/logistic_regression_test.cpp
+++ b/src/mlpack/tests/logistic_regression_test.cpp
@@ -539,7 +539,6 @@ BOOST_AUTO_TEST_CASE(LogisticRegressionLBFGSRegularizationSimpleTest)
 // regularization.
 BOOST_AUTO_TEST_CASE(LogisticRegressionSGDRegularizationSimpleTest)
 {
-  math::RandomSeed(std::time(NULL));
   // Very simple fake dataset.
   arma::mat data("1 2 3;"
                  "1 2 3");



More information about the mlpack-git mailing list