public class Gaussian extends java.lang.Object implements IMercerKernel<double[]>
| Constructor and Description |
|---|
Gaussian()
Constructs a new Gaussian Kernel.
|
Gaussian(double gamma)
Constructs a new Gaussian Kernel.
|
| Modifier and Type | Method and Description |
|---|---|
double |
Function(double[] x,
double[] y)
Gaussian Kernel function.
|
double |
getGamma()
Gets the gamma value for the kernel.
|
void |
setGamma(double gamma)
Sets the gamma value for the kernel.
|
public Gaussian()
public Gaussian(double gamma)
gamma - The smooth of the Gaussian Kernel.public double getGamma()
public void setGamma(double gamma)
gamma - Gamma value.public double Function(double[] x,
double[] y)
Function in interface IMercerKernel<double[]>x - Vector y - Vector