[mlpack-git] master: Tighten convergence tolerance for RastrigrinFunctionTest, since it doesn't seem to be coming close enough to the desired minimum. (5504bb0)
gitdub at big.cc.gt.atl.ga.us
gitdub at big.cc.gt.atl.ga.us
Thu Mar 5 22:04:11 EST 2015
Repository : https://github.com/mlpack/mlpack
On branch : master
Link : https://github.com/mlpack/mlpack/compare/904762495c039e345beba14c1142fd719b3bd50e...f94823c800ad6f7266995c700b1b630d5ffdcf40
>---------------------------------------------------------------
commit 5504bb0d78b3d97c4a49512c41ed11b5bd340e29
Author: Ryan Curtin <ryan at ratml.org>
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.
>---------------------------------------------------------------
5504bb0d78b3d97c4a49512c41ed11b5bd340e29
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);
More information about the mlpack-git
mailing list