S - T - public class GaussianICKernel<S,T> extends GaussianKernel<S>
| Constructor and Description |
|---|
GaussianICKernel(IndexedCacheKernel<S,T> k)
Constructor using underlying indexed kernel k, supposed to be Gaussian.
|
| Modifier and Type | Method and Description |
|---|---|
double |
distanceValueOf(S t1,
S 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(S t1)
kernel similarity to zero
|
double |
valueOf(S t1,
S t2)
compute the kernel similarity between two element of input space
|
getDistanceMatrixgetKernelMatrix, getNormalizedKernelMatrix, normalizedValueOf, setName, toStringpublic GaussianICKernel(IndexedCacheKernel<S,T> k)
k - the underlying kernelpublic double distanceValueOf(S t1, S t2)
GaussianKerneldistanceValueOf in class GaussianKernel<S>t1 - first samplet2 - second samplepublic double getGamma()
GaussianKernelgetGamma in class GaussianKernel<S>public void setGamma(double gamma)
GaussianKernelsetGamma in class GaussianKernel<S>gamma - gamma coefficientpublic double valueOf(S t1, S t2)
Kernel