[mlpack-svn] [MLPACK] #313: saving with higher precision
MLPACK Trac
trac at coffeetalk-1.cc.gatech.edu
Thu Jan 9 12:17:13 EST 2014
#313: saving with higher precision
---------------------------------------------+------------------------------
Reporter: fleischhauf | Owner:
Type: enhancement | Status: closed
Priority: major | Milestone: mlpack 1.0.9
Component: mlpack | Resolution: fixed
Keywords: save restore utility precision | Blocking:
Blocked By: |
---------------------------------------------+------------------------------
Changes (by rcurtin):
* status: new => closed
* resolution: => fixed
* milestone: => mlpack 1.0.9
Comment:
Hello there,
The correct solution to this is to store the transition matrix values and
the emission probability values in binary instead of as a string, but for
now I've done what you suggested and added a std::setprecision(15) to the
relevant calls. I've attached a patch you can apply (or modify if 15
isn't enough). The reason I didn't go through and start storing HMM
values in binary format is that the SaveRestoreUtility is going through a
bit of overhaul right now, so I don't want to make an svn merging
nightmare for the guy working on it. If you're using svn trunk already, I
merged these changes in in r16136.
Definitely in the future, though, binary saves is the right way to go.
Feel free to reopen the ticket if this doesn't solve the problem.
Thanks,
Ryan
--
Ticket URL: <http://trac.research.cc.gatech.edu/fastlab/ticket/313#comment:1>
MLPACK <www.fast-lab.org>
MLPACK is an intuitive, fast, and scalable C++ machine learning library developed at Georgia Tech.
More information about the mlpack-svn
mailing list