From c03bf52aa29519235c9a937803969ec702fc999e Mon Sep 17 00:00:00 2001 From: cjlin Date: Mon, 6 Jul 2009 14:08:54 +0000 Subject: [PATCH] explain pos/neg of tron stopping condition --- README | 3 ++- train.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README b/README index d1dbc32..f1ee0e7 100644 --- a/README +++ b/README @@ -104,7 +104,8 @@ options: -e epsilon : set tolerance of termination criterion -s 0 and 2 |f'(w)|_2 <= eps*min(pos,neg)/l*|f'(w0)|_2, - where f is the primal function, (default 0.01) + where f is the primal function and pos/neg are # of + positive/negative data (default 0.01) -s 1, 3, and 4 Dual maximal violation <= eps; similar to libsvm (default 0.1) -B bias : if bias >= 0, instance x becomes [x; bias]; if < 0, no bias term added (default 1) diff --git a/train.c b/train.c index 903ac35..c905635 100644 --- a/train.c +++ b/train.c @@ -25,7 +25,8 @@ void exit_with_help() "-e epsilon : set tolerance of termination criterion\n" " -s 0 and 2\n" " |f'(w)|_2 <= eps*min(pos,neg)/l*|f'(w0)|_2,\n" - " where f is the primal function, (default 0.01)\n" + " where f is the primal function and pos/neg are # of\n" + " positive/negative data (default 0.01)\n" " -s 1, 3, and 4\n" " Dual maximal violation <= eps; similar to libsvm (default 0.1)\n" "-B bias : if bias >= 0, instance x becomes [x; bias]; if < 0, no bias term added (default 1)\n" -- 2.40.0