Skip to content

Commit

Permalink
fix: keep gamm_exponent in squarecb (VowpalWabbit#2999)
Browse files Browse the repository at this point in the history
Co-authored-by: root <[email protected]>
  • Loading branch information
bassmang and root authored May 17, 2021
1 parent 7a49529 commit 060c4c0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vowpalwabbit/cb_explore_adf_squarecb.cc
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,7 @@ VW::LEARNER::base_learner* setup(VW::config::options_i& options, vw& all)
.default_value(10.f)
.help("Sets SquareCB greediness parameter to gamma=[gamma_scale]*[num examples]^1/2"))
.add(make_option("gamma_exponent", gamma_exponent)
.keep()
.default_value(.5f)
.help("Exponent on [num examples] in SquareCB greediness parameter gamma."))
.add(make_option("elim", elim)
Expand Down

0 comments on commit 060c4c0

Please sign in to comment.