diff options
author | Patrick Simianer <p@simianer.de> | 2011-09-04 23:40:44 +0200 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2011-09-23 19:13:58 +0200 |
commit | f9b3b81d7b5a817f39238c1d1fcbaa981d729f4a (patch) | |
tree | 0f573ab4b1969f7b5520ed29b5f1731f2e351e1f /dtrain/updater.h | |
parent | aceb387526478e34e41db6c046f707234953e0b5 (diff) |
minor updates, fixes, kbest filtering switch
Diffstat (limited to 'dtrain/updater.h')
-rw-r--r-- | dtrain/updater.h | 5 |
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(); |