bayespy.inference.vmp.nodes.gaussian_markov_chain.GaussianMarkovChainDistribution.compute_phi_from_parents

GaussianMarkovChainDistribution.compute_phi_from_parents(u_mu_Lambda, u_A_nu, *u_inputs, mask=True)[source]

Compute the natural parameters using parents’ moments.

Parameters:

u_parents : list of list of arrays

List of parents’ lists of moments.

Returns:

phi : list of arrays

Natural parameters.

dims : tuple

Shape of the variable part of phi.