pyjuice.nodes.distributions.SoftEvidenceIndicator

class pyjuice.nodes.distributions.SoftEvidenceIndicator(num_states: int)

A class representing an Indicator distribution that allows external soft evidence.

Parameters:

num_cats (int) – number of categories

__init__(num_states: 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.