Viterbi algorithm for a DCMM model.

1 | ```
march.dcmm.viterbi(d, y)
``` |

`d` |
The |

`y` |
The |

A list of vectors containing the most likely sequences of hidden states, considering the given model for each sequence of the given dataset.

Ogier Maitre

1 2 3 4 5 6 7 | ```
# Estimation of a DCMM
set.seed(327)
# Computation of a the simplest DCMM model
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,pewee)
print(bestSeq)
``` |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.