|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectweka.classifiers.functions.SMO.BinarySMO
public class SMO.BinarySMO
Class for building a binary support vector machine.
Constructor Summary | |
---|---|
SMO.BinarySMO()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SMO.BinarySMO()
Method Detail |
---|
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 instance
java.lang.Exception
- in case of an errorpublic java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getRevision()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |