In this version of the toolbox, there are some changes worth mentioned:
- 'posterior' has been added in the struct field of variable node to facilitate EM algorithm. The changes are reflected in the table in the next section.
- The function fn_cal_marg(f,x,i) is added in order to calculate the posterior marginal of a single node x(i)
- The function [x, marg_posterior, ll_max] = fn_cal_marg_whole(f,x) is added to calculate the posterior marginal of every hidden node x(i) in the entire network, and return the struct x with 'posterior'-field filled up with the marginal. Also the function provides the 'representative' log-likelihood value of the network.
- Some examples of using EM-algorithm with the toolbox are added. This will be discussed in more detail subsequently.
Some examples in this version