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
Non-static parameters.
- edges
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
Pointer to the Dirichlet process input node.
- Returns:
- attributes
The attributes of the probabilistic nodes.
- Parameters:
operands (Tuple)
edges (Tuple[AdjacencyLists, ...])
node_idx (int)
- Return type:
Dict[int | str, Dict]