HiddenMarkov

scalation.modeling.classifying.HiddenMarkov
See theHiddenMarkov companion class
object HiddenMarkov

The HiddenMarkov companion object provides a convenience method for testing.

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def allState(hmm: HiddenMarkov, xall: Array[String], xval: Array[VectorI]): Unit

For the hmm model, print all state sequences and their joint probability P(x, y).

For the hmm model, print all state sequences and their joint probability P(x, y).

Value parameters

hmm

the Hidden Markov Model

xall

the strings for all state sequences

xval

the values for all state sequences

Attributes

def test(hmm: HiddenMarkov): Unit

Test the hmm model, printing out the unscaled and scaled versions of the alpha and beta matrices, and the gamma matrix calculated from unscaled and scaled matrices.

Test the hmm model, printing out the unscaled and scaled versions of the alpha and beta matrices, and the gamma matrix calculated from unscaled and scaled matrices.

Value parameters

hmm

the Hidden Markov Model

Attributes