]> granicus.if.org Git - liblinear/commitdiff
explain pos/neg of tron stopping condition
authorcjlin <cjlin@16e7d947-dcc2-db11-b54a-0017319806e7>
Mon, 6 Jul 2009 14:08:54 +0000 (14:08 +0000)
committercjlin <cjlin@16e7d947-dcc2-db11-b54a-0017319806e7>
Mon, 6 Jul 2009 14:08:54 +0000 (14:08 +0000)
README
train.c

diff --git a/README b/README
index d1dbc328a151f245e3ac03b511e1fdc29c847407..f1ee0e79886ed3d90d3f1c3bb2db4345022909d7 100644 (file)
--- 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 903ac358913f689d406b5b87ee5d85325d6136d8..c905635c0de0bc219349cd871dd140c84b793bdb 100644 (file)
--- 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"