pyhgf.updates.prediction_error.binary.binary_state_node_prediction_error#
- pyhgf.updates.prediction_error.binary.binary_state_node_prediction_error(attributes, node_idx, **args)[source]#
Compute the value prediction errors and predicted precision of a binary node.
- Parameters:
attributes (dict) – The attributes of the probabilistic nodes.
node_idx (int) – Pointer to the binary state node.
- Returns:
The attributes of the probabilistic nodes.
- Return type:
attributes