[mlpack-git] mlpack-1.0.x: Tighten tolerance convergence for test (merge from trunk). (121af7b)
gitdub at big.cc.gt.atl.ga.us
gitdub at big.cc.gt.atl.ga.us
Wed Jan 7 11:58:31 EST 2015
Repository : https://github.com/mlpack/mlpack
On branch : mlpack-1.0.x
Link : https://github.com/mlpack/mlpack/compare/0000000000000000000000000000000000000000...904762495c039e345beba14c1142fd719b3bd50e
>---------------------------------------------------------------
commit 121af7b046750f9eff3f83861713766065d749ec
Author: Ryan Curtin <ryan at ratml.org>
Date: Wed Dec 10 15:16:16 2014 +0000
Tighten tolerance convergence for test (merge from trunk).
>---------------------------------------------------------------
121af7b046750f9eff3f83861713766065d749ec
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