The hmm plugin has two different constructors:
hmm( )
hmm( N
,
M
)
where the first one creates an empty hidden Markov model with states and
observation symbols (it assumes its parameters will be loaded hereafter); and
the second one creates a HMM with
N
hidden states and
M
observation symbols, and initializes its parameters with random values,
satisfying the stochastic constrains. Each of the
states is associated with
a unique integer number, ranging from
to
, which identifies the state.
The same is true for the observation symbols. Each of the
symbols is
represented by a unique integer number, whose value can range from
to
.