log_evidence#
- hybrid_aif.learning.log_evidence(prior, posterior)[source]#
The log marginal likelihood of the statistics
posteriorabsorbed fromprior, 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.Nonefor a declaration with no closed form: a point table or head, a neural conditional, an LG head with its own matrix-normal posterior.