Catalano.Statistics.Kernels
Class Wave
- java.lang.Object
-
- Catalano.Statistics.Kernels.Wave
-
- All Implemented Interfaces:
- IMercerKernel<double[]>, java.io.Serializable
public class Wave extends java.lang.Object implements IMercerKernel<double[]>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description Wave(double sigma)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description doubleFunction(double[] x, double[] y)The kernel function.doublegetSigma()voidsetSigma(double sigma)
-
-
-
Method Detail
-
getSigma
public double getSigma()
-
setSigma
public void setSigma(double 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