pyjuice.nodes.distributions.Categorical

class pyjuice.nodes.distributions.Categorical(num_cats: int)

A class representing Categorical distributions.

Parameters:

num_cats (int) – number of categories

__init__(num_cats: int)

Methods

num_param_flows()

The number of parameter flows per node.

num_parameters()

The number of parameters per node.

Attributes

need_meta_parameters

A flag indicating whether users need to pass in meta-parameters to the constructor of InputNodes.