public class IntGaussChi2 extends GaussianKernel<int[]>
Constructor and Description |
---|
IntGaussChi2() |
Modifier and Type | Method and Description |
---|---|
double |
distanceValueOf(int[] t1,
int[] t2)
Tells the inner distance between two samples used by this Gaussian kernel.
|
double |
getGamma()
Tells exponential coefficient
|
void |
setGamma(double gamma)
Sets exponential coefficient.
|
double |
valueOf(int[] t1)
kernel similarity to zero
|
double |
valueOf(int[] t1,
int[] t2)
compute the kernel similarity between two element of input space
|
getDistanceMatrix
getKernelMatrix, getNormalizedKernelMatrix, normalizedValueOf, setName, toString
public double valueOf(int[] t1, int[] t2)
Kernel
public double valueOf(int[] t1)
Kernel
public double getGamma()
GaussianKernel
getGamma
in class GaussianKernel<int[]>
public void setGamma(double gamma)
GaussianKernel
setGamma
in class GaussianKernel<int[]>
gamma
- inverse of std dev parameterpublic double distanceValueOf(int[] t1, int[] t2)
GaussianKernel
distanceValueOf
in class GaussianKernel<int[]>
t1
- first samplet2
- second sample