summaryrefslogtreecommitdiff
path: root/dtrain/updater.h
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2011-09-04 23:40:44 +0200
committerPatrick Simianer <p@simianer.de>2011-09-23 19:13:58 +0200
commit809361a8e182c5e47ffe569db7671bc8c7224867 (patch)
treeb0c34f494be231962fdf7ec70eb739af64be0004 /dtrain/updater.h
parentaa5f96417ff81408b15b54aab35a3c16b845adf8 (diff)
minor updates, fixes, kbest filtering switch
Diffstat (limited to 'dtrain/updater.h')
-rw-r--r--dtrain/updater.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/dtrain/updater.h b/dtrain/updater.h
index 6307a005..b54c25de 100644
--- a/dtrain/updater.h
+++ b/dtrain/updater.h
@@ -68,9 +68,10 @@ class SofiaUpdater : public Updater
char tmp[] = DTRAIN_TMP_DIR"/dtrain-sofia-model-XXXXXX";
mkstemp(tmp);
tmp_model_fn = tmp;
- string call = "./sofia-ml --training_file " + tmp_data_fn;
+ //--random_seed 123456789010
+ string call = "./sofia-ml --training_file " + tmp_data_fn;
call += " --model_out " + tmp_model_fn;
- call += " --loop_type stochastic --lambda 100 --dimensionality ";
+ call += " --loop_type rank --lambda 100 --eta_type constant --dimensionality ";
std::stringstream out;
out << fmap.size();
call += out.str();