pyjuice.nodes.distributions.DiscreteLogistic

class pyjuice.nodes.distributions.DiscreteLogistic(val_range: Tuple[float, float], num_cats: int, min_std: float = 0.01)

A class representing Discrete Logistic distributions.

Parameters:
  • val_range (Tuple[float,float]) – range of the values represented by the distribution

  • num_cats (int) – number of categories

  • min_std (float) – minimum standard deviation

__init__(val_range: Tuple[float, float], num_cats: int, min_std: float = 0.01)

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.