[mlpack-svn] r13818 - mlpack/trunk/src/mlpack/methods/nca

fastlab-svn at coffeetalk-1.cc.gatech.edu fastlab-svn at coffeetalk-1.cc.gatech.edu
Thu Nov 1 12:58:10 EDT 2012


Author: rcurtin
Date: 2012-11-01 12:58:10 -0400 (Thu, 01 Nov 2012)
New Revision: 13818

Modified:
   mlpack/trunk/src/mlpack/methods/nca/nca.hpp
Log:
Better default tolerance; 1e-5 is too high and may "accidentally" converge too
soon.


Modified: mlpack/trunk/src/mlpack/methods/nca/nca.hpp
===================================================================
--- mlpack/trunk/src/mlpack/methods/nca/nca.hpp	2012-11-01 16:57:51 UTC (rev 13817)
+++ mlpack/trunk/src/mlpack/methods/nca/nca.hpp	2012-11-01 16:58:10 UTC (rev 13818)
@@ -55,7 +55,7 @@
       const arma::uvec& labels,
       const double stepSize = 0.01,
       const size_t maxIterations = 500000,
-      const double tolerance = 1e-5,
+      const double tolerance = 1e-10,
       MetricType metric = MetricType());
 
   /**




More information about the mlpack-svn mailing list