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

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

Positional factory function for class anglican.bamc.entry.

Positional factory function for class anglican.bamc.entry.
raw docstring

->multiarmed-banditclj

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

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

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

add-bandit-predictclj

(add-bandit-predict state)

add bandit arms and counts as a predict

add bandit arms and counts as a predict
raw docstring

add-trace-predictclj

(add-trace-predict state)

adds trace as a predict

adds trace as a predict
raw docstring

backpropagateclj

(backpropagate state)

back propagate reward to bandits

back propagate reward to bandits
raw docstring

bandit-idclj

(bandit-id smp state)

bayesian-beliefcljprotocol

Bayesian belief

Bayesian belief

bb-as-priorclj

(bb-as-prior belief)

returns a belief for use as a prior belief

returns a belief for use as a prior belief

bb-sampleclj

(bb-sample belief)

returns a random sample from the belief distribution

returns a random sample from the belief distribution

bb-sample-meanclj

(bb-sample-mean belief)

returns a random sample from the mean belief distribution

returns a random sample from the mean belief distribution

bb-updateclj

(bb-update belief evidence)

updates belief based on the evidence

updates belief based on the evidence
raw docstring

fresh-banditclj

bandit with no arm pulls

bandit with no arm pulls
raw docstring

initial-reward-beliefclj

uninformative mean reward belief

uninformative mean reward belief
raw docstring

initial-stateclj

initial state for MAP estimation

initial state for MAP estimation
raw docstring

map->entryclj

(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.
raw docstring

map->multiarmed-banditclj

(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.
raw docstring

not-a-value?clj

(not-a-value? value)

true when new value must be sampled

true when new value must be sampled
raw docstring

record-choiceclj

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

records random choice in the state

records random choice in the state
raw docstring

reward-beliefclj

(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
raw docstring

select-valueclj

(select-value bandit log-p)

selects value corresponding to the best arm

selects value corresponding to the best arm
raw docstring

update-banditclj

(update-bandit bandit value reward)

updates bandit's belief

updates bandit's belief
raw docstring

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

× close