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:
authorJohn Langford <jl@hunch.net>2014-07-11 21:48:24 +0400
committerJohn Langford <jl@hunch.net>2014-07-11 21:48:24 +0400
commitd8dbdc2ca8298484652fb64417d7fe803aa3b22e (patch)
treef18f61c567cc7476de3c087c511ae0bcc15d0d4e
parent340dff88ab13f0de1cd47d4aa421fe9265c80952 (diff)
tweaked lrq.cc to report correct audit during training
-rw-r--r--vowpalwabbit/lrq.cc2
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");