summaryrefslogtreecommitdiff
path: root/training
diff options
context:
space:
mode:
authorPatrick Simianer <simianer@cl.uni-heidelberg.de>2013-09-17 21:18:42 +0200
committerPatrick Simianer <simianer@cl.uni-heidelberg.de>2013-09-17 21:18:42 +0200
commit8ea6bd821bf2a71a4a55e137f2f3c7d24200362a (patch)
tree9418cf22fcc1d56c444e8694226a21b97fcf80b0 /training
parentb2891df4bc4429fbeec503279fd19e7fafe04a24 (diff)
parent04784fd692c58e9bb45708b07f33831c9888903b (diff)
Merge branch 'master' of github.com:pks/cdec-dtrain
Diffstat (limited to 'training')
-rw-r--r--training/dtrain/dtrain.cc9
-rw-r--r--training/dtrain/examples/standard/dtrain.ini1
2 files changed, 0 insertions, 10 deletions
diff --git a/training/dtrain/dtrain.cc b/training/dtrain/dtrain.cc
index 4521e794..9d60a903 100644
--- a/training/dtrain/dtrain.cc
+++ b/training/dtrain/dtrain.cc
@@ -537,15 +537,6 @@ main(int argc, char** argv)
Weights::WriteToFile(w_fn, dense_weights, true);
}
- WriteFile of("-");
- ostream& o = *of.stream();
- o << "<<<<<<<<<<<<<<<<<<<<<<<<\n";
- for (SparseVector<weight_t>::iterator it = learning_rates.begin(); it != learning_rates.end(); ++it) {
- if (it->second == 0) continue;
- o << FD::Convert(it->first) << '\t' << it->second << endl;
- }
- o << ">>>>>>>>>>>>>>>>>>>>>>>>>\n";
-
} // outer loop
if (average) w_average /= (weight_t)T;
diff --git a/training/dtrain/examples/standard/dtrain.ini b/training/dtrain/examples/standard/dtrain.ini
index 07350a0b..c0912a62 100644
--- a/training/dtrain/examples/standard/dtrain.ini
+++ b/training/dtrain/examples/standard/dtrain.ini
@@ -22,4 +22,3 @@ pair_sampling=XYX #
hi_lo=0.1 # 10 vs 80 vs 10 and 80 vs 10 here
pair_threshold=0 # minimum distance in BLEU (here: > 0)
loss_margin=0 # update if correctly ranked, but within this margin
-pclr=1