The C++ function ELBO_conv_HMM_stat_dir() updates the ELBO convergence function when the number of clusters is greater than or equal to 2 in a static binary directed network.
ELBO_conv_HMM_stat_dir(gamma, alpha, theta, network, N, K)
Vector of current gamma
(variational parameters) values.
Vector of current alpha
values.
Vector of current theta
(network canonical parameters) values.
Array of a network adjacency matrices.
Number of nodes.
Number of clusters.
Returns the value of ELBO for calculating relative error from the previous iterate that is subsequently used in the stopping criteria of the algorithm.