[mlpack-svn] master: Loosen default tolerance: accelerate convergence. (658962f)

gitdub at big.cc.gt.atl.ga.us gitdub at big.cc.gt.atl.ga.us
Tue Jan 6 14:21:07 EST 2015


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

On branch  : master
Link       : https://github.com/mlpack/mlpack/compare/6b14d78fc09cb205ffa7a297f5e6310b2ad83e25...9147fd3ee8072669c18422de4ea6fbe8f964b423

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

commit 658962feb431677099cc88d895b4e0b5fa2ae404
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...


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

658962feb431677099cc88d895b4e0b5fa2ae404
 .../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