X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=blobdiff_plain;f=boosted_classifier.cc;h=03e1fe3363d946ea6fe370d6a15be6a5fe0f6b6a;hb=b8222ae1fb874f0783803f55e0bc4c4b9ffca8b2;hp=8080ad2eada357cd67662490e8dec204d81d27c5;hpb=d922ad61d35e9a6996730bec24b16f8bf7bc426c;p=folded-ctf.git diff --git a/boosted_classifier.cc b/boosted_classifier.cc index 8080ad2..03e1fe3 100644 --- a/boosted_classifier.cc +++ b/boosted_classifier.cc @@ -12,7 +12,9 @@ // You should have received a copy of the GNU General Public License // // along with this program. If not, see . // // // -// Written by Francois Fleuret, (C) IDIAP // +// Written by Francois Fleuret // +// (C) Idiap Research Institute // +// // // Contact for comments & bug reports // /////////////////////////////////////////////////////////////////////////// @@ -23,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; }