From 79677b2f20d41f78ce0471a9577c4190a9bdab36 Mon Sep 17 00:00:00 2001 From: Chris Dyer Date: Tue, 3 May 2011 22:11:57 -0400 Subject: change default values --- mira/kbest_mira.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'mira') diff --git a/mira/kbest_mira.cc b/mira/kbest_mira.cc index c0c39232..60703273 100644 --- a/mira/kbest_mira.cc +++ b/mira/kbest_mira.cc @@ -67,9 +67,9 @@ bool InitCommandLine(int argc, char** argv, po::variables_map* conf) { ("passes,p", po::value()->default_value(15), "Number of passes through the training data") ("reference,r",po::value >(), "[REQD] Reference translation(s) (tokenized text file)") ("mt_metric,m",po::value()->default_value("ibm_bleu"), "Scoring metric (ibm_bleu, nist_bleu, koehn_bleu, ter, combi)") - ("max_step_size,C", po::value()->default_value(0.001), "maximum step size (C)") + ("max_step_size,C", po::value()->default_value(0.01), "regularization strength (C)") ("mt_metric_scale,s", po::value()->default_value(1.0), "Amount to scale MT loss function by") - ("k_best_size,k", po::value()->default_value(250), "Size of hypothesis list to evaluate") + ("k_best_size,k", po::value()->default_value(250), "Size of hypothesis list to search for oracles") ("decoder_config,c",po::value(),"Decoder configuration file"); po::options_description clo("Command line options"); clo.add_options() @@ -210,7 +210,6 @@ int main(int argc, char** argv) { double tot_loss = 0; int dots = 0; int cur_pass = 0; - bool converged = false; vector dense_weights; SparseVector tot; tot += lambdas; // initial weights -- cgit v1.2.3