summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2016-04-12 19:17:34 +0200
committerPatrick Simianer <p@simianer.de>2016-04-12 19:17:34 +0200
commitfee1a5a81ee76a99808678caf1b7dc03cf7749c8 (patch)
treeb4cc02a5a5e3b862f06ca8efd125fb0944cf830b
parent894f91a1eb5edb6b8227cad8d49337cfb6b7e0d8 (diff)
dtrain: output tweaks
-rw-r--r--training/dtrain/dtrain.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/training/dtrain/dtrain.cc b/training/dtrain/dtrain.cc
index b488e661..bbe14547 100644
--- a/training/dtrain/dtrain.cc
+++ b/training/dtrain/dtrain.cc
@@ -97,7 +97,7 @@ main(int argc, char** argv)
size_t input_sz = 0;
// output configuration
- cerr << fixed << setprecision(4);
+ cerr << fixed << setprecision(2);
cerr << "Parameters:" << endl;
cerr << setw(25) << "bitext " << "'" << input_fn << "'" << endl;
cerr << setw(25) << "k " << k << endl;
@@ -381,7 +381,7 @@ main(int argc, char** argv)
cerr << endl;
}
cerr << " ---" << endl;
- cerr << resetiosflags(ios::showpos)
+ cerr << resetiosflags(ios::showpos) << fixed
<< " 1best avg score: " << gold_avg*100;
cerr << setiosflags(ios::showpos) << fixed << " ("
<< (gold_avg-gold_prev)*100 << ")" << endl;