From 92c4e1558544a367a8266301385892817a4e3426 Mon Sep 17 00:00:00 2001
From: Patrick Simianer
Date: Thu, 26 Feb 2015 22:44:56 +0100
Subject: fix
---
training/dtrain/dtrain.h | 2 +-
training/dtrain/examples/standard/dtrain.ini | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
(limited to 'training')
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()->default_value(100), "size of kbest list")
("learning_rate,l", po::value()->default_value(1.0), "learning rate")
("l1_reg,r", po::value()->default_value(0.), "l1 regularization strength")
- ("error_margin,m", po::value()->default_value(0.), "margin for margin perceptron")
+ ("margin,m", po::value()->default_value(0.), "margin for margin perceptron")
("N", po::value()->default_value(4), "N for BLEU approximation")
("input_weights,w", po::value(), "input weights file")
("average,a", po::value()->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
--
cgit v1.2.3