bayespy.inference.vmp.nodes.gaussian_markov_chain.SwitchingGaussianMarkovChainDistribution.compute_phi_from_parents

SwitchingGaussianMarkovChainDistribution.compute_phi_from_parents(u_mu, u_Lambda, u_B, u_Z, u_v, mask=True)[source]

Compute the natural parameters using parents’ moments.

Parameters
u_parentslist of list of arrays

List of parents’ lists of moments.

Returns
philist of arrays

Natural parameters.

dimstuple

Shape of the variable part of phi.