Catalano.Statistics.Kernels
Class TStudent
- java.lang.Object
-
- Catalano.Statistics.Kernels.TStudent
-
- All Implemented Interfaces:
- IMercerKernel<double[]>, java.io.Serializable
public class TStudent extends java.lang.Object implements IMercerKernel<double[]>
Generalized T-Student Kernel. The Generalized T-Student Kernel is a Mercer Kernel and thus forms a positive semi-definite Kernel matrix (Boughorbel, 2004).- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description TStudent()Constructs a new TStudent kernel.TStudent(int degree)Constructs a new TStudent kernel.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description doubleFunction(double[] x, double[] y)The kernel function.intgetDegree()Gets the degree of this kernel.voidsetDegree(int degree)Set the degree of this kernel.
-
-
-
Constructor Detail
-
TStudent
public TStudent()
Constructs a new TStudent kernel.
-
TStudent
public TStudent(int degree)
Constructs a new TStudent kernel.- Parameters:
degree- Degree.
-
-
Method Detail
-
getDegree
public int getDegree()
Gets the degree of this kernel.- Returns:
- Degree.
-
setDegree
public void setDegree(int degree)
Set the degree of this kernel.- Parameters:
degree- Degree.
-
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