The pair containing the variables to sample and adjacent factors.
The pair containing the variables to sample and adjacent factors.
Get the factor from which to sample this block Returns a non-logarithmic factor
Get the factor from which to sample this block Returns a non-logarithmic factor
Normalize a factor so its weights sum to 1 Takes a logarithmic factor and returns a non-logarithmic factor
Normalize a factor so its weights sum to 1 Takes a logarithmic factor and returns a non-logarithmic factor
Sample this block once
Sample this block once
Select a set of indices in the factor according to the weights in the factor Works on a non-logarithmic factor
Select a set of indices in the factor according to the weights in the factor Works on a non-logarithmic factor
Caches factors according to assignments of values in the Markov blanket, which avoids recomputing the same factors repeatedly Takes advantage of the fact in Gibbs sampling, nearby samples tend to be highly correlated