pyhgf.updates.prediction_error.dirichlet.create_cluster#

pyhgf.updates.prediction_error.dirichlet.create_cluster(operands, edges, node_idx)[source]#

Create a new cluster.

Parameters:
  • operands (tuple) – Non-static parameters.

  • edges (tuple[AdjacencyLists, ...]) – The edges of the neural network as a tuple of pyhgf.typing.Indexes. The tuple has the same length as node number. For each node, the index lists the value/volatility parents/children.

  • node_idx (int) – Pointer to the Dirichlet process input node.

Returns:

The attributes of the probabilistic nodes.

Return type:

attributes