gamma
(variational parameters) in a static binary directed network.The C++ function gamma_update_HMM_stat_dir() updates the value of variable gamma
(variational parameters) in a static binary directed network.
gamma_update_HMM_stat_dir(gamma, pi, theta, network, N, K)
Vector of current gamma
(variational parameters) values.
Vector of current pi
(mixture proportions) values.
Vector of current theta
(network canonical parameters) values.
Array of a network adjacency matrices.
Number of nodes.
Number of clusters.
Returns all quadratic and linear term coefficients for the quadratic programs corresponding to all nodes.