pyhgf.updates.prediction.volatile.predict_mean_value_level#
- pyhgf.updates.prediction.volatile.predict_mean_value_level(attributes, edges, node_idx)[source]#
Predict the mean of the value level (external facing).
This uses value parents if they exist.
- Parameters:
attributes (dict) – The attributes of the probabilistic nodes.
edges (tuple[AdjacencyLists, ...]) – The edges of the probabilistic nodes as a tuple of
pyhgf.typing.AdjacencyLists. For each node, the entry lists its value/volatility parents and children.node_idx (int) – Pointer to the volatile-state node that will be updated.
- Returns:
The expected (predicted) mean of the value level.
- Return type:
expected_mean