class
Crowbar::Evolution::Bandit::Arm
- Crowbar::Evolution::Bandit::Arm
- Reference
- Object
Defined in:
crowbar/evolution/bandit.crConstructors
Instance Method Summary
- #average_reward : Float64
- #name : String
- #name=(name : String)
- #pulls : Int64
- #pulls=(pulls : Int64)
- #rewards : Float64
- #rewards=(rewards : Float64)
-
#ucb_score(total_pulls : Int64, exploration_coeff : Float64 = 1.41421356) : Float64
Computes Upper Confidence Bound 1
Constructor Detail
Instance Method Detail
def ucb_score(total_pulls : Int64, exploration_coeff : Float64 = 1.41421356) : Float64
#
Computes Upper Confidence Bound 1