Description Usage Arguments Value Author(s) Examples
Viterbi algorithm for a DCMM model.
1 |
d |
The |
A list of vectors containing the most likely sequences of hidden states, considering the given model for each sequence of the given dataset.
Kevin Emery
1 2 3 4 5 6 7 | set.seed(327)
# Computation of a DCMM model
## Not run: model <- march.dcmm.construct(y=pewee,orderHC=1,orderVC=1,M=2,popSize=1,gen=1)
# Extraction of the best sequence of hidden states using the Viterbi algorithm.
bestSeq <- march.dcmm.viterbi(model)
print(bestSeq)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.