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

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

The attributes of the probabilistic nodes.

node_idx

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.

Parameters:
  • edges (Tuple[AdjacencyLists, ...])

  • attributes (Dict)

  • node_idx (int)

Return type:

Dict[int | str, Dict]