[mlpack-svn] r17489 - mlpack/trunk/src/mlpack/tests
fastlab-svn at coffeetalk-1.cc.gatech.edu
fastlab-svn at coffeetalk-1.cc.gatech.edu
Wed Dec 10 10:33:44 EST 2014
Author: rcurtin
Date: Wed Dec 10 10:33:43 2014
New Revision: 17489
Log:
The failure probability is already small, but not small enough it seems.
Modified:
mlpack/trunk/src/mlpack/tests/sa_test.cpp
Modified: mlpack/trunk/src/mlpack/tests/sa_test.cpp
==============================================================================
--- mlpack/trunk/src/mlpack/tests/sa_test.cpp (original)
+++ mlpack/trunk/src/mlpack/tests/sa_test.cpp Wed Dec 10 10:33:43 2014
@@ -102,11 +102,11 @@
BOOST_AUTO_TEST_CASE(RastrigrinFunctionTest)
{
// Simulated annealing isn't guaranteed to converge (except in very specific
- // situations). If this works 1 of 4 times, I'm fine with that. All I want
+ // situations). If this works 1 of 5 times, I'm fine with that. All I want
// to know is that this implementation will escape from local minima.
size_t successes = 0;
- for (size_t trial = 0; trial < 4; ++trial)
+ for (size_t trial = 0; trial < 5; ++trial)
{
RastrigrinFunction f;
ExponentialSchedule schedule(3e-6);
More information about the mlpack-svn
mailing list