public class Pearson extends java.lang.Object implements IMercerKernel<double[]>
| Constructor and Description |
|---|
Pearson()
Constructs a new Pearson VII universal kernel.
|
Pearson(double omega,
double sigma)
Constructs a new Pearson VII universal kernel.
|
| Modifier and Type | Method and Description |
|---|---|
double |
Function(double[] x,
double[] y)
The kernel function.
|
double |
getOmega()
Get the omega parameter.
|
double |
getSigma()
Get the sigma parameter.
|
void |
setOmega(double omega)
Set the omega parameter.
|
void |
setSigma(double sigma)
Set the sigma parameter.
|
public Pearson()
public Pearson(double omega,
double sigma)
omega - The Pearson's omega parameter w. Default is 1.sigma - The Pearson's sigma parameter s. Default is 1.public double getOmega()
public void setOmega(double omega)
omega - Omega parameter.public double getSigma()
public void setSigma(double sigma)
sigma - Sigma parameter.public double Function(double[] x,
double[] y)
IMercerKernelFunction in interface IMercerKernel<double[]>x - Vector x in input space.y - Vector