bayespy.inference.vmp.nodes.gaussian_markov_chain.SwitchingGaussianMarkovChainDistribution.compute_message_to_parent

SwitchingGaussianMarkovChainDistribution.compute_message_to_parent(parent, index, u, u_mu, u_Lambda, u_B, u_Z, u_v)[source]

Compute a message to a parent.

Parameters:
  • index (int) – Index of the parent requesting the message.

  • u (list of ndarrays) – Moments of this node.

  • u_mu (list of ndarrays) – Moments of parent mu.

  • u_Lambda (list of ndarrays) – Moments of parent Lambda.

  • u_B (list of ndarrays) – Moments of parent B.

  • u_Z (list of ndarrays) – Moments of parent Z.

  • u_v (list of ndarrays) – Moments of parent v.