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-12-29 04:33:43 +0300
committerJohn Langford <jl@hunch.net>2014-12-29 04:33:43 +0300
commit6ded0936d05668220e5e857fc96e08f2ce1939c4 (patch)
tree8cc418230d0ec4cdb7e6d6b49f3c2705052d5fd4 /vowpalwabbit/simple_label.cc
parent82a148fd5266a3b932528e53f9e053edf72fecfe (diff)
various simplifications
Diffstat (limited to 'vowpalwabbit/simple_label.cc')
-rw-r--r--vowpalwabbit/simple_label.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/vowpalwabbit/simple_label.cc b/vowpalwabbit/simple_label.cc
index 3bf748de..150f95e9 100644
--- a/vowpalwabbit/simple_label.cc
+++ b/vowpalwabbit/simple_label.cc
@@ -96,9 +96,6 @@ void parse_simple_label(parser* p, shared_data* sd, void* v, v_array<substring>&
cerr << "malformed example!\n";
cerr << "words.size() = " << words.size() << endl;
}
- if (words.size() > 0 && sd->binary_label && fabs(ld->label) != 1.f)
- cout << "You are using a label not -1 or 1 with a loss function expecting that!" << endl;
-
count_label(ld->label);
}