def add_parametric_expectation_support(): add_node_expectation(Conditional_Gaussian, conditional_expectation) add_node_expectation(Conditional_Poisson, conditional_expectation) add_node_expectation(Conditional_Bernoulli, conditional_expectation)
def add_piecewise_expectation_support(): add_node_expectation(StaticNumeric, static_expectation)
def add_parametric_expectation_support(): add_node_expectation(Gaussian, parametric_expectation) add_node_expectation(Gamma, parametric_expectation) add_node_expectation(LogNormal, parametric_expectation) add_node_expectation(Poisson, parametric_expectation) add_node_expectation(Bernoulli, parametric_expectation) add_node_expectation(Categorical, parametric_expectation) add_node_expectation(NegativeBinomial, parametric_expectation) add_node_expectation(Hypergeometric, parametric_expectation) add_node_expectation(Geometric, parametric_expectation) add_node_expectation(Exponential, parametric_expectation) add_node_expectation(Uniform, parametric_expectation)
def add_histogram_expectation_support(): add_node_expectation(Histogram, histogram_expectation)
def add_piecewise_expectation_support(): add_node_expectation(PiecewiseLinear, piecewise_expectation)