|
SuanShu, a Java numerical and statistical library | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.numericalmethod.suanshu.stats.hmm.HiddenMarkovModel
public class HiddenMarkovModel
This class represents a hidden Markov model as defined by Rabiner.
| Constructor Summary | |
|---|---|
HiddenMarkovModel(HiddenMarkovModel that)
Copy constructor. |
|
HiddenMarkovModel(Matrix A,
Matrix B)
Construct a (discrete) hidden Markov model with equal initial state probabilities |
|
HiddenMarkovModel(Vector PI,
Matrix A,
Matrix B)
Construct a (discrete) hidden Markov model. |
|
| Method Summary | |
|---|---|
ImmutableMatrix |
A()
Get the state transition probabilities. |
ImmutableMatrix |
B()
Get the observation symbol probabilities. |
int |
nStates()
Get the number of states. |
int |
nSymbols()
Get the number of distinct observation symbols per state. |
ImmutableVector |
PI()
Get the initial state probabilities. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HiddenMarkovModel(Vector PI,
Matrix A,
Matrix B)
PI - the initial state probabilitiesA - the state transition probabilitiesB - the observation symbol probabilities; each row corresponds to one state; each column corresponds to one symbol
public HiddenMarkovModel(Matrix A,
Matrix B)
A - the state transition probabilitiesB - the observation symbol probabilitiespublic HiddenMarkovModel(HiddenMarkovModel that)
that - a (discrete) hidden Markov model| Method Detail |
|---|
public ImmutableVector PI()
public ImmutableMatrix A()
public ImmutableMatrix B()
public int nStates()
public int nSymbols()
|
SuanShu, a Java numerical and statistical library | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||