log_evidence

Contents

log_evidence#

hybrid_aif.learning.log_evidence(prior, posterior)[source]#

The log marginal likelihood of the statistics posterior absorbed from prior, one number per independent family (a table’s parent combinations, an LG declaration’s modes): the array has the declaration’s parent shape, and a slot’s evidence is its sum.

None for a declaration with no closed form: a point table or head, a neural conditional, an LG head with its own matrix-normal posterior.