org.knime.base.node.mine.svm.util
Class BinarySvmRunnable
java.lang.Object
org.knime.base.node.mine.svm.util.BinarySvmRunnable
- All Implemented Interfaces:
- Runnable
public class BinarySvmRunnable
- extends Object
- implements Runnable
Utility class to run a Binary SVM learning process.
- Author:
- cebron, University of Konstanz
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BinarySvmRunnable
public BinarySvmRunnable(DoubleVector[] inputData,
String positiveClass,
Kernel kernel,
double paramC,
ExecutionMonitor exec)
- Parameters:
inputData
- the input data to train withpositiveClass
- the positive class valuekernel
- the kernel to useparamC
- overlapping penalty to useexec
- the execution process to report to
run
public void run()
-
- Specified by:
run
in interface Runnable
ok
public void ok()
throws Exception
- Throws:
Exception
- if something went wrong.
getSvm
public Svm getSvm()
- Returns:
- the trained Support Vector Machine.
Copyright, 2003 - 2010. All rights reserved.
University of Konstanz, Germany.
Chair for Bioinformatics and Information Mining, Prof. Dr. Michael R. Berthold.
You may not modify, publish, transmit, transfer or sell, reproduce, create derivative works from, distribute, perform, display,
or in any way exploit any of the content, in whole or in part, except as otherwise expressly permitted in writing by the
copyright owner or as specified in the license file distributed with this product.