[mlpack] 38/44: Tighten tolerance convergence for test (merge from trunk).

Barak A. Pearlmutter barak+git at pearlmutter.net
Mon Feb 15 19:35:55 UTC 2016


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

bap pushed a commit to tag mlpack-1.0.11
in repository mlpack.

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

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