[mlpack] 140/149: Adjust tolerances.

Barak A. Pearlmutter barak+git at pearlmutter.net
Sat May 2 09:11:19 UTC 2015


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

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

commit 431c684ea22d06924d1e28985959552b3532b0bf
Author: rcurtin <rcurtin at 9d5b8971-822b-0410-80eb-d18c1038ef23>
Date:   Wed Dec 10 15:15:30 2014 +0000

    Adjust tolerances.
    
    
    git-svn-id: http://svn.cc.gatech.edu/fastlab/mlpack/trunk@17486 9d5b8971-822b-0410-80eb-d18c1038ef23
---
 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 c3c319b..8775f60 100644
--- a/src/mlpack/tests/logistic_regression_test.cpp
+++ b/src/mlpack/tests/logistic_regression_test.cpp
@@ -498,7 +498,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