[mlpack] 123/149: Tighten convergence tolerance for RastrigrinFunctionTest, since it doesn't seem to be coming close enough to the desired minimum.
Barak A. Pearlmutter
barak+git at pearlmutter.net
Sat May 2 09:11:16 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 3dc95337259b9d415ca4e2466db8cc992284d2a3
Author: rcurtin <rcurtin at 9d5b8971-822b-0410-80eb-d18c1038ef23>
Date: Tue Nov 25 16:57:36 2014 +0000
Tighten convergence tolerance for RastrigrinFunctionTest, since it doesn't seem
to be coming close enough to the desired minimum.
git-svn-id: http://svn.cc.gatech.edu/fastlab/mlpack/trunk@17413 9d5b8971-822b-0410-80eb-d18c1038ef23
---
src/mlpack/tests/sa_test.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mlpack/tests/sa_test.cpp b/src/mlpack/tests/sa_test.cpp
index b4564bc..bc8bb48 100644
--- a/src/mlpack/tests/sa_test.cpp
+++ b/src/mlpack/tests/sa_test.cpp
@@ -111,7 +111,7 @@ BOOST_AUTO_TEST_CASE(RastrigrinFunctionTest)
RastrigrinFunction f;
ExponentialSchedule schedule(3e-6);
SA<RastrigrinFunction> //sa(f, schedule);
- sa(f, schedule, 20000000, 100, 50, 1000, 1e-9, 2, 0.2, 0.01, 0.1);
+ sa(f, schedule, 20000000, 100, 50, 1000, 1e-12, 2, 0.2, 0.01, 0.1);
arma::mat coordinates = f.GetInitialPoint();
const double result = sa.Optimize(coordinates);
--
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