Assuming the prior distribution of the parameters to be formed from Dirichlet distributions, makes the maximisation step easy. Let , be random variables such that . In our case, are the transition probabilities corresponding to a certain body or the selection probabilities corresponding to a certain type. A Dirichlet distribution is defined as
(10) |
The terms of log likelihood that depend on can be written in the form , where are the expected counts of how many times was used. If we assume the counts to be constant and vary only the probabilities , we can find the maximum of the a posteriori density analytically:
(12) |