public class HmmXi
extends java.lang.Object
implements java.io.Serializable
ξt(i, j) = P(qt = si, qt+1 = sj | Ω, λ)
| Constructor and Description |
|---|
HmmXi(HiddenMarkovModel model)
Construct the xi matrices generator.
|
| Modifier and Type | Method and Description |
|---|---|
Matrix[] |
xi(int[] observations)
Get the ξ matrices, where for 1 ≤ t ≤ T - 1,
the t-th entry of ξ is an (N * N) matrix, for which the (i, j)-th entry is ξt(i, j).
|
public HmmXi(HiddenMarkovModel model)
model - a (discrete) hidden Markov modelpublic Matrix[] xi(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).