pyhgf.updates.prediction_error.inputs.binary.binary_input_prediction_error_finite_precision#

pyhgf.updates.prediction_error.inputs.binary.binary_input_prediction_error_finite_precision(attributes: Dict, time_step: float, node_idx: int, value: float, **args) Dict[source]#

Compute the prediction error of a binary input assuming a finite precision.

Parameters:
attributes

The attributes of the probabilistic nodes.

time_step

The interval between the previous time point and the current time point.

node_idx

Pointer to the value parent node that will be updated.

value

The new observed value.

Returns:
attributes

The attributes of the probabilistic nodes.

References

[1]

Weber, L. A., Waade, P. T., Legrand, N., Møller, A. H., Stephan, K. E., & Mathys, C. (2023). The generalized Hierarchical Gaussian Filter (Version 1). arXiv. https://doi.org/10.48550/ARXIV.2305.10937