diff options
author | John Langford <jl@hunch.net> | 2015-01-01 00:22:55 +0300 |
---|---|---|
committer | John Langford <jl@hunch.net> | 2015-01-01 00:22:55 +0300 |
commit | c316ebe62a2a428ab13841195bf7dc5420f5a1db (patch) | |
tree | cf1b1a3ebed90cbe7fd0874619f260507b908f7a /vowpalwabbit/cb_algs.cc | |
parent | 77aeb3194e8d5d2c5d7f3822c4f7b172a2d26ec2 (diff) |
test now passing
Diffstat (limited to 'vowpalwabbit/cb_algs.cc')
-rw-r--r-- | vowpalwabbit/cb_algs.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vowpalwabbit/cb_algs.cc b/vowpalwabbit/cb_algs.cc index 2d8a2252..c676f547 100644 --- a/vowpalwabbit/cb_algs.cc +++ b/vowpalwabbit/cb_algs.cc @@ -496,7 +496,7 @@ namespace CB_ALGS *all.file_options << " --cb_type dr"; } - if (!vm.count("csoaa")) + if (count(all.args.begin(), all.args.end(),"--csoaa") == 0) { all.args.push_back("--csoaa"); stringstream ss; @@ -524,7 +524,7 @@ namespace CB_ALGS } // preserve the increment of the base learner since we are // _adding_ to the number of problems rather than multiplying. - l->increment = all.l->increment; + l->increment = base->increment; l->set_init_driver(init_driver); l->set_finish(finish); |