public class MIRBFKernel
extends weka.classifiers.functions.supportVector.RBFKernel
implements weka.core.MultiInstanceCapabilitiesHandler
-D Enables debugging output (if available) to be printed. (default: off)
-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 and Description |
---|
MIRBFKernel()
default constructor - does nothing.
|
MIRBFKernel(weka.core.Instances data,
int cacheSize,
double gamma)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
buildKernel(weka.core.Instances data)
builds the kernel with the given data.
|
weka.core.Capabilities |
getCapabilities()
Returns the Capabilities of this kernel.
|
weka.core.Capabilities |
getMultiInstanceCapabilities()
Returns the capabilities of this multi-instance kernel for the
relational data.
|
java.lang.String |
getRevision()
Returns the revision string.
|
gammaTipText, getGamma, globalInfo, setGamma, toString
cacheSizeTipText, clean, eval, getCacheSize, getOptions, listOptions, numCacheHits, numEvals, setCacheSize, setOptions
debugTipText, forName, getChecksTurnedOff, getDebug, getDoNotCheckCapabilities, makeCopies, makeCopy, setChecksTurnedOff, setDebug, setDoNotCheckCapabilities
public MIRBFKernel()
public MIRBFKernel(weka.core.Instances data, int cacheSize, double gamma) throws java.lang.Exception
data
- the data to usecacheSize
- the size of the cachegamma
- the bandwidthjava.lang.Exception
- if something goes wrongpublic weka.core.Capabilities getCapabilities()
getCapabilities
in interface weka.core.CapabilitiesHandler
getCapabilities
in class weka.classifiers.functions.supportVector.RBFKernel
Capabilities
public weka.core.Capabilities getMultiInstanceCapabilities()
getMultiInstanceCapabilities
in interface weka.core.MultiInstanceCapabilitiesHandler
Capabilities
public void buildKernel(weka.core.Instances data) throws java.lang.Exception
buildKernel
in class weka.classifiers.functions.supportVector.RBFKernel
data
- the data to base the kernel onjava.lang.Exception
- if something goes wrongpublic java.lang.String getRevision()
getRevision
in interface weka.core.RevisionHandler
getRevision
in class weka.classifiers.functions.supportVector.RBFKernel