diff options
-rw-r--r-- | training/dtrain/dtrain.h | 2 | ||||
-rw-r--r-- | training/dtrain/examples/standard/dtrain.ini | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/training/dtrain/dtrain.h b/training/dtrain/dtrain.h index 8b1a00eb..b0ee348c 100644 --- a/training/dtrain/dtrain.h +++ b/training/dtrain/dtrain.h @@ -54,7 +54,7 @@ dtrain_init(int argc, char** argv, po::variables_map* conf) ("k", po::value<size_t>()->default_value(100), "size of kbest list") ("learning_rate,l", po::value<weight_t>()->default_value(1.0), "learning rate") ("l1_reg,r", po::value<weight_t>()->default_value(0.), "l1 regularization strength") - ("error_margin,m", po::value<weight_t>()->default_value(0.), "margin for margin perceptron") + ("margin,m", po::value<weight_t>()->default_value(0.), "margin for margin perceptron") ("N", po::value<size_t>()->default_value(4), "N for BLEU approximation") ("input_weights,w", po::value<string>(), "input weights file") ("average,a", po::value<bool>()->default_value(false), "output average weights") diff --git a/training/dtrain/examples/standard/dtrain.ini b/training/dtrain/examples/standard/dtrain.ini index 610d41d7..4c6ec89f 100644 --- a/training/dtrain/examples/standard/dtrain.ini +++ b/training/dtrain/examples/standard/dtrain.ini @@ -5,6 +5,6 @@ iterations=3 # run over input 3 times k=100 # use 100best lists N=4 # optimize (approx.) BLEU4 learning_rate=0.1 # learning rate -error_margin=1.0 # margin for margin perceptron +margin=1.0 # margin for margin perceptron print_weights=Glue WordPenalty LanguageModel LanguageModel_OOV PhraseModel_0 PhraseModel_1 PhraseModel_2 PhraseModel_3 PhraseModel_4 PhraseModel_5 PhraseModel_6 PassThrough |