public class SMO.BinarySMO extends Object implements Serializable
| Constructor and Description |
|---|
SMO.BinarySMO() |
| Modifier and Type | Method and Description |
|---|---|
Kernel |
getKernel()
Returns the kernel to use
|
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.
|
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 Exception
index - the instance for which output is to be computedinst - the instanceException - in case of an errorpublic String toString()
public String getRevision()
Copyright © 2012 University of Waikato, Hamilton, NZ. All Rights Reserved.