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>2009-12-31 01:31:21 +0300
committerJohn Langford <jl@hunch.net>2009-12-31 01:31:21 +0300
commitcefb32eb1f7212ad78274b68f1e6d85816b0edf5 (patch)
treec986769f7417155bc148ae688c8bd97551725359 /main.cc
parent616ab6fa36b51a0b522dc32debdd778cca29c866 (diff)
Added versioning to output files and made min_prediction and max_prediction automagic
Diffstat (limited to 'main.cc')
-rw-r--r--main.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.cc b/main.cc
index 3419e18f..2e8e5788 100644
--- a/main.cc
+++ b/main.cc
@@ -23,7 +23,7 @@ int main(int argc, char *argv[]) {
cerr << endl << "weighted label sum = " << global.weighted_labels;
cerr << endl << "average loss = " << global.sum_loss / global.weighted_examples;
cerr << endl << "best constant = " << best_constant;
- if (vars->min_prediction == 0. && vars->max_prediction == 1. && best_constant < 1. && best_constant > 0.)
+ if (global.min_label == 0. && global.max_label == 1. && best_constant < 1. && best_constant > 0.)
cerr << endl << "best constant's loss = " << constant_loss;
cerr << endl << "total feature number = " << global.total_features;
cerr << endl;