Catalano.Statistics.Kernels
Class HistogramIntersection
- java.lang.Object
-
- Catalano.Statistics.Kernels.HistogramIntersection
-
- All Implemented Interfaces:
- IMercerKernel<double[]>, java.io.Serializable
public class HistogramIntersection extends java.lang.Object implements IMercerKernel<double[]>
Generalized Histogram Intersection Kernel. The Generalized Histogram Intersection kernel is built based on the Histogram Intersection Kernel for image classification but applies in a much larger variety of contexts (Boughorbel, 2005).- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description HistogramIntersection(double alpha, double beta)Constructs a new Generalized Histogram Intersection Kernel.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description doubleFunction(double[] x, double[] y)The kernel function.
-
-
-
Constructor Detail
-
HistogramIntersection
public HistogramIntersection(double alpha, double beta)Constructs a new Generalized Histogram Intersection Kernel.- Parameters:
alpha- Vector x in input space.beta- Vector y in input space.
-
-
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