diff options
author | John Langford <jl@hunch.net> | 2009-12-31 01:31:21 +0300 |
---|---|---|
committer | John Langford <jl@hunch.net> | 2009-12-31 01:31:21 +0300 |
commit | cefb32eb1f7212ad78274b68f1e6d85816b0edf5 (patch) | |
tree | c986769f7417155bc148ae688c8bd97551725359 /main.cc | |
parent | 616ab6fa36b51a0b522dc32debdd778cca29c866 (diff) |
Added versioning to output files and made min_prediction and max_prediction automagic
Diffstat (limited to 'main.cc')
-rw-r--r-- | main.cc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |