[mlpack] 132/149: Tweak SGD parameters a little bit.

Barak A. Pearlmutter barak+git at pearlmutter.net
Sat May 2 09:11:18 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 a8623d4392a14dba188414853c84486757d1459c
Author: rcurtin <rcurtin at 9d5b8971-822b-0410-80eb-d18c1038ef23>
Date:   Wed Dec 3 02:33:04 2014 +0000

    Tweak SGD parameters a little bit.
    
    
    git-svn-id: http://svn.cc.gatech.edu/fastlab/mlpack/trunk@17434 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 69dabb4..b6ef228 100644
--- a/src/mlpack/tests/logistic_regression_test.cpp
+++ b/src/mlpack/tests/logistic_regression_test.cpp
@@ -548,7 +548,7 @@ BOOST_AUTO_TEST_CASE(LogisticRegressionSGDRegularizationSimpleTest)
   // Create a logistic regression object using custom SGD 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