viterbi_algo {CHMM}R Documentation

Implementation of the Viterbi algorithm

Description

Implementation of the Viterbi algorithm

Usage

viterbi_algo(emisPr, transPr, initPr)

Arguments

emisPr

a matrix of emission probabilities for the considering series.

transPr

a matrix of state transition probabilities.

initPr

a vector specifying initial state probabilities.

Value

path

the most likely path (state sequence).


[Package CHMM version 0.1.1 Index]