public class DoubleGaussChi2 extends GaussianKernel<double[]>
| Constructor and Description |
|---|
DoubleGaussChi2() |
DoubleGaussChi2(double g) |
| Modifier and Type | Method and Description |
|---|---|
double |
distanceValueOf(double[] t1,
double[] 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(double[] t1)
kernel similarity to zero
|
double |
valueOf(double[] t1,
double[] t2)
compute the kernel similarity between two element of input space
|
getDistanceMatrixgetKernelMatrix, getNormalizedKernelMatrix, normalizedValueOf, setName, toStringpublic DoubleGaussChi2(double g)
public DoubleGaussChi2()
public final double valueOf(double[] t1,
double[] t2)
Kernelpublic double valueOf(double[] t1)
Kernelpublic double getGamma()
GaussianKernelgetGamma in class GaussianKernel<double[]>public void setGamma(double gamma)
GaussianKernelsetGamma in class GaussianKernel<double[]>gamma - inverse of std dev parameterpublic double distanceValueOf(double[] t1,
double[] t2)
GaussianKerneldistanceValueOf in class GaussianKernel<double[]>t1 - first samplet2 - second sample