[mlpack-svn] r17490 - in mlpack/tags/mlpack-1.0.11: . src/mlpack/tests

fastlab-svn at coffeetalk-1.cc.gatech.edu fastlab-svn at coffeetalk-1.cc.gatech.edu
Wed Dec 10 10:35:03 EST 2014


Author: rcurtin
Date: Wed Dec 10 10:35:02 2014
New Revision: 17490

Log:
Merge RastrigrinFunction test failure probability relaxation from trunk.


Modified:
   mlpack/tags/mlpack-1.0.11/   (props changed)
   mlpack/tags/mlpack-1.0.11/src/mlpack/tests/sa_test.cpp

Modified: mlpack/tags/mlpack-1.0.11/src/mlpack/tests/sa_test.cpp
==============================================================================
--- mlpack/tags/mlpack-1.0.11/src/mlpack/tests/sa_test.cpp	(original)
+++ mlpack/tags/mlpack-1.0.11/src/mlpack/tests/sa_test.cpp	Wed Dec 10 10:35:02 2014
@@ -117,11 +117,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