pyhgf.updates.vectorized.volatile.vectorized_layer_volatility_posterior_ehgf#
- pyhgf.updates.vectorized.volatile.vectorized_layer_volatility_posterior_ehgf(layer, params)[source]#
EHGF volatility-level posterior update (mean first, then precision).
The eHGF update differs from the standard update in that it updates the mean first using the expected precision as an approximation, and then updates the precision.
This is the vectorized equivalent of
pyhgf.updates.posterior.volatile.volatile_node_posterior_update_ehgf.volatile_node_posterior_update_ehgf().- Parameters:
layer (LayerState) – Current layer state with
volatility_prediction_errorset.params (LayerParams) – Layer parameters (provides
volatility_coupling).
- Returns:
Updated layer state with
precision_volandmean_volset.- Return type:
LayerState