public class PrecomputedKernelMatrixKernel extends Kernel implements Copyable
-D Enables debugging output (if available) to be printed. (default: off)
-no-checks Turns off all checks - use with caution! (default: checks on)
-M <file name> The file name of the file that holds the kernel matrix. (default: kernelMatrix.matrix)
| Constructor and Description | 
|---|
| PrecomputedKernelMatrixKernel () | 
| Modifier and Type | Method and Description | 
|---|---|
| void | clean ()Frees the memory used by the kernel. | 
| java.lang.Object | copy ()Return a shallow copy of this kernel | 
| double | eval (int id1,
 int id2,
 Instance inst1)Computes the result of the kernel function for two instances. | 
| Capabilities  | getCapabilities ()Returns the Capabilities of this kernel. | 
| java.io.File | getKernelMatrixFile ()Gets the file containing the kernel matrix. | 
| 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.lang.String | kernelMatrixFileTipText ()Returns the tip text for this property | 
| java.util.Enumeration | listOptions ()Returns an enumeration describing the available options. | 
| int | numCacheHits ()Returns the number of dot product cache hits. | 
| int | numEvals ()Returns the number of kernel evaluation performed. | 
| void | setKernelMatrixFile (java.io.File f)Sets the file holding the kernel matrix | 
| void | setOptions (java.lang.String[] options)Parses a given list of options. | 
| java.lang.String | toString ()returns a string representation for the Kernel | 
buildKernel, checksTurnedOffTipText, debugTipText, forName, getChecksTurnedOff, getDebug, makeCopies, makeCopy, setChecksTurnedOff, setDebug equals, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic PrecomputedKernelMatrixKernel()
public java.lang.Object copy()
public java.lang.String globalInfo()
globalInfo  in class Kernel public java.util.Enumeration listOptions()
listOptions  in interface OptionHandler listOptions  in class Kernel public 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)
-M <file name> The file name of the file that holds the kernel matrix. (default: kernelMatrix.matrix)
setOptions  in interface OptionHandler setOptions  in class Kernel options - the list of options as an array of stringsjava.lang.Exception - if an option is not supportedpublic java.lang.String[] getOptions()
getOptions  in interface OptionHandler getOptions  in class Kernel public double eval(int id1, int id2, Instance inst1) throws java.lang.Exception
Kernel public Capabilities getCapabilities()
getCapabilities  in interface CapabilitiesHandler getCapabilities  in class Kernel Capabilities public void setKernelMatrixFile(java.io.File f)
value - the exponent valuepublic java.io.File getKernelMatrixFile()
public java.lang.String kernelMatrixFileTipText()
public java.lang.String toString()
toString in class java.lang.Objectpublic void clean()
public int numEvals()
public int numCacheHits()
numCacheHits  in class Kernel public java.lang.String getRevision()
getRevision  in interface RevisionHandler getRevision  in class Kernel