public class SMO.BinarySMO
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
BinarySMO() |
Modifier and Type | Method and Description |
---|---|
Kernel |
getKernel()
Returns the kernel to use
|
java.lang.String |
getRevision()
Returns the revision string.
|
void |
setKernel(Kernel value)
sets the kernel to use
|
double |
SVMOutput(int index,
Instance inst)
Computes SVM output for given instance.
|
java.lang.String |
toString()
Prints out the classifier.
|
public void setKernel(Kernel value)
value
- the kernel to usepublic Kernel getKernel()
public double SVMOutput(int index, Instance inst) throws java.lang.Exception
index
- the instance for which output is to be computedinst
- the instancejava.lang.Exception
- in case of an errorpublic java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getRevision()