Accord.Statistics.Models.Markov.ContinuousHiddenMarkovModel.Decode C# (CSharp) Method

Decode() public method

Calculates the most likely sequence of hidden states that produced the given observation sequence.
Decoding problem. Given the HMM M = (A, B, pi) and the observation sequence O = {o1,o2, ..., oK}, calculate the most likely sequence of hidden states Si that produced this observation sequence O. This can be computed efficiently using the Viterbi algorithm.
public Decode ( Array observations, double &probability ) : int[]
observations System.Array A sequence of observations.
probability double The state optimized probability.
return int[]
        public int[] Decode(Array observations, out double probability)
        {
            return Decode(observations, false, out probability);
        }

Same methods

ContinuousHiddenMarkovModel::Decode ( Array observations, bool logarithm, double &probability ) : int[]