public class RBFKernel extends CachedKernel
-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 and Description |
|---|
RBFKernel()
default constructor - does nothing.
|
RBFKernel(Instances data,
int cacheSize,
double gamma)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
buildKernel(Instances data)
builds the kernel with the given data.
|
java.lang.String |
gammaTipText()
Returns the tip text for this property
|
Capabilities |
getCapabilities()
Returns the Capabilities of this kernel.
|
double |
getGamma()
Gets the gamma value.
|
java.lang.String[] |
getOptions()
Gets the current settings of the Kernel.
|
java.lang.String |
getRevision()
Returns the revision string.
|
java.lang.String |
globalInfo()
Returns a string describing the kernel
|
java.util.Enumeration<Option> |
listOptions()
Returns an enumeration describing the available options.
|
void |
setGamma(double value)
Sets the gamma value.
|
void |
setOptions(java.lang.String[] options)
Parses a given list of options.
|
java.lang.String |
toString()
returns a string representation for the Kernel
|
cacheSizeTipText, clean, eval, getCacheSize, numCacheHits, numEvals, setCacheSizechecksTurnedOffTipText, debugTipText, doNotCheckCapabilitiesTipText, forName, getChecksTurnedOff, getDebug, getDoNotCheckCapabilities, makeCopies, makeCopy, setChecksTurnedOff, setDebug, setDoNotCheckCapabilitiespublic RBFKernel()
public RBFKernel(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 java.lang.String globalInfo()
globalInfo in class Kernelpublic java.util.Enumeration<Option> listOptions()
listOptions in interface OptionHandlerlistOptions in class CachedKernelpublic void setOptions(java.lang.String[] options)
throws java.lang.Exception
-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)
setOptions in interface OptionHandlersetOptions in class CachedKerneloptions - the list of options as an array of stringsjava.lang.Exception - if an option is not supportedpublic java.lang.String[] getOptions()
getOptions in interface OptionHandlergetOptions in class CachedKernelpublic void setGamma(double value)
value - the gamma valuepublic double getGamma()
public java.lang.String gammaTipText()
public Capabilities getCapabilities()
getCapabilities in interface CapabilitiesHandlergetCapabilities in class KernelCapabilitiespublic void buildKernel(Instances data) throws java.lang.Exception
buildKernel in class CachedKerneldata - the data to base the kernel onjava.lang.Exception - if something goes wrongpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getRevision()
getRevision in interface RevisionHandlergetRevision in class Kernel