X-Git-Url: https://fleuret.org/cgi-bin/gitweb/gitweb.cgi?a=blobdiff_plain;f=global.cc;h=76543f839027e2a1fa55a785a0cf9dea34377061;hb=3742a88173bc958488370aefb7035426d3650e1d;hp=de53962a487a0d0c9ebdb7f2088f1782c57a263f;hpb=94ef84aef3a1845326c7c43970997b701a919bd6;p=folded-ctf.git diff --git a/global.cc b/global.cc index de53962..76543f8 100644 --- a/global.cc +++ b/global.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 // /////////////////////////////////////////////////////////////////////////// @@ -133,8 +135,6 @@ void Global::read_parser(ParamParser *parser) { char *l = parser->get_association("loss-type"); if(strcmp(l, "exponential") == 0) loss_type = LOSS_EXPONENTIAL; - else if(strcmp(l, "ev-regularized") == 0) - loss_type = LOSS_EV_REGULARIZED; else if(strcmp(l, "hinge") == 0) loss_type = LOSS_HINGE; else if(strcmp(l, "logistic") == 0)