Scored forward/backward transport. The caller supplies valid auxiliary
proposal laws and the change-of-variables Jacobian; these are not inferred.
The Jacobian must be stated (:log-jacobian, 0.0 for a discrete or
volume-preserving map): a forgotten one would silently bias the weights.
Scored forward/backward transport. The caller supplies valid auxiliary proposal laws and the change-of-variables Jacobian; these are not inferred. The Jacobian must be stated (`:log-jacobian`, 0.0 for a discrete or volume-preserving map): a forgotten one would silently bias the weights.
(kernel source destination forward backward)Bind forward/backward proposal laws to two targets. Value forward returns {:value y :log-q ... :reverse u :log-jacobian ...}; trace forward receives [choices trace] and returns :updates instead of :value. Backward scores u at y (or its choice map). Forward and reverse support must match.
Bind forward/backward proposal laws to two targets. Value forward returns
{:value y :log-q ... :reverse u :log-jacobian ...}; trace forward receives
[choices trace] and returns :updates instead of :value. Backward scores u at
y (or its choice map). Forward and reverse support must match.(require-jacobian! proposed what)Refuse a move proposed (a forward kernel's or an involution's result)
that does not state its :log-jacobian. what names the move.
Refuse a move `proposed` (a forward kernel's or an involution's result) that does not state its `:log-jacobian`. `what` names the move.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |