Liking cljdoc? Tell your friends :D

org.replikativ.foerster.weights

Shared population mass accounting. Normalized selection weights and total mass are separate; neither asserts posterior accuracy or unbiased evidence. A zero-mass population has no posterior and cannot be drawn or resampled.

Shared population mass accounting. Normalized selection weights and total
mass are separate; neither asserts posterior accuracy or unbiased evidence.
A zero-mass population has no posterior and cannot be drawn or resampled.
raw docstring

from-logclj/s

(from-log xs)
(from-log xs log-normalizer)

Canonical accounting from raw log weights and an accumulated log normalizer. log-mass is log-normalizer + logmeanexp(raw). A zero-mass state stays explicit.

Canonical accounting from raw log weights and an accumulated log normalizer.
log-mass is log-normalizer + logmeanexp(raw). A zero-mass state stays explicit.
sourceraw docstring

log-mean-expclj/s

(log-mean-exp xs)
source

log-sum-expclj/s

(log-sum-exp xs)
source

normalizeclj/s

(normalize xs)
(normalize xs {:keys [zero infinite]})

Linear selection weights. Zero or infinite total mass requires an explicit :zero/:infinite :uniform policy (legacy selection inside existing engines).

Linear selection weights. Zero or infinite total mass requires an explicit
:zero/:infinite :uniform policy (legacy selection inside existing engines).
sourceraw docstring

resampledclj/s

(resampled state n)
source

reweightclj/s

(reweight state increments)
source

selectionclj/s

(selection state)
source

uniformclj/s

(uniform n)
(uniform n log-mass)

Equal selection weights at the given total log mass.

Equal selection weights at the given total log mass.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
←Move to previous article
→Move to next article
Ctrl+/Jump to the search field
× close