pyhgf.updates.prediction_error.continuous.continuous_node_value_prediction_error#
- pyhgf.updates.prediction_error.continuous.continuous_node_value_prediction_error(attributes, node_idx, edges=())[source]#
Compute the value prediction error of a state node.
The value prediction error \(\delta_j^{(k)}\) of a continuous state node is given by:
\[\delta_j^{(k)} = \mu_j^{k} - \hat{\mu}_j^{k}\]See [1] for more details.
- Parameters:
attributes (dict) – The attributes of the probabilistic nodes.
node_idx (int) – Pointer to the value parent node that will be updated.
edges (tuple[AdjacencyLists, ...]) – Unused. Kept for API compatibility with callers that pass edges.
- Returns:
The attributes of the probabilistic nodes.
- Return type:
References
[1]Weber, L. A., Waade, P. T., Legrand, N., Møller, A. H., Stephan, K. E., & Mathys, C. (2026). The generalized hierarchical Gaussian filter. doi:10.7554/elife.110174.1