diff options
Diffstat (limited to 'dtrain')
-rw-r--r-- | dtrain/dtrain.cc | 5 | ||||
-rw-r--r-- | dtrain/dtrain.h | 2 |
2 files changed, 3 insertions, 4 deletions
diff --git a/dtrain/dtrain.cc b/dtrain/dtrain.cc index cdf95c95..3111ce5d 100644 --- a/dtrain/dtrain.cc +++ b/dtrain/dtrain.cc @@ -538,10 +538,9 @@ if (false) { cerr << rank_errors/(float)in_sz << endl; cerr << " avg #margin viol: "; cerr << margin_violations/(float)in_sz << endl; - cerr << " non0 feature count: " << endl; - cerr << nonz << endl; + cerr << " non0 feature count: " << nonz << endl; cerr << " avg f count: "; - cerr << feature_count/(float)pair_count; + cerr << feature_count/(float)pair_count << endl; } if (hstreaming) { diff --git a/dtrain/dtrain.h b/dtrain/dtrain.h index 14ef410e..783aa179 100644 --- a/dtrain/dtrain.h +++ b/dtrain/dtrain.h @@ -15,7 +15,7 @@ #define DTRAIN_LOCAL -#define DTRAIN_DOTS 100 // when to display a '.' +#define DTRAIN_DOTS 10 // when to display a '.' #define DTRAIN_GRAMMAR_DELIM "########EOS########" #define DTRAIN_SCALE 100000 |