Calculates the expected value of the complede data log likelihood given the first lambda value. Used to optimize lambda given all other parameters
1 2 3 4 5 6 7 8 9 10 11 | CompleteDataLogLikelihood(
lambda1,
data_pattern,
forward,
backward,
likelihoods,
init,
tran,
class,
pi_0
)
|
lambda1 |
First lambda value, since lambda has to sum to 1, can only optimize one and calculate the other easily |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.