be.ac.ulb.mlg.utils.measure.kernel
Class GaussianKernel

java.lang.Object
  extended by be.ac.ulb.mlg.utils.measure.kernel.GaussianKernel
All Implemented Interfaces:
Kernel

public class GaussianKernel
extends Object
implements Kernel


Constructor Summary
GaussianKernel()
           
 
Method Summary
 double ker(double x, double y)
          Return the kernel value between two values (generate by kernel)
 void setup(double[] data, boolean hasMissing)
          Setup the Kernel for a specific vector
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GaussianKernel

public GaussianKernel()
Method Detail

ker

public double ker(double x,
                  double y)
Description copied from interface: Kernel
Return the kernel value between two values (generate by kernel)

Specified by:
ker in interface Kernel
Parameters:
x - The first value
y - The second value
Returns:
The difference between x,y according to the kernel

setup

public void setup(double[] data,
                  boolean hasMissing)
Description copied from interface: Kernel
Setup the Kernel for a specific vector

Specified by:
setup in interface Kernel
Parameters:
data - The specific vector
hasMissing - true if the specific vector contains missing value(s)