be.ac.ulb.mlg.utils.measure
Interface Kernel

All Known Implementing Classes:
GaussianKernel

public interface Kernel

It is a generic Kernel which can be setup by a measure with the data vector


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
 

Method Detail

setup

void setup(double[] data,
           boolean hasMissing)
Setup the Kernel for a specific vector

Parameters:
data - The specific vector
hasMissing - true if the specific vector contains missing value(s)

ker

double ker(double x,
           double y)
Return the kernel value between two values (generate by kernel)

Parameters:
x - The first value
y - The second value
Returns:
The difference between x,y according to the kernel