|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectweka.classifiers.functions.supportVector.Kernel
weka.classifiers.functions.supportVector.CachedKernel
weka.classifiers.functions.supportVector.RBFKernel
weka.classifiers.mi.supportVector.MIRBFKernel
public class MIRBFKernel
The RBF kernel. K(x, y) = e^-(gamma * <x-y, x-y>^2)
Valid options are:-D Enables debugging output (if available) to be printed. (default: off)
-no-checks Turns off all checks - use with caution! (default: checks on)
-C <num> The size of the cache (a prime number), 0 for full cache and -1 to turn it off. (default: 250007)
-G <num> The Gamma parameter. (default: 0.01)
| Constructor Summary | |
|---|---|
MIRBFKernel()
default constructor - does nothing. |
|
MIRBFKernel(Instances data,
int cacheSize,
double gamma)
Constructor. |
|
| Method Summary | |
|---|---|
void |
buildKernel(Instances data)
builds the kernel with the given data. |
Capabilities |
getCapabilities()
Returns the Capabilities of this kernel. |
Capabilities |
getMultiInstanceCapabilities()
Returns the capabilities of this multi-instance kernel for the relational data. |
java.lang.String |
getRevision()
Returns the revision string. |
| Methods inherited from class weka.classifiers.functions.supportVector.RBFKernel |
|---|
gammaTipText, getGamma, getOptions, globalInfo, listOptions, setGamma, setOptions, toString |
| Methods inherited from class weka.classifiers.functions.supportVector.CachedKernel |
|---|
cacheSizeTipText, clean, eval, getCacheSize, numCacheHits, numEvals, setCacheSize |
| Methods inherited from class weka.classifiers.functions.supportVector.Kernel |
|---|
checksTurnedOffTipText, debugTipText, forName, getChecksTurnedOff, getDebug, makeCopies, makeCopy, setChecksTurnedOff, setDebug |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MIRBFKernel()
public MIRBFKernel(Instances data,
int cacheSize,
double gamma)
throws java.lang.Exception
data - the data to usecacheSize - the size of the cachegamma - the bandwidth
java.lang.Exception - if something goes wrong| Method Detail |
|---|
public Capabilities getCapabilities()
getCapabilities in interface CapabilitiesHandlergetCapabilities in class RBFKernelCapabilitiespublic Capabilities getMultiInstanceCapabilities()
getMultiInstanceCapabilities in interface MultiInstanceCapabilitiesHandlerCapabilities
public void buildKernel(Instances data)
throws java.lang.Exception
buildKernel in class RBFKerneldata - the data to base the kernel on
java.lang.Exception - if something goes wrongpublic java.lang.String getRevision()
getRevision in interface RevisionHandlergetRevision in class RBFKernel
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||