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.
|
String |
gammaTipText()
Returns the tip text for this property
|
Capabilities |
getCapabilities()
Returns the Capabilities of this kernel.
|
double |
getGamma()
Gets the gamma value.
|
String[] |
getOptions()
Gets the current settings of the Kernel.
|
String |
getRevision()
Returns the revision string.
|
String |
globalInfo()
Returns a string describing the kernel
|
Enumeration |
listOptions()
Returns an enumeration describing the available options.
|
void |
setGamma(double value)
Sets the gamma value.
|
void |
setOptions(String[] options)
Parses a given list of options.
|
String |
toString()
returns a string representation for the Kernel
|
cacheSizeTipText, clean, eval, getCacheSize, numCacheHits, numEvals, setCacheSize
checksTurnedOffTipText, debugTipText, forName, getChecksTurnedOff, getDebug, makeCopies, makeCopy, setChecksTurnedOff, setDebug
public String globalInfo()
globalInfo
in class Kernel
public Enumeration listOptions()
listOptions
in interface OptionHandler
listOptions
in class CachedKernel
public void setOptions(String[] options) throws 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 OptionHandler
setOptions
in class CachedKernel
options
- the list of options as an array of stringsException
- if an option is not supportedpublic String[] getOptions()
getOptions
in interface OptionHandler
getOptions
in class CachedKernel
public void setGamma(double value)
value
- the gamma valuepublic double getGamma()
public String gammaTipText()
public Capabilities getCapabilities()
getCapabilities
in interface CapabilitiesHandler
getCapabilities
in class Kernel
Capabilities
public void buildKernel(Instances data) throws Exception
buildKernel
in class CachedKernel
data
- the data to base the kernel onException
- if something goes wrongpublic String toString()
public String getRevision()
getRevision
in interface RevisionHandler
getRevision
in class Kernel
Copyright © 2013 University of Waikato, Hamilton, NZ. All Rights Reserved.