Catalano.Statistics.Kernels
Class Spline
- java.lang.Object
-
- Catalano.Statistics.Kernels.Spline
-
- All Implemented Interfaces:
- IMercerKernel<double[]>, java.io.Serializable
public class Spline extends java.lang.Object implements IMercerKernel<double[]>
Spline Kernel. The Spline kernel is given as a piece-wise cubic polynomial, as derived in the works by Gunn (1998).- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description Spline()Constructs a new Spline kernel.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description doubleFunction(double[] x, double[] y)The kernel function.
-
-
-
Method Detail
-
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