[pktools] 92/375: FeatureSelector.h: introduced epsilon to exclude rat race in sffs

Bas Couwenberg sebastic at xs4all.nl
Wed Dec 3 21:54:03 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 6fcc62fd6dad34a6bfe29cafab69184797d0deef
Author: user <user at osgeolive.(none)>
Date:   Sun Apr 21 22:50:19 2013 +0200

    FeatureSelector.h: introduced epsilon to exclude rat race in sffs
---
 src/apps/pkfs_svm.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/apps/pkfs_svm.cc b/src/apps/pkfs_svm.cc
index 37f531e..b6bfb4a 100644
--- a/src/apps/pkfs_svm.cc
+++ b/src/apps/pkfs_svm.cc
@@ -566,7 +566,7 @@ int main(int argc, char *argv[])
         case(SFFS):
           subset.clear();//needed to clear in case of floating and brute force search
 	  //test
-          cost=selector.floating(trainingFeatures,&getCost,subset,maxFeatures,2);//verbose_opt[0]);
+          cost=selector.floating(trainingFeatures,&getCost,subset,maxFeatures,verbose_opt[0]);
           break;
         case(SFS):
           cost=selector.forward(trainingFeatures,&getCost,subset,maxFeatures,verbose_opt[0]);

-- 
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