From 07ab389e9f4034faebc2ad50146456223f5ab6bf Mon Sep 17 00:00:00 2001 From: Patrick Simianer Date: Thu, 23 Feb 2012 23:22:31 +0100 Subject: fixes --- dtrain/dtrain.cc | 5 ++--- dtrain/dtrain.h | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'dtrain') 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 -- cgit v1.2.3