From 809361a8e182c5e47ffe569db7671bc8c7224867 Mon Sep 17 00:00:00 2001 From: Patrick Simianer
Date: Sun, 4 Sep 2011 23:40:44 +0200 Subject: minor updates, fixes, kbest filtering switch --- dtrain/updater.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'dtrain/updater.h') 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(); -- cgit v1.2.3