![]() |
Module for probabilistic programming features.
Modules
transformations
module: Module for probabilistic programming transformations.
Functions
block(...)
: Returns a program that removes the provided names from transformations.
conditional(...)
: Conditions a probabilistic program on random variables.
graph_replace(...)
: Transforms a program to one with new inputs and outputs.
intervene(...)
: Transforms a program into one where provided random variables are fixed.
joint_log_prob(...)
: Returns a function that computes the log probability of all of a program's random variables.
joint_sample(...)
: Returns a program that outputs a dictionary of latent random variable samples.
log_prob(...)
: Returns a function that computes the log probability of a sample.
nest(...)
: Wraps a function to create a new scope for harvested values.
random_variable(...)
: A single-dispatch function used to tag values and the outputs of programs.
rv(...)
: A single-dispatch function used to tag values and the outputs of programs.
Type Aliases
LogProbFunction
: The central part of internal API.
Program
: The central part of internal API.
Other Members | |
---|---|
RANDOM_VARIABLE |
'random_variable'
|