pyhgf.utils.fill_categorical_state_node#
- pyhgf.utils.fill_categorical_state_node(network, node_idx, binary_states_idxs, binary_parameters)[source]#
Generate a binary network implied by categorical state(-transition) nodes.
- Parameters:
- network
Instance of a Network.
- node_idx
Index to the categorical state node.
- binary_states_idxs
The indexes of the binary state nodes.
- binary_parameters
Parameters for the set of implied binary HGFs.
- Returns:
- hgf
The updated instance of the HGF model.
- Parameters:
network (Network)
node_idx (int)
binary_states_idxs (List[int])
binary_parameters (Dict)
- Return type: