class

Crowbar::Evolution::Bandit::Arm

Inherits Reference < Object

Constructors

new(name : String)
Source

Instance methods

average_reward
Source
name
Source
name=(name : String)
Source
pulls
Source
pulls=(pulls : Int64)
Source
rewards
Source
rewards=(rewards : Float64)
Source
ucb_score(total_pulls : Int64, exploration_coeff : Float64 = 1.41421356) : Float64

Computes Upper Confidence Bound 1

Source