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@hunch.net>2014-04-23 20:06:00 +0400
committerJohn Langford <jl@hunch.net>2014-04-23 20:06:00 +0400
commitf4d6658d7d91c62e501e837a0c2f5749923213a0 (patch)
tree2439562dfa336cf6fb299e0b1afb839df92b3f2c /vowpalwabbit/mf.cc
parent35473f6125e99c90d9a6cb285f83c9b4eb3b9791 (diff)
in the middle---some bug in test
Diffstat (limited to 'vowpalwabbit/mf.cc')
-rw-r--r--vowpalwabbit/mf.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/vowpalwabbit/mf.cc b/vowpalwabbit/mf.cc
index 52cec6aa..9ac2fac6 100644
--- a/vowpalwabbit/mf.cc
+++ b/vowpalwabbit/mf.cc
@@ -98,7 +98,7 @@ void predict(mf& data, learner& base, example& ec) {
// finalize prediction
ec.partial_prediction = prediction;
- ec.final_prediction = GD::finalize_prediction(*(data.all), ec.partial_prediction);
+ ((label_data*)ec.ld)->prediction = GD::finalize_prediction(*(data.all), ec.partial_prediction);
}
void learn(mf& data, learner& base, example& ec) {