Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/vowpal_wabbit.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Langford <jl@nyclamp.(none)>2013-11-04 20:54:34 +0400
committerJohn Langford <jl@nyclamp.(none)>2013-11-04 20:54:34 +0400
commit4397256c1bafab983d18e7c05aa4efc71ab4188d (patch)
treeec8086e461ec5ac61678266513c201abd541aa79 /vowpalwabbit/gd_mf.cc
parent0640130cc8f79841ed64bc5846dcc7526abb4d6a (diff)
internalized increment calculations
Diffstat (limited to 'vowpalwabbit/gd_mf.cc')
-rw-r--r--vowpalwabbit/gd_mf.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/vowpalwabbit/gd_mf.cc b/vowpalwabbit/gd_mf.cc
index 3d638472..b6c70fc6 100644
--- a/vowpalwabbit/gd_mf.cc
+++ b/vowpalwabbit/gd_mf.cc
@@ -297,6 +297,8 @@ void end_pass(void* d)
learner* l = new learner(data,learn);
l->set_save_load(save_load);
l->set_end_pass(end_pass);
+ l->increment = all.reg.stride;
+
return l;
}
}