lppl
v2.0.0
|
|
inline |
Computes \(\log Z = \log \sum_{1 \leq n \leq N} \exp w_n \).
The interpretation of this number depends on the inference algorithm used with the queryer. If an importance sampling algorithm is used, this is the evidence. This number should always be equal to 1 when using a MCMC algorithm.
r | the record to use for computing the weight |
output | the output of the program (unused, for API compliance) |
weight | the log weight associated with the record |
opts | the inference options |