diff options
author | John Langford <jl@nyclamp.(none)> | 2013-11-04 20:54:34 +0400 |
---|---|---|
committer | John Langford <jl@nyclamp.(none)> | 2013-11-04 20:54:34 +0400 |
commit | 4397256c1bafab983d18e7c05aa4efc71ab4188d (patch) | |
tree | ec8086e461ec5ac61678266513c201abd541aa79 /vowpalwabbit/gd_mf.cc | |
parent | 0640130cc8f79841ed64bc5846dcc7526abb4d6a (diff) |
internalized increment calculations
Diffstat (limited to 'vowpalwabbit/gd_mf.cc')
-rw-r--r-- | vowpalwabbit/gd_mf.cc | 2 |
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; } } |