<p>Hi there Davud,</p>

<p>I'm sorry that you had these problems.  I did a little debugging and committed a few changes (<a href="https://github.com/mlpack/mlpack/commit/a435e75e7115bd0848272e0e12e9a09a3b815dfc" class="commit-link"><tt>a435e75</tt></a>..<a href="https://github.com/mlpack/mlpack/commit/713fa60a06f709bc715c4dd88f6ba585796f73a0" class="commit-link"><tt>713fa60</tt></a>) that should fix your issues.  You were correct that there was a misspelling; <code>label_file</code> should have been <code>labels_file</code>.  I went a bit further and ensured that <code>hmm_viterbi</code> and <code>hmm_generate</code> and <code>hmm_loglik</code> all work with an HMM generated by <code>hmm_train</code>, and in my trials it seems to work.  So I think that if you update to the latest git master revision and recompile, you should not have any problems.</p>

<p>One note is that any HMM you trained earlier with <code>hmm_train</code> will not load right; there was a bug that prevented the initial state probabilities from being properly saved (fixed in <a href="https://github.com/mlpack/mlpack/commit/7bbe7359987e5d95566864f4b51952b4c024d7da" class="commit-link"><tt>7bbe735</tt></a>).</p>

<p>Please, let me know if you have any more issues, and again, sorry for the inconvenience.</p>

<p>Thanks,</p>

<p>Ryan</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br>Reply to this email directly or <a href="https://github.com/mlpack/mlpack/issues/474#issuecomment-157779857">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AJ4bFImG8AJ12totV5_np-FXCJcGBgdWks5pHKdVgaJpZM4GkmQo.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/mlpack/mlpack/issues/474#issuecomment-157779857"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>