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
|
getDistanceMatrix
getKernelMatrix, getNormalizedKernelMatrix, normalizedValueOf, setName, toString
public GaussianICKernel(IndexedCacheKernel<S,T> k)
k
- the underlying kernelpublic double distanceValueOf(S t1, S t2)
GaussianKernel
distanceValueOf
in class GaussianKernel<S>
t1
- first samplet2
- second samplepublic double getGamma()
GaussianKernel
getGamma
in class GaussianKernel<S>
public void setGamma(double gamma)
GaussianKernel
setGamma
in class GaussianKernel<S>
gamma
- gamma coefficientpublic double valueOf(S t1, S t2)
Kernel