summaryrefslogtreecommitdiff
path: root/dtrain
diff options
context:
space:
mode:
authorPatrick Simianer <simianer@cl.uni-heidelberg.de>2012-02-23 23:22:31 +0100
committerPatrick Simianer <simianer@cl.uni-heidelberg.de>2012-02-23 23:22:31 +0100
commit07ab389e9f4034faebc2ad50146456223f5ab6bf (patch)
treec691f84706ddc6172d0b30587e82639901fae862 /dtrain
parent00e37f970923b54904c8d1abc72ff738968bf66d (diff)
fixes
Diffstat (limited to 'dtrain')
-rw-r--r--dtrain/dtrain.cc5
-rw-r--r--dtrain/dtrain.h2
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