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-01-25 02:26:16 +0400
committerJohn Langford <jl@hunch.net>2014-01-25 02:26:16 +0400
commit9fd03e09f186516b2cd80f13be74a3645de93d24 (patch)
tree196090272086429589321480763e81519b42f052 /vowpalwabbit/csoaa.cc
parent48ec8c0dae97cfdb3d48788386e6fdadf6febb40 (diff)
various cbify improvements
Diffstat (limited to 'vowpalwabbit/csoaa.cc')
-rw-r--r--vowpalwabbit/csoaa.cc2
1 files changed, 0 insertions, 2 deletions
diff --git a/vowpalwabbit/csoaa.cc b/vowpalwabbit/csoaa.cc
index 148c5550..6d3f89fb 100644
--- a/vowpalwabbit/csoaa.cc
+++ b/vowpalwabbit/csoaa.cc
@@ -317,7 +317,6 @@ namespace CSOAA {
void predict_or_learn(csoaa& c, learner& base, example& ec) {
vw* all = c.all;
label* ld = (label*)ec.ld;
-
size_t prediction = 1;
float score = FLT_MAX;
label_data simple_temp = { 0., 0., 0. };
@@ -338,7 +337,6 @@ namespace CSOAA {
simple_temp.label = cl->x;
simple_temp.weight = 1.;
}
-
base.learn(ec, i-1);
}
else