summaryrefslogtreecommitdiff
path: root/dtrain/dtrain.cc
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2011-09-27 02:55:49 +0200
committerPatrick Simianer <p@simianer.de>2011-09-27 02:55:49 +0200
commit78fb5d2761551f4a1a4f4e8c19be88dc0348f3d9 (patch)
treebb779d3b2280c158583faae8d7f5146422052ebe /dtrain/dtrain.cc
parentc9d20f422029ed61dec78ac0fd557aef61dbd973 (diff)
added basic multipartite pair sampling
Diffstat (limited to 'dtrain/dtrain.cc')
-rw-r--r--dtrain/dtrain.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/dtrain/dtrain.cc b/dtrain/dtrain.cc
index 37430fb9..9b1bbe68 100644
--- a/dtrain/dtrain.cc
+++ b/dtrain/dtrain.cc
@@ -297,6 +297,8 @@ main(int argc, char** argv)
sample_all_pairs(samples, pairs);
if (pair_sampling == "rand")
sample_rand_pairs(samples, pairs, &rng);
+ if (pair_sampling == "108010")
+ sample108010(samples, pairs);
for (vector<pair<ScoredHyp,ScoredHyp> >::iterator ti = pairs.begin();
ti != pairs.end(); ti++) {