diff options
author | ariel faigon <github.2009@yendor.com> | 2014-01-05 14:18:18 +0400 |
---|---|---|
committer | ariel faigon <github.2009@yendor.com> | 2014-01-05 14:18:18 +0400 |
commit | f4d403717e2a4b423e12130b9cda9e36444244e6 (patch) | |
tree | f45ad01ba827506261b6628d39ae796ef5733fda /vowpalwabbit/csoaa.cc | |
parent | bad399eda7094861f7a6ef230e353afa6d4b1fbe (diff) |
Fix --progress checkpoints to account for current example and update them accurately
Diffstat (limited to 'vowpalwabbit/csoaa.cc')
-rw-r--r-- | vowpalwabbit/csoaa.cc | 2 |
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) |