Catalano.Statistics.Kernels
Class Bessel
- java.lang.Object
-
- Catalano.Statistics.Kernels.Bessel
-
- All Implemented Interfaces:
- IMercerKernel<double[]>, java.io.Serializable
public class Bessel extends java.lang.Object implements IMercerKernel<double[]>
Bessel Kernel. The Bessel kernel is well known in the theory of function spaces of fractional smoothness.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description Bessel(int order, double sigma)Constructs a new Bessel Kernel.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description doubleFunction(double[] x, double[] y)The kernel function.intgetOrder()Gets the order of the Bessel function.doublegetSigma()Gets the sigma constant for this kernel.voidsetOrder(int order)Sets the order of the Bessel function.voidsetSigma(double sigma)Sets the sigma constant for this kernel.
-
-
-
Constructor Detail
-
Bessel
public Bessel(int order, double sigma)Constructs a new Bessel Kernel.- Parameters:
order- The order for the Bessel function.sigma- The value for sigma.
-
-
Method Detail
-
getOrder
public int getOrder()
Gets the order of the Bessel function.- Returns:
- Order of the bessel function.
-
setOrder
public void setOrder(int order)
Sets the order of the Bessel function.- Parameters:
order- Order of the bessel function.
-
getSigma
public double getSigma()
Gets the sigma constant for this kernel.- Returns:
- Sigma.
-
setSigma
public void setSigma(double sigma)
Sets the sigma constant for this kernel.- Parameters:
sigma- Sigma.
-
Function
public double Function(double[] x, double[] y)Description copied from interface:IMercerKernelThe kernel function.- Specified by:
Functionin interfaceIMercerKernel<double[]>- Parameters:
x- Vector x in input space.y- Vectory in input space.- Returns:
- Dot product in feature (kernel) space.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG