[mlpack] HMM problem with nan

Thuener Silva thuener at gmail.com
Mon Jul 21 11:13:03 EDT 2014


I think there is some problem with the train model using the Baum-Welch
algorithm, with only the given unlabeled observations(void
HMM<Distribution>::Train(const std::vector<arma::mat>& dataSeq))

Sometimes the mean and covariance are returned all nan and it takes a long
time to terminate the train. Another strange think is that I have to
reinstanciate the HMM to get out of this problem. Even changing the initial
mean and covariance, I get same erro if I don't resinstanciate the HMM.

I'm trying to get to the root of the problem. I already know that after
some time the value of oldLoglik is nan and with that then the Baum-Welch
will only exit when it get to maximum number of iterations(1000).

How get the debug messages from mlpack?


Grats,
Thuener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.cc.gatech.edu/pipermail/mlpack/attachments/20140721/f0ef8c0f/attachment.html>


More information about the mlpack mailing list