public class HmmGamma
extends java.lang.Object
implements java.io.Serializable
γt(i) = P(qt = si | Ω, λ)
| Constructor and Description |
|---|
HmmGamma(HiddenMarkovModel model)
Construct the gamma matrix generator.
|
| Modifier and Type | Method and Description |
|---|---|
Matrix |
gamma(int[] observations)
Get the (T * N) γ matrix,
where the (t, i)-th entry is γt(i).
|
public HmmGamma(HiddenMarkovModel model)
model - a (discrete) hidden Markov modelpublic Matrix gamma(int[] observations)
observations - an integer array of observation symbols (length = T).
Each symbol is a positive integer less than or equal to M (the number of observation symbols per state).