bopp.program-transformations
Program transformations for BOPP
->factor-distribution
(->factor-distribution)
Positional factory function for class bopp.program_transformations.factor-distribution.
acq-query
macro
(acq-query & args)
Returns CPS'd query with the acquisition transformation applied.
factor
(factor)
Factor the value to the log-likelihood terms.
e.g. (observe (factor) 1) factors the term 1 in the log likelihood as if
there was an observed value with the likelihood e.
map->factor-distribution
(map->factor-distribution m__6522__auto__)
Factory function for class bopp.program_transformations.factor-distribution, taking a map of keywords to field values.
ml2-query
macro
(ml2-query & args)
Returns CPS'd query with the maximum likelihood (type 2) transformation applied.
mmap-query
macro
(mmap-query & args)
Returns CPS'd query with the MMAP transformation applied.
prior-query
macro
(prior-query & args)
Returns CPS'd query with the prior transformation applied.
throw-exception
(throw-exception msg)