[mlpack-git] master: Loosen default tolerance: accelerate convergence. (3ffdd14)

gitdub at big.cc.gt.atl.ga.us gitdub at big.cc.gt.atl.ga.us
Thu Mar 5 22:10:36 EST 2015


Repository : https://github.com/mlpack/mlpack

On branch  : master
Link       : https://github.com/mlpack/mlpack/compare/904762495c039e345beba14c1142fd719b3bd50e...f94823c800ad6f7266995c700b1b630d5ffdcf40

>---------------------------------------------------------------

commit 3ffdd147f119197601af0fce174184186fcf76e3
Author: ryan <ryan at ratml.org>
Date:   Mon Jan 5 15:41:21 2015 -0500

    Loosen default tolerance: accelerate convergence.
    
    For larger optimizations the default termination value of 1e-10 may be way too small.
    So 1e-5 is generally better, but the user can always change it themselves...


>---------------------------------------------------------------

3ffdd147f119197601af0fce174184186fcf76e3
 .../methods/amf/termination_policies/simple_residue_termination.hpp     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/mlpack/methods/amf/termination_policies/simple_residue_termination.hpp b/src/mlpack/methods/amf/termination_policies/simple_residue_termination.hpp
index 3b7f18e..7baf92c 100644
--- a/src/mlpack/methods/amf/termination_policies/simple_residue_termination.hpp
+++ b/src/mlpack/methods/amf/termination_policies/simple_residue_termination.hpp
@@ -34,7 +34,7 @@ class SimpleResidueTermination
    * @param minResidue Minimum residue for termination.
    * @param maxIterations Maximum number of iterations.
    */
-  SimpleResidueTermination(const double minResidue = 1e-10,
+  SimpleResidueTermination(const double minResidue = 1e-5,
                            const size_t maxIterations = 10000)
       : minResidue(minResidue), maxIterations(maxIterations) { }
 



More information about the mlpack-git mailing list