pyhgf.updates.vectorised.continuous.ValueChild#

class pyhgf.updates.vectorised.continuous.ValueChild(state, weights, coupling_fn, precision_is_clamped)[source]#

The value child of a continuous layer, as seen by its posterior update.

Parameters:
  • state (pyhgf.typing.vectorised.LayerState) – The child layer’s state, already carrying its posterior and value_prediction_error.

  • weights (jax.Array) – The value-coupling matrix connecting the child into the parent, shape (n_child, n_parent).

  • coupling_fn (Callable) – The coupling function on the edge.

  • precision_is_clamped (bool) – Whether the child’s posterior precision is never updated — true for the clamped observation leaf. The smoothing (structured-Gaussian) factors then collapse to the canonical predicted precision; see _smoothing_factors().

__init__(*args, **kwargs)#

Methods

__init__(*args, **kwargs)

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

Attributes

coupling_fn

Alias for field number 2

precision_is_clamped

Alias for field number 3

state

Alias for field number 0

weights

Alias for field number 1