pyhgf.updates.prediction_error.binary.binary_state_node_prediction_error#

pyhgf.updates.prediction_error.binary.binary_state_node_prediction_error(attributes: Dict, node_idx: int, **args) Array[source]#

Compute the value prediction errors and predicted precision of a binary node.

Parameters:
attributes

The attributes of the probabilistic nodes.

node_idx

Pointer to the binary state node.

Returns:
attributes

The attributes of the probabilistic nodes.