diff options
author | Hal Daume III <me@hal3.name> | 2013-10-31 00:57:19 +0400 |
---|---|---|
committer | Hal Daume III <me@hal3.name> | 2013-10-31 00:57:19 +0400 |
commit | e4a9af6885cd2e057eb3af865356ef85548e96bc (patch) | |
tree | 9013b3164c58eef26ec7c07de380ae463f4d711d /vowpalwabbit/parse_primitives.h | |
parent | 9d40dce29f5b83bf1353897d407dc052b4eb2c45 (diff) |
holdout with multiline examples is working, and you can also holdout after some number of lines, rather than modulo k
Diffstat (limited to 'vowpalwabbit/parse_primitives.h')
-rw-r--r-- | vowpalwabbit/parse_primitives.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/vowpalwabbit/parse_primitives.h b/vowpalwabbit/parse_primitives.h index 6d2c1562..e7331076 100644 --- a/vowpalwabbit/parse_primitives.h +++ b/vowpalwabbit/parse_primitives.h @@ -98,12 +98,13 @@ struct parser { uint32_t in_pass_counter; example* examples; uint64_t used_index; + bool emptylines_separate_examples; // true if you want to have holdout computed on a per-block basis rather than a per-line basis MUTEX examples_lock; CV example_available; CV example_unused; MUTEX output_lock; CV output_done; - + bool done; v_array<size_t> gram_mask; |