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)>2014-01-10 18:50:01 +0400
committerJohn Langford <jl@nyclamp.(none)>2014-01-10 18:50:01 +0400
commit31691bd7dfe06bc01e55dd7820c1154ae216f283 (patch)
tree3e49ad666c3bd764ae50ee70b35f1c1805b1fdde /vowpalwabbit/gd_mf.cc
parentd73d8f6aef1c02dd05554f91ca57e1d304336130 (diff)
removed label parser dereference
Diffstat (limited to 'vowpalwabbit/gd_mf.cc')
-rw-r--r--vowpalwabbit/gd_mf.cc2
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();