pyhgf.updates.prediction_error.volatile.volatile_node_volatility_prediction_error#

pyhgf.updates.prediction_error.volatile.volatile_node_volatility_prediction_error(attributes, node_idx)[source]#

Compute the volatility prediction error for the implicit volatility level.

This is computed from the value level’s precision surprise.

Parameters:
  • attributes (dict) – The attributes of the probabilistic nodes.

  • node_idx (int) – Pointer to the volatile-state node whose volatility prediction error is computed.

Returns:

The updated attributes of the probabilistic nodes.

Return type:

attributes