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 move)(kernel source destination forward backward)Bind forward/backward proposal laws to two targets: a pair
(foerster.moves.pair), or its two kernels. Value forward returns
{:value y :log-q ... :reverse u :log-jacobian ...}; trace forward receives
[choices trace] and returns :updates instead of :value, as a pair's
does. Backward scores u at y (or its choice map). Forward and reverse
support must match.
Bind forward/backward proposal laws to two targets: a pair
(`foerster.moves.pair`), or its two kernels. Value forward returns
{:value y :log-q ... :reverse u :log-jacobian ...}; trace forward receives
[choices trace] and returns :updates instead of :value, as a pair's
does. 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 |