From: Chih-Jen Lin Date: Wed, 24 Oct 2018 10:52:49 +0000 (+0800) Subject: in README use an example to explain that -C returns only the best X-Git-Tag: v230~14 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a5beed291df6c45e6d20dcef91ee5045ede8dfe0;p=liblinear in README use an example to explain that -C returns only the best parameter rather than a model. Users must use the selected parameter to train a model. --- diff --git a/README b/README index 287edb1..6aed924 100644 --- a/README +++ b/README @@ -259,10 +259,13 @@ Use a smaller stopping tolerance 0.001 than the default 0.1 if you want more accurate solutions. > train -C data_file +... +Best C = 0.000488281 CV accuracy = 83.3333% +> train -c 0.000488281 data_file -Conduct cross validation many times by L2-loss SVM -and find the parameter C which achieves the best cross -validation accuracy. +Conduct cross validation many times by L2-loss SVM and find the +parameter C which achieves the best cross validation accuracy. Then +use the selected C to train the data for getting a model. > train -C -s 0 -v 3 -c 0.5 -e 0.0001 data_file