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>2011-03-21 02:26:39 +0300
committerJohn Langford <jl@hunch.net>2011-03-21 02:26:39 +0300
commit97bde20f5531b7c7531d85a8626d7b29e212c12f (patch)
treefa71e812d2c148fb16ce9fecb5a1dbb5bd49e951 /parser.cc
parentba48e5f42f5178bf86ec419da5fa6a13ef3d9d23 (diff)
fix hash bug and cycle learning rate bug
Diffstat (limited to 'parser.cc')
-rw-r--r--parser.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/parser.cc b/parser.cc
index c60fe73d..3671229c 100644
--- a/parser.cc
+++ b/parser.cc
@@ -630,9 +630,7 @@ void *main_parse_loop(void *in)
{
reset_source(global.num_bits, p);
global.passes_complete++;
- if (global.passes_complete < global.numpasses)
- global.eta *= global.eta_decay_rate;
- else
+ if (global.passes_complete >= global.numpasses)
{
pthread_mutex_lock(&examples_lock);
done = true;