Liking cljdoc? Tell your friends :D

anglican.bamc

Bayesian ascent Monte Carlo Options: :predict-candidates (false by default) - output all samples rather than just those with increasing log-weight

Bayesian ascent Monte Carlo
Options:
  :predict-candidates (false by default)
    - output all samples rather than just those
      with increasing log-weight
raw docstring

->entryclj/s≠

(->entry bandit-id value past-reward)
clj

Positional factory function for class anglican.bamc.entry.

Positional factory function for class anglican.bamc.entry.
cljs

Positional factory function for anglican.bamc/entry.

Positional factory function for anglican.bamc/entry.
sourceraw docstring

->multiarmed-banditclj/s≠

(->multiarmed-bandit arms new-arm-belief new-arm-count new-arm-drawn)
clj

Positional factory function for class anglican.bamc.multiarmed-bandit.

Positional factory function for class anglican.bamc.multiarmed-bandit.
cljs

Positional factory function for anglican.bamc/multiarmed-bandit.

Positional factory function for anglican.bamc/multiarmed-bandit.
sourceraw docstring

add-bandit-predictclj/s

(add-bandit-predict state)

add bandit arms and counts as a predict

add bandit arms and counts as a predict
sourceraw docstring

add-trace-predictclj/s

(add-trace-predict state)

adds trace as a predict

adds trace as a predict
sourceraw docstring

backpropagateclj/s

(backpropagate state)

back propagate reward to bandits

back propagate reward to bandits
sourceraw docstring

bandit-idclj/s

(bandit-id smp state)
source

bayesian-beliefclj/sprotocol

Bayesian belief

Bayesian belief

bb-as-priorclj/s

(bb-as-prior belief)

returns a belief for use as a prior belief

returns a belief for use as a prior belief

bb-sampleclj/s

(bb-sample belief)

returns a random sample from the belief distribution

returns a random sample from the belief distribution

bb-sample-meanclj/s

(bb-sample-mean belief)

returns a random sample from the mean belief distribution

returns a random sample from the mean belief distribution

bb-updateclj/s

(bb-update belief evidence)

updates belief based on the evidence

updates belief based on the evidence
sourceraw docstring

entrycljs

source

fresh-banditclj/s

bandit with no arm pulls

bandit with no arm pulls
sourceraw docstring

initial-reward-beliefclj/s

uninformative mean reward belief

uninformative mean reward belief
sourceraw docstring

initial-stateclj/s

initial state for MAP estimation

initial state for MAP estimation
sourceraw docstring

map->entryclj/s≠

clj
(map->entry m__7585__auto__)

Factory function for class anglican.bamc.entry, taking a map of keywords to field values.

Factory function for class anglican.bamc.entry, taking a map of keywords to field values.
cljs
(map->entry G__23576)

Factory function for anglican.bamc/entry, taking a map of keywords to field values.

Factory function for anglican.bamc/entry, taking a map of keywords to field values.
sourceraw docstring

map->multiarmed-banditclj/s≠

clj
(map->multiarmed-bandit m__7585__auto__)

Factory function for class anglican.bamc.multiarmed-bandit, taking a map of keywords to field values.

Factory function for class anglican.bamc.multiarmed-bandit, taking a map of keywords to field values.
cljs
(map->multiarmed-bandit G__23514)

Factory function for anglican.bamc/multiarmed-bandit, taking a map of keywords to field values.

Factory function for anglican.bamc/multiarmed-bandit, taking a map of keywords to field values.
sourceraw docstring

multiarmed-banditcljs

source

not-a-value?clj/s

(not-a-value? value)

true when new value must be sampled

true when new value must be sampled
sourceraw docstring

record-choiceclj/s

(record-choice state bandit-id value past-reward)

records random choice in the state

records random choice in the state
sourceraw docstring

reward-beliefclj/s

(reward-belief sum sum2 cnt)

returns reification of bayesian belief about the mean reward of an arm

returns reification of bayesian belief
about the mean reward of an arm
sourceraw docstring

select-valueclj/s

(select-value bandit log-p)

selects value corresponding to the best arm

selects value corresponding to the best arm
sourceraw docstring

update-banditclj/s

(update-bandit bandit value reward)

updates bandit's belief

updates bandit's belief
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close