pyhgf.updates.prediction.continuous.continuous_node_prediction_mean_field#

pyhgf.updates.prediction.continuous.continuous_node_prediction_mean_field(attributes, node_idx, edges, **args)[source]#

Mean-field (v0.2.11) prediction step for a continuous node.

Uses the simple v0.2.11 formula: no MGF correction on volatility total, no Laplace value-coupling variance term.

Parameters:
  • attributes (dict) – The attributes of the probabilistic nodes.

  • node_idx (int) – Pointer to the node that will be updated.

  • edges (tuple[AdjacencyLists, ...]) – The edges of the probabilistic nodes as a tuple of pyhgf.typing.AdjacencyLists. The tuple has the same length as the node number. For each node, the index lists the value and volatility parents and children.

Returns:

The updated attributes of the probabilistic nodes.

Return type:

attributes