public class Cauchy extends java.lang.Object implements IMercerKernel<double[]>
| Constructor and Description |
|---|
Cauchy()
Constructs a new Cauchy Kernel.
|
Cauchy(double sigma)
Constructs a new Cauchy Kernel.
|
| Modifier and Type | Method and Description |
|---|---|
double |
Function(double[] x,
double[] y)
The kernel function.
|
double |
getSigma()
Get the kernel's sigma value.
|
void |
setSigma(double sigma)
Sets the kernel's sigma value.
|
public Cauchy()
public Cauchy(double sigma)
sigma - The value for sigma.public double getSigma()
public void setSigma(double sigma)
sigma - Sigma value.public double Function(double[] x,
double[] y)
IMercerKernelFunction in interface IMercerKernel<double[]>x - Vector x in input space.y - Vector