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_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.