public class HiddenMarkovModel extends HiddenMarkovModel
| Constructor and Description |
|---|
HiddenMarkovModel(HiddenMarkovModel model)
Copy constructor.
|
HiddenMarkovModel(Vector PI,
Matrix A,
Matrix B)
Construct a Rabiner hidden Markov model.
|
| Modifier and Type | Method and Description |
|---|---|
ImmutableMatrix |
B()
Get the conditional probabilities of the observation symbols:
rows correspond to state; columns corresponds symbols.
|
int |
nSymbols()
Get the number of observation symbols per state.
|
next, nextDouble, seedpublic HiddenMarkovModel(Vector PI, Matrix A, Matrix B)
PI - the initial state probabilitiesA - the state transition probabilitiesB - the conditional probabilities of the observation symbols: rows correspond to state; columns corresponds symbolspublic HiddenMarkovModel(HiddenMarkovModel model)
model - a HiddenMarkovModelpublic ImmutableMatrix B()
public int nSymbols()