diff options
author | Hal Daume III <me@hal3.name> | 2012-06-26 22:43:27 +0400 |
---|---|---|
committer | Hal Daume III <me@hal3.name> | 2012-06-26 22:43:27 +0400 |
commit | 2dec5f7675e6b4d673d62abc6992b8f983fe66de (patch) | |
tree | 5c919fe7977faac634655118665b8f85f134fcc0 /vowpalwabbit/vw.h | |
parent | 8726a0e0aa0a4922759ae0a39d54204990037ab2 (diff) |
added ability to set labels in library
Diffstat (limited to 'vowpalwabbit/vw.h')
-rw-r--r-- | vowpalwabbit/vw.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vowpalwabbit/vw.h b/vowpalwabbit/vw.h index c966bc96..08d63b1e 100644 --- a/vowpalwabbit/vw.h +++ b/vowpalwabbit/vw.h @@ -63,6 +63,7 @@ namespace VW { //after you create and fill feature_spaces, get an example with everything filled in. example* import_example(vw& all, vector< feature_space > ec_info); + void parse_example_label(vw&all, example&ec, string label); //notify VW that you are done with the example. void finish_example(vw& all, example* ec); |