|
||||||||||
| 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.PolyKernel
weka.classifiers.mi.supportVector.MIPolyKernel
public class MIPolyKernel
The polynomial kernel : K(x, y) = <x, y>^p or K(x, y) = (<x, y>+1)^p
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)
-E <num> The Exponent to use. (default: 1.0)
-L Use lower-order terms. (default: no)
| Constructor Summary | |
|---|---|
MIPolyKernel()
default constructor - does nothing. |
|
MIPolyKernel(Instances data,
int cacheSize,
double exponent,
boolean lowerOrder)
Creates a new MIPolyKernel instance. |
|
| Method Summary | |
|---|---|
void |
clean()
Frees the cache used by the kernel. |
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.PolyKernel |
|---|
exponentTipText, getExponent, getOptions, getUseLowerOrder, globalInfo, listOptions, setExponent, setOptions, setUseLowerOrder, toString, useLowerOrderTipText |
| Methods inherited from class weka.classifiers.functions.supportVector.CachedKernel |
|---|
buildKernel, cacheSizeTipText, 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 MIPolyKernel()
public MIPolyKernel(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 terms
java.lang.Exception - if something goes wrong| Method Detail |
|---|
public Capabilities getCapabilities()
getCapabilities in interface CapabilitiesHandlergetCapabilities in class PolyKernelCapabilitiespublic Capabilities getMultiInstanceCapabilities()
getMultiInstanceCapabilities in interface MultiInstanceCapabilitiesHandlerCapabilitiespublic void clean()
clean in class PolyKernelpublic java.lang.String getRevision()
getRevision in interface RevisionHandlergetRevision in class PolyKernel
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||