fr.lip6.kernel.typed
Class IntGaussChi1

java.lang.Object
  extended by fr.lip6.kernel.Kernel<int[]>
      extended by fr.lip6.kernel.typed.IntGaussChi1
All Implemented Interfaces:
java.io.Serializable

public class IntGaussChi1
extends Kernel<int[]>

Gaussian Kernel on int[] that uses a Chi1 distance.

Author:
dpicard
See Also:
Serialized Form

Field Summary
 
Fields inherited from class fr.lip6.kernel.Kernel
name
 
Constructor Summary
IntGaussChi1()
           
 
Method Summary
 double getGamma()
           
 void setGamma(double gamma)
           
 double valueOf(int[] t1)
          kernel similarity to zero
 double valueOf(int[] t1, int[] t2)
          compute the kernel similarity between two element of input space
 
Methods inherited from class fr.lip6.kernel.Kernel
getKernelMatrix, getNormalizedKernelMatrix, normalizedValueOf, setName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IntGaussChi1

public IntGaussChi1()
Method Detail

valueOf

public double valueOf(int[] t1,
                      int[] t2)
Description copied from class: Kernel
compute the kernel similarity between two element of input space

Specified by:
valueOf in class Kernel<int[]>
Parameters:
t1 - first element
t2 - second element
Returns:
the kernel value

valueOf

public double valueOf(int[] t1)
Description copied from class: Kernel
kernel similarity to zero

Specified by:
valueOf in class Kernel<int[]>
Parameters:
t1 - the element to compute the similarity to zero

getGamma

public double getGamma()
Returns:
the sigma

setGamma

public void setGamma(double gamma)
Parameters:
gamma - inverse of std dev parameter