public class MIPolyKernel
extends weka.classifiers.functions.supportVector.PolyKernel
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)
-E <num> The Exponent to use. (default: 1.0)
-L Use lower-order terms. (default: no)
| Constructor and Description |
|---|
MIPolyKernel()
default constructor - does nothing.
|
MIPolyKernel(weka.core.Instances data,
int cacheSize,
double exponent,
boolean lowerOrder)
Creates a new
MIPolyKernel instance. |
| Modifier and Type | Method and Description |
|---|---|
void |
clean()
Frees the cache used by the kernel.
|
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.
|
exponentTipText, getExponent, getOptions, getUseLowerOrder, globalInfo, listOptions, setExponent, setOptions, setUseLowerOrder, toString, useLowerOrderTipTextbuildKernel, cacheSizeTipText, eval, getCacheSize, numCacheHits, numEvals, setCacheSizedebugTipText, forName, getChecksTurnedOff, getDebug, getDoNotCheckCapabilities, makeCopies, makeCopy, setChecksTurnedOff, setDebug, setDoNotCheckCapabilitiespublic MIPolyKernel()
public MIPolyKernel(weka.core.Instances data,
int cacheSize,
double exponent,
boolean lowerOrder)
throws java.lang.Exception
MIPolyKernel instance.data - the training dataset used.cacheSize - the size of the cache (a prime number)exponent - the exponent to uselowerOrder - whether to use lower-order termsjava.lang.Exception - if something goes wrongpublic weka.core.Capabilities getCapabilities()
getCapabilities in interface weka.core.CapabilitiesHandlergetCapabilities in class weka.classifiers.functions.supportVector.PolyKernelCapabilitiespublic weka.core.Capabilities getMultiInstanceCapabilities()
getMultiInstanceCapabilities in interface weka.core.MultiInstanceCapabilitiesHandlerCapabilitiespublic void clean()
clean in class weka.classifiers.functions.supportVector.CachedKernelpublic java.lang.String getRevision()
getRevision in interface weka.core.RevisionHandlergetRevision in class weka.classifiers.functions.supportVector.PolyKernel