Softmax algorithm
Softmax algorithm
(p temperature z value)
(probabilities temperature arms)
(probability temperature {:keys [value] :as arm} arms)
(select-arm temperature arms)
(select-arm temperature rand-val arms)
selects the arm to pull. a higher temperature causes the algorithm to favour experimentation. 0 < temperature < 1.
selects the arm to pull. a higher temperature causes the algorithm to favour experimentation. 0 < temperature < 1.
(z temperature values)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close