Particle Markov chains over an injected sweep operation. World execution is the sweep's responsibility; normalization, retention and accept/reject live here, shared by savepoint and canonical-world drivers.
Particle Markov chains over an injected sweep operation. World execution is the sweep's responsibility; normalization, retention and accept/reject live here, shared by savepoint and canonical-world drivers.
(normalized measure)Normalize a settled sweep for pooling. Impossible particles remain zero.
Normalize a settled sweep for pooling. Impossible particles remain zero.
(pgibbs sweep
iterations
{:keys [seed pick-key initial-pick first-iteration pick-offset]
:or {pick-key :org.replikativ.foerster.particle-mcmc/pick
initial-pick :initial
first-iteration 0
pick-offset 0}})Run conditional particle sweeps, pooling their normalized output. sweep receives [key retained seed]; the initial retained argument is nil. Seed role options preserve existing entry-point streams during consolidation.
Run conditional particle sweeps, pooling their normalized output. sweep receives [key retained seed]; the initial retained argument is nil. Seed role options preserve existing entry-point streams during consolidation.
(pimh sweep
iterations
{:keys [seed accept-key first-iteration]
:or {accept-key :org.replikativ.foerster.particle-mcmc/accept
first-iteration 0}})Run an independent particle MH chain. sweep receives [key retained seed] and returns an awaitable weighted sweep; retained is nil. The sweep must supply a valid evidence estimate. It owns and settles its execution worlds.
Run an independent particle MH chain. sweep receives [key retained seed] and returns an awaitable weighted sweep; retained is nil. The sweep must supply a valid evidence estimate. It owns and settles its execution worlds.
(retained-choices trace)Retained choices from a settled Sample trace, excluding deterministic and observed sites. The conditional sweep interprets these at its own frontier.
Retained choices from a settled Sample trace, excluding deterministic and observed sites. The conditional sweep interprets these at its own frontier.
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 |