[pktools] 59/375: set probability svm to true when active learning is selected

Bas Couwenberg sebastic at xs4all.nl
Wed Dec 3 21:53:58 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 c39706ebc7b06bd7d2d77afb63fecae4ee68e35a
Author: user <user at osgeolive.(none)>
Date:   Wed Feb 13 08:17:49 2013 +0100

    set probability svm to true when active learning is selected
---
 src/apps/pkclassify_svm.cc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/apps/pkclassify_svm.cc b/src/apps/pkclassify_svm.cc
index 1cd03c8..26d108f 100644
--- a/src/apps/pkclassify_svm.cc
+++ b/src/apps/pkclassify_svm.cc
@@ -202,6 +202,7 @@ int main(int argc, char *argv[])
 
   ImgWriterOgr activeWriter;
   if(active_opt.size()){
+    prob_est_opt[0]=true;
     ImgReaderOgr trainingReader(training_opt[0]);
     activeWriter.open(active_opt[0]);
     activeWriter.createLayer(active_opt[0],trainingReader.getProjection(),wkbPoint,NULL);

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