public class DoubleGaussChi1 extends GaussianKernel<double[]>
Constructor and Description |
---|
DoubleGaussChi1()
Default constructor, gamma = 0.1.
|
DoubleGaussChi1(double gamma)
Constructor with gamma argument
|
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
|
getDistanceMatrix
getKernelMatrix, getNormalizedKernelMatrix, normalizedValueOf, setName, toString
public DoubleGaussChi1(double gamma)
gamma
- Gaussian parameterpublic DoubleGaussChi1()
public double valueOf(double[] t1, double[] t2)
Kernel
public double valueOf(double[] t1)
Kernel
public double getGamma()
GaussianKernel
getGamma
in class GaussianKernel<double[]>
public void setGamma(double gamma)
GaussianKernel
setGamma
in class GaussianKernel<double[]>
gamma
- inverse of std dev parameterpublic double distanceValueOf(double[] t1, double[] t2)
GaussianKernel
distanceValueOf
in class GaussianKernel<double[]>
t1
- first samplet2
- second sample