Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/vowpal_wabbit.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Langford <jl@hunch.net>2014-12-27 05:40:35 +0300
committerJohn Langford <jl@hunch.net>2014-12-27 05:40:35 +0300
commit33f25c5af9538b77e4cc43d800c1e4cae4995322 (patch)
tree2bcee53c27e927d4343f63eae6ebbe279b59ac5c /vowpalwabbit/oaa.cc
parent8d77fce3ccff3a0c46948a703eea1d74730a3378 (diff)
detemplate learner
Diffstat (limited to 'vowpalwabbit/oaa.cc')
-rw-r--r--vowpalwabbit/oaa.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/vowpalwabbit/oaa.cc b/vowpalwabbit/oaa.cc
index df1db482..47ee84b0 100644
--- a/vowpalwabbit/oaa.cc
+++ b/vowpalwabbit/oaa.cc
@@ -88,9 +88,9 @@ namespace OAA {
all.p->lp = mc_label;
learner<oaa>* l = new learner<oaa>(&data, all.l, data.k);
- l->set_learn<predict_or_learn<true> >();
- l->set_predict<predict_or_learn<false> >();
- l->set_finish_example<finish_example>();
+ l->set_learn(predict_or_learn<true>);
+ l->set_predict(predict_or_learn<false>);
+ l->set_finish_example(finish_example);
return make_base(l);
}