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
indexint

Index of the parent requesting the message.

ulist of ndarrays

Moments of this node.

u_mulist of ndarrays

Moments of parent mu.

u_Lambdalist of ndarrays

Moments of parent Lambda.

u_Blist of ndarrays

Moments of parent B.

u_Zlist of ndarrays

Moments of parent Z.

u_vlist of ndarrays

Moments of parent v.