public class IntGaussL2 extends GaussianKernel<int[]>
| Constructor and Description |
|---|
IntGaussL2() |
| 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
|
getDistanceMatrixgetKernelMatrix, getNormalizedKernelMatrix, normalizedValueOf, setName, toStringpublic double valueOf(int[] t1,
int[] t2)
Kernelpublic double valueOf(int[] t1)
Kernelpublic double getGamma()
GaussianKernelgetGamma in class GaussianKernel<int[]>public void setGamma(double gamma)
GaussianKernelsetGamma in class GaussianKernel<int[]>gamma - inverse of std dev parameterpublic double distanceValueOf(int[] t1,
int[] t2)
GaussianKerneldistanceValueOf in class GaussianKernel<int[]>t1 - first samplet2 - second sample