[mlpack-git] mlpack-1.0.x: Tighten tolerance convergence for test (merge from trunk). (3945239)

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


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

On branch  : mlpack-1.0.x
Link       : https://github.com/mlpack/mlpack/compare/904762495c039e345beba14c1142fd719b3bd50e...f94823c800ad6f7266995c700b1b630d5ffdcf40

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

commit 3945239ab5581ad857a4b966bd5a2fa3fe79a081
Author: Ryan Curtin <ryan at ratml.org>
Date:   Wed Dec 10 15:16:16 2014 +0000

    Tighten tolerance convergence for test (merge from trunk).


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

3945239ab5581ad857a4b966bd5a2fa3fe79a081
 src/mlpack/tests/logistic_regression_test.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mlpack/tests/logistic_regression_test.cpp b/src/mlpack/tests/logistic_regression_test.cpp
index 9db9328..0670f3b 100644
--- a/src/mlpack/tests/logistic_regression_test.cpp
+++ b/src/mlpack/tests/logistic_regression_test.cpp
@@ -513,7 +513,7 @@ BOOST_AUTO_TEST_CASE(LogisticRegressionSGDSimpleTest)
   // Create a logistic regression object using a custom SGD object with a much
   // smaller tolerance.
   LogisticRegressionFunction lrf(data, responses, 0.001);
-  SGD<LogisticRegressionFunction> sgd(lrf, 0.01, 100000, 1e-10);
+  SGD<LogisticRegressionFunction> sgd(lrf, 0.005, 500000, 1e-10);
   LogisticRegression<SGD> lr(sgd);
 
   // Test sigmoid function.



More information about the mlpack-git mailing list