diff options
author | Hal Daume III <me@hal3.name> | 2013-11-20 04:23:25 +0400 |
---|---|---|
committer | Hal Daume III <me@hal3.name> | 2013-11-20 04:23:25 +0400 |
commit | 0dd77395eb25e936198d229538e19abebaf51648 (patch) | |
tree | 92f96cd0f7a26e2dfa25d9864bda0eb182558fa2 /vowpalwabbit/searn_sequencetask.h | |
parent | 6fab1cd6e0046f53cce375017823a6a885cff265 (diff) |
fixed snapshotting/history bug, added sequencespan task for searn
Diffstat (limited to 'vowpalwabbit/searn_sequencetask.h')
-rw-r--r-- | vowpalwabbit/searn_sequencetask.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/vowpalwabbit/searn_sequencetask.h b/vowpalwabbit/searn_sequencetask.h index 998bb86e..c6a0596e 100644 --- a/vowpalwabbit/searn_sequencetask.h +++ b/vowpalwabbit/searn_sequencetask.h @@ -6,14 +6,18 @@ license as described in the file LICENSE. #ifndef SEARN_SEQUENCETASK_H #define SEARN_SEQUENCETASK_H -#include "oaa.h" -#include "parse_primitives.h" #include "searn.h" namespace SequenceTask { void initialize(Searn::searn&, size_t&, std::vector<std::string>&, po::variables_map&, po::variables_map&); void finish(Searn::searn&); - void structured_predict_v1(Searn::searn&, example**,size_t,stringstream*,stringstream*); + void structured_predict(Searn::searn&, example**,size_t,stringstream*,stringstream*); +} + +namespace SequenceSpanTask { + void initialize(Searn::searn&, size_t&, std::vector<std::string>&, po::variables_map&, po::variables_map&); + void finish(Searn::searn&); + void structured_predict(Searn::searn&, example**,size_t,stringstream*,stringstream*); } |