[mlpack-git] master, mlpack-1.0.x: Fixed a Mistake in HMM's ToString (a3eca33)

gitdub at big.cc.gt.atl.ga.us gitdub at big.cc.gt.atl.ga.us
Thu Mar 5 21:41:58 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 a3eca33d3ac6f4ea4b8621b3bb43a7513d9277cd
Author: birm <birm at gatech.edu>
Date:   Wed Feb 5 17:29:46 2014 +0000

    Fixed a Mistake in HMM's ToString


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

a3eca33d3ac6f4ea4b8621b3bb43a7513d9277cd
 src/mlpack/methods/hmm/hmm_impl.hpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/mlpack/methods/hmm/hmm_impl.hpp b/src/mlpack/methods/hmm/hmm_impl.hpp
index 4892040..b45e503 100644
--- a/src/mlpack/methods/hmm/hmm_impl.hpp
+++ b/src/mlpack/methods/hmm/hmm_impl.hpp
@@ -494,8 +494,8 @@ std::string HMM<Distribution>::ToString() const
 {
   std::ostringstream convert;
   convert << "HMM [" << this << "]" << std::endl;
-  convert << "  Dimensionality: " << Dimensionality <<std::endl;
-  convert << "  Tolerance: " << Tolerance <<std::endl;
+  convert << "  Dimensionality: " << dimensionality <<std::endl;
+  convert << "  Tolerance: " << tolerance <<std::endl;
   convert << "  Transition matrix: " << transition.n_rows << "x" ;
   convert << transition.n_cols << std::endl;
   return convert.str();



More information about the mlpack-git mailing list