X-Git-Url: https://www.fleuret.org/cgi-bin/gitweb/gitweb.cgi?p=folded-ctf.git;a=blobdiff_plain;f=boosted_classifier.cc;h=03e1fe3363d946ea6fe370d6a15be6a5fe0f6b6a;hp=bd4f511b0c0bbbcdfc8cffa27452c696f3630f75;hb=cd28e9c7489bae20e3abf67331efd1cab45d83df;hpb=71a84ea2658cd96726bcf4e582010c24bf2583cf diff --git a/boosted_classifier.cc b/boosted_classifier.cc index bd4f511..03e1fe3 100644 --- a/boosted_classifier.cc +++ b/boosted_classifier.cc @@ -25,13 +25,11 @@ #include "tools.h" BoostedClassifier::BoostedClassifier(int nb_weak_learners) { - _loss_type = global.loss_type; _nb_weak_learners = nb_weak_learners; _weak_learners = 0; } BoostedClassifier::BoostedClassifier() { - _loss_type = global.loss_type; _nb_weak_learners = 0; _weak_learners = 0; }