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:
authorariel faigon <github.2009@yendor.com>2014-01-05 14:18:18 +0400
committerariel faigon <github.2009@yendor.com>2014-01-05 14:18:18 +0400
commitf4d403717e2a4b423e12130b9cda9e36444244e6 (patch)
treef45ad01ba827506261b6628d39ae796ef5733fda /vowpalwabbit/csoaa.cc
parentbad399eda7094861f7a6ef230e353afa6d4b1fbe (diff)
Fix --progress checkpoints to account for current example and update them accurately
Diffstat (limited to 'vowpalwabbit/csoaa.cc')
-rw-r--r--vowpalwabbit/csoaa.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/vowpalwabbit/csoaa.cc b/vowpalwabbit/csoaa.cc
index 8b207f0b..11baa326 100644
--- a/vowpalwabbit/csoaa.cc
+++ b/vowpalwabbit/csoaa.cc
@@ -206,7 +206,7 @@ namespace CSOAA {
void print_update(vw& all, bool is_test, example *ec)
{
- if ( /* (all.sd->weighted_examples > all.sd->old_weighted_examples) || */ (all.sd->weighted_examples > all.sd->dump_interval && !all.quiet && !all.bfgs))
+ if (all.sd->weighted_examples >= all.sd->dump_interval && !all.quiet && !all.bfgs)
{
char label_buf[32];
if (is_test)