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:
authorHal Daume III <me@hal3.name>2012-01-27 05:45:22 +0400
committerHal Daume III <me@hal3.name>2012-01-27 05:45:22 +0400
commitf8122b759c0c41c95d2795c62872883fb8960471 (patch)
treecdd77b9f43d521ad1eea8b0ce413ef46238a0ff8 /vowpalwabbit/wap.h
parent0cbfe0034b04f735e3b36b3b952b47dbb7e65192 (diff)
adding ldf
Diffstat (limited to 'vowpalwabbit/wap.h')
-rw-r--r--vowpalwabbit/wap.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/vowpalwabbit/wap.h b/vowpalwabbit/wap.h
index ca27c8d6..1f339ba0 100644
--- a/vowpalwabbit/wap.h
+++ b/vowpalwabbit/wap.h
@@ -5,10 +5,22 @@
#include "parse_primitives.h"
#include "global_data.h"
#include "example.h"
+#include "oaa.h"
+#include "csoaa.h"
namespace WAP {
void parse_flag(size_t s);
}
+
+namespace WAP_LDF {
+ typedef OAA::mc_label label;
+
+ void parse_flag(size_t s);
+ void global_print_newline();
+
+ const label_parser cs_label_parser = CSOAA_LDF::cs_label_parser;
+}
+
#endif