diff options
author | John Langford <jl@nyclamp.(none)> | 2014-01-09 00:58:22 +0400 |
---|---|---|
committer | John Langford <jl@nyclamp.(none)> | 2014-01-09 00:58:22 +0400 |
commit | 7a39ff4268beebf22bd071efd6f6c8d4d6bca3c0 (patch) | |
tree | 3dda63feb1d9bf99d74b7859fe10c208a730d023 /vowpalwabbit/parse_args.cc | |
parent | 5336bffc0d67fb224c90553f4aceaea671bcbd77 (diff) |
added scorer reduction
Diffstat (limited to 'vowpalwabbit/parse_args.cc')
-rw-r--r-- | vowpalwabbit/parse_args.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vowpalwabbit/parse_args.cc b/vowpalwabbit/parse_args.cc index 82809fe7..56f42a65 100644 --- a/vowpalwabbit/parse_args.cc +++ b/vowpalwabbit/parse_args.cc @@ -23,6 +23,7 @@ license as described in the file LICENSE. #include "csoaa.h" #include "wap.h" #include "cb.h" +#include "scorer.h" #include "searn.h" #include "bfgs.h" #include "lda_core.h" @@ -852,6 +853,8 @@ vw* parse_args(int argc, char *argv[]) if(vm.count("autolink") || vm_file.count("autolink") ) all->l = ALINK::setup(*all, to_pass_further, vm, vm_file); + all->l = Scorer::setup(*all, to_pass_further, vm, vm_file); + if(vm.count("top") || vm_file.count("top") ) all->l = TOPK::setup(*all, to_pass_further, vm, vm_file); |