pyhgf.updates.prediction.dirichlet.dirichlet_node_prediction#
- pyhgf.updates.prediction.dirichlet.dirichlet_node_prediction(edges, attributes, node_idx, **args)[source]#
Prediction of a Dirichlet process node.
- 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.attributes (dict) – The attributes of the probabilistic nodes.
node_idx (int) – Pointer to the Dirichlet process input node.
- Returns:
attributes – The attributes of the probabilistic nodes.
edges – The edges of the neural network.
input_nodes_idx – Static input nodes’ parameters for the neural network.
dirichlet_node – Static parameters of the Dirichlet process node.
- Return type:
dict[int | str, dict]