[mlpack-git] master, mlpack-1.0.x: Minor changes to ToString(). (2478634)

gitdub at big.cc.gt.atl.ga.us gitdub at big.cc.gt.atl.ga.us
Thu Mar 5 21:43:02 EST 2015


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

On branches: master,mlpack-1.0.x
Link       : https://github.com/mlpack/mlpack/compare/904762495c039e345beba14c1142fd719b3bd50e...f94823c800ad6f7266995c700b1b630d5ffdcf40

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

commit 2478634261e06c288df4dd8d58156f1b19bfd009
Author: Ryan Curtin <ryan at ratml.org>
Date:   Mon Feb 10 14:12:35 2014 +0000

    Minor changes to ToString().


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

2478634261e06c288df4dd8d58156f1b19bfd009
 src/mlpack/core/optimizers/sgd/sgd_impl.hpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/mlpack/core/optimizers/sgd/sgd_impl.hpp b/src/mlpack/core/optimizers/sgd/sgd_impl.hpp
index 7af2779..63a9690 100644
--- a/src/mlpack/core/optimizers/sgd/sgd_impl.hpp
+++ b/src/mlpack/core/optimizers/sgd/sgd_impl.hpp
@@ -105,10 +105,10 @@ std::string SGD<DecomposableFunctionType>::ToString() const
   convert << "SGD [" << this << "]" << std::endl;
   convert << "  Function:" << std::endl;
   convert << util::Indent(function.ToString(), 2);
-  convert << "  StepSize: " << stepSize << std::endl;
-  convert << "  Maximum Iterations: " << maxIterations << std::endl;
+  convert << "  Step size: " << stepSize << std::endl;
+  convert << "  Maximum iterations: " << maxIterations << std::endl;
   convert << "  Tolerance: " << tolerance << std::endl;
-  convert << "  Shuffle: " << (shuffle ? "true" : "false") << std::endl;
+  convert << "  Shuffle points: " << (shuffle ? "true" : "false") << std::endl;
   return convert.str();
 }
 



More information about the mlpack-git mailing list