summaryrefslogtreecommitdiff
path: root/dtrain/dtrain.h
diff options
context:
space:
mode:
authorPatrick Simianer <simianer@cl.uni-heidelberg.de>2012-05-02 15:33:58 +0200
committerPatrick Simianer <simianer@cl.uni-heidelberg.de>2012-05-02 15:33:58 +0200
commitcc9650b8b664d1f6836a0fa86a012401b51aafa0 (patch)
treeea5fdb2e4de402bd7b2e2309772d2746a3ef983c /dtrain/dtrain.h
parent3032285101026b47b0e5bacc67723efc2eadf390 (diff)
defines
Diffstat (limited to 'dtrain/dtrain.h')
-rw-r--r--dtrain/dtrain.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/dtrain/dtrain.h b/dtrain/dtrain.h
index ac0345a4..d8dc14b6 100644
--- a/dtrain/dtrain.h
+++ b/dtrain/dtrain.h
@@ -1,6 +1,14 @@
#ifndef _DTRAIN_H_
#define _DTRAIN_H_
+#undef DTRAIN_FASTER_PERCEPTRON // only look at misranked pairs
+ // DO NOT USE WITH SVM!
+#undef DTRAIN_LOCAL
+#define DTRAIN_DOTS 10 // after how many inputs to display a '.'
+#define DTRAIN_GRAMMAR_DELIM "########EOS########"
+#define DTRAIN_SCALE 100000
+
+
#include <iomanip>
#include <climits>
#include <string.h>
@@ -13,11 +21,7 @@
#include "filelib.h"
-#undef DTRAIN_LOCAL
-#define DTRAIN_DOTS 10 // after how many inputs to display a '.'
-#define DTRAIN_GRAMMAR_DELIM "########EOS########"
-#define DTRAIN_SCALE 100000
using namespace std;
using namespace dtrain;