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

The attributes of the probabilistic nodes.

node_idx

Pointer to the binary state node.

Returns:
attributes

The attributes of the probabilistic nodes.

Parameters:
  • attributes (Dict)

  • node_idx (int)

Return type:

Array