diff options
author | John Langford <jl@nyclamp.(none)> | 2014-01-10 18:50:01 +0400 |
---|---|---|
committer | John Langford <jl@nyclamp.(none)> | 2014-01-10 18:50:01 +0400 |
commit | 31691bd7dfe06bc01e55dd7820c1154ae216f283 (patch) | |
tree | 3e49ad666c3bd764ae50ee70b35f1c1805b1fdde /vowpalwabbit/gd_mf.cc | |
parent | d73d8f6aef1c02dd05554f91ca57e1d304336130 (diff) |
removed label parser dereference
Diffstat (limited to 'vowpalwabbit/gd_mf.cc')
-rw-r--r-- | vowpalwabbit/gd_mf.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vowpalwabbit/gd_mf.cc b/vowpalwabbit/gd_mf.cc index 4bbdcafe..21a5ef1f 100644 --- a/vowpalwabbit/gd_mf.cc +++ b/vowpalwabbit/gd_mf.cc @@ -34,7 +34,7 @@ void mf_print_audit_features(vw& all, example* ec, size_t offset); float mf_predict(vw& all, example* ec) { - float prediction = all.p->lp->get_initial(ec->ld); + float prediction = all.p->lp.get_initial(ec->ld); // clear stored predictions ec->topic_predictions.erase(); |