Skip to content

Commit

Permalink
Merge branch 'master' of github.com:VowpalWabbit/vowpal_wabbit
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnLangford committed Jun 7, 2019
2 parents 1da5119 + 1721704 commit 2d8eb5e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion vowpalwabbit/cb_explore_adf.cc
Original file line number Diff line number Diff line change
Expand Up @@ -820,7 +820,10 @@ base_learner* cb_explore_adf_setup(options_i& options, vw& all)
}

if (data->explore_type == REGCB && data->gen_cs.cb_type != CB_TYPE_MTR)
all.trace_message << "warning: bad cb_type, RegCB only supports mtr!" << std::endl;
{
all.trace_message << "warning: bad cb_type, RegCB only supports mtr; resetting to mtr." << std::endl;
options.replace("cb_type", "mtr");
}
}

multi_learner* base = as_multiline(setup_base(options, all));
Expand Down

0 comments on commit 2d8eb5e

Please sign in to comment.