diff options
author | John Langford <jl@hunch.net> | 2011-03-21 02:26:39 +0300 |
---|---|---|
committer | John Langford <jl@hunch.net> | 2011-03-21 02:26:39 +0300 |
commit | 97bde20f5531b7c7531d85a8626d7b29e212c12f (patch) | |
tree | fa71e812d2c148fb16ce9fecb5a1dbb5bd49e951 /parser.cc | |
parent | ba48e5f42f5178bf86ec419da5fa6a13ef3d9d23 (diff) |
fix hash bug and cycle learning rate bug
Diffstat (limited to 'parser.cc')
-rw-r--r-- | parser.cc | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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; |