[pktools] 116/375: default option -pe true and not visible in svm tools

Bas Couwenberg sebastic at xs4all.nl
Wed Dec 3 21:54:05 UTC 2014


This is an automated email from the git hooks/post-receive script.

sebastic-guest pushed a commit to branch upstream-master
in repository pktools.

commit 52dda1128e837e5c15c8a390471898d64319c11a
Author: user <user at osgeolive.(none)>
Date:   Fri May 31 19:51:38 2013 +0200

    default option -pe true and not visible in svm tools
---
 doc/createappsdox.sh       | 2 +-
 doc/mainpage.dox           | 6 +++---
 src/apps/pkclassify_svm.cc | 2 +-
 src/apps/pkfs_svm.cc       | 2 +-
 src/apps/pkopt_svm.cc      | 2 +-
 5 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/doc/createappsdox.sh b/doc/createappsdox.sh
index bd0a2f7..4239b2a 100755
--- a/doc/createappsdox.sh
+++ b/doc/createappsdox.sh
@@ -58,7 +58,7 @@ echo "Savannah repository for homepage can only be maintained via cvs"
 #rm *
 #cvs rm *
 #rsync -avz <orig html>/ ~/tmp/pktools/html
-#cvs add *
+#cvs add *.*
 #cvs commit -m "update of repository homepage"
 #rm -r ~/tmp/pktools
 echo "ftp to downloads"
diff --git a/doc/mainpage.dox b/doc/mainpage.dox
index fd6c2ac..8d30c5d 100644
--- a/doc/mainpage.dox
+++ b/doc/mainpage.dox
@@ -42,10 +42,10 @@ You are welcome to refer to pktools as: http://pktools.nongnu.org (Pieter Kempen
 contact: kempenep at gmail.com
 
 \section pktools_installation Installation
-Download the latest release from http://download.savannah.gnu.org/releases/pktools/ (e.g., pktools-2.3.tar.gz)
+Download the latest release from http://download.savannah.gnu.org/releases/pktools/ (e.g., pktools-2.4.tar.gz)
 \code
-tar xzvf pktools-2.3.tar.gz
-cd pktools-2.3
+tar xzvf pktools-2.4.tar.gz
+cd pktools-2.4
 \endcode
 Basic installation (please refer to INSTALL file for more advanced configuration)
 \code
diff --git a/src/apps/pkclassify_svm.cc b/src/apps/pkclassify_svm.cc
index 6be5b8e..0cdca37 100644
--- a/src/apps/pkclassify_svm.cc
+++ b/src/apps/pkclassify_svm.cc
@@ -70,7 +70,7 @@ int main(int argc, char *argv[])
   Optionpk<int> cache_opt("cache", "cache", "cache memory size in MB",100);
   Optionpk<float> epsilon_tol_opt("etol", "etol", "the tolerance of termination criterion",0.001);
   Optionpk<bool> shrinking_opt("shrink", "shrink", "whether to use the shrinking heuristics",false);
-  Optionpk<bool> prob_est_opt("pe", "probest", "whether to train a SVC or SVR model for probability estimates",false);
+  Optionpk<bool> prob_est_opt("pe", "probest", "whether to train a SVC or SVR model for probability estimates",true,2);
   // Optionpk<bool> weight_opt("wi", "wi", "set the parameter C of class i to weight*C, for C_SVC",true);
   Optionpk<unsigned short> comb_opt("comb", "comb", "how to combine bootstrap aggregation classifiers (0: sum rule, 1: product rule, 2: max rule). Also used to aggregate classes with rc option.",0); 
   Optionpk<unsigned short> bag_opt("bag", "bag", "Number of bootstrap aggregations", 1);
diff --git a/src/apps/pkfs_svm.cc b/src/apps/pkfs_svm.cc
index ca094d6..a169763 100644
--- a/src/apps/pkfs_svm.cc
+++ b/src/apps/pkfs_svm.cc
@@ -57,7 +57,7 @@ Optionpk<float> epsilon_loss_opt("eloss", "eloss", "the epsilon in loss function
 Optionpk<int> cache_opt("cache", "cache", "cache memory size in MB",100);
 Optionpk<float> epsilon_tol_opt("etol", "etol", "the tolerance of termination criterion",0.001);
 Optionpk<bool> shrinking_opt("shrink", "shrink", "whether to use the shrinking heuristics",false);
-Optionpk<bool> prob_est_opt("pe", "probest", "whether to train a SVC or SVR model for probability estimates",false);
+Optionpk<bool> prob_est_opt("pe", "probest", "whether to train a SVC or SVR model for probability estimates",true,2);
 // Optionpk<bool> weight_opt("wi", "wi", "set the parameter C of class i to weight*C, for C-SVC",true);
 Optionpk<unsigned short> cv_opt("cv", "cv", "n-fold cross validation mode",2);
 Optionpk<string> classname_opt("c", "class", "list of class names."); 
diff --git a/src/apps/pkopt_svm.cc b/src/apps/pkopt_svm.cc
index 0c11f28..47f767a 100644
--- a/src/apps/pkopt_svm.cc
+++ b/src/apps/pkopt_svm.cc
@@ -58,7 +58,7 @@ Optionpk<float> epsilon_loss_opt("eloss", "eloss", "the epsilon in loss function
 Optionpk<int> cache_opt("cache", "cache", "cache memory size in MB",100);
 Optionpk<float> epsilon_tol_opt("etol", "etol", "the tolerance of termination criterion",0.001);
 Optionpk<bool> shrinking_opt("shrink", "shrink", "whether to use the shrinking heuristics",false);
-Optionpk<bool> prob_est_opt("pe", "probest", "whether to train a SVC or SVR model for probability estimates",false);
+Optionpk<bool> prob_est_opt("pe", "probest", "whether to train a SVC or SVR model for probability estimates",true,2);
 Optionpk<bool> costfunction_opt("cf", "cf", "use Overall Accuracy instead of kappa",false);
 // Optionpk<bool> weight_opt("wi", "wi", "set the parameter C of class i to weight*C, for C-SVC",true);
 Optionpk<unsigned short> cv_opt("cv", "cv", "n-fold cross validation mode",2);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/pktools.git



More information about the Pkg-grass-devel mailing list