Skip to content

Commit

Permalink
added comment on decoder algorithm in the rst doc.
Browse files Browse the repository at this point in the history
  • Loading branch information
lucidfrontier45 committed Feb 13, 2012
1 parent dfd6bea commit 88f35b4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion doc/modules/hmm.rst
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,10 @@ the sequence of observed value. Note, since EM-algorithm is a gradient based
optimization method, it will generally be stuck at local optimal. You should try
to run `fit` with various initialization and select the highest scored model.
The score of the model can be calculated by the `score` method.
The infered optimal hidden states can be obtained by calling `predict` method.
The infered optimal hidden states can be obtained by calling `predict` method.
The `predict` method can be specified with decoder algorithm.
Currently Viterbi algorithm `viterbi`, and maximum a posteriori
estimation `map` is supported.
This time, the input is a single sequence of observed values.::

>>> model2 = hmm.GaussianHMM(3, "full")
Expand Down

0 comments on commit 88f35b4

Please sign in to comment.