|
Algorithm 1: Variational learning of the SD-HMM model. |
-
1.
Initialize the shape and scale parameters of the SD distribution.
-
2.
Define the initial responsibilities.
-
3.
Compute , and .
-
4.
Initialize , and .
-
5.
while |old likelihood - new likelihood| ≥ 0
-
6.
Compute the data likelihood.
-
7.
Compute the responsibilities with the forward–backward procedure.
-
8.
Update the hyperparameters of the shape and scale parameters.
-
9.
Update , and using responsibilities , and .
-
10.
Update , and using , and .
|