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
commite77078e31cd75f0e5983d332b990809a3644b0fb (patch)
tree02385eaf7ae101ebc62ea2ab8a2221d3d340bdec /dtrain
parent29637c966fce216182c0e3d8f17d0ab281edfb67 (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