diff options
author | John Langford <jl@hunch.net> | 2014-07-11 21:48:24 +0400 |
---|---|---|
committer | John Langford <jl@hunch.net> | 2014-07-11 21:48:24 +0400 |
commit | d8dbdc2ca8298484652fb64417d7fe803aa3b22e (patch) | |
tree | f18f61c567cc7476de3c087c511ae0bcc15d0d4e | |
parent | 340dff88ab13f0de1cd47d4aa421fe9265c80952 (diff) |
tweaked lrq.cc to report correct audit during training
-rw-r--r-- | vowpalwabbit/lrq.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vowpalwabbit/lrq.cc b/vowpalwabbit/lrq.cc index 7dc99509..897395dd 100644 --- a/vowpalwabbit/lrq.cc +++ b/vowpalwabbit/lrq.cc @@ -133,7 +133,7 @@ namespace LRQ { ec.atomics[right].push_back (lrq); - if (all.audit || all.hash_inv) + if (iter == 0 && (all.audit || all.hash_inv)) { char* new_space = (char*)calloc_or_die(4, sizeof(char)); strcpy(new_space, "lrq"); |