pyhgf.response.binary_softmax#
- pyhgf.response.binary_softmax(hgf, response_function_inputs=typing.Union[jax.Array, numpy.ndarray, numpy.bool, numpy.number, bool, int, float, complex], response_function_parameters=typing.Union[jax.Array, numpy.ndarray, numpy.bool, numpy.number, bool, int, float, complex])[source]#
Surprise under the binary softmax model.
- Parameters:
hgf (HGF) – An instance of the HGF model.
response_function_inputs – The inputs to the response functions, here, contain the decision from the participant at time k [0 or 1].
response_function_parameters – Additional parameters for the response function are not required here.
- Returns:
The surprise under the binary softmax model.
- Return type:
surprise