[mlpack-svn] [MLPACK] #315: set initial state probabilities for hmm
MLPACK Trac
trac at coffeetalk-1.cc.gatech.edu
Mon Jan 13 12:00:49 EST 2014
#315: set initial state probabilities for hmm
--------------------------+-------------------------------------------------
Reporter: fleischhauf | Owner:
Type: enhancement | Status: reopened
Priority: minor | Milestone: mlpack 1.0.9
Component: mlpack | Resolution:
Keywords: | Blocking:
Blocked By: |
--------------------------+-------------------------------------------------
Changes (by rcurtin):
* milestone: => mlpack 1.0.9
Comment:
Ok, I understand what you mean now. Here is a comment in the source that
I found:
{{{
// Starting state (at t = -1) is assumed to be state 0. This is what
MATLAB
// does in their hmmdecode() function, so we will emulate that behavior.
}}}
So mlpack just assumes that the initial state is always state 0. It
should not be hard to put actual initial state probabilities into the
code. I may be able to find time to do that in the next few days, but I'm
pretty busy right now. These functions will need to be modified:
* HMM::Predict()
* HMM::Train()
* HMM::Forward()
as well as the HMM class itself (it'll need to hold initial state
probabilities), and a test to make sure that it works with the initial
state probabilities properly.
--
Ticket URL: <http://trac.research.cc.gatech.edu/fastlab/ticket/315#comment:3>
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