Documentation of 'Catalano.Statistics.Kernels.Anova' Java class
Anova
Catalano.Statistics.Kernels

Class Anova

  • All Implemented Interfaces:
    IMercerKernel<double[]>, java.io.Serializable


    public class Anova
    extends java.lang.Object
    implements IMercerKernel<double[]>
    ANOVA (ANalysis Of VAriance) Kernel. The ANOVA kernel is a graph kernel, which can be computed using dynamic programming tables.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor and Description
      Anova(int vectorLength, int subsequenceLength)
      Constructs a new ANOVA Kernel.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      double Function(double[] x, double[] y)
      The kernel function.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Anova

        public Anova(int vectorLength,
                     int subsequenceLength)
        Constructs a new ANOVA Kernel.
        Parameters:
        vectorLength - Length of the input vector.
        subsequenceLength - Length of the subsequences for the ANOVA decomposition.
    • Method Detail

      • Function

        public double Function(double[] x,
                               double[] y)
        Description copied from interface: IMercerKernel
        The kernel function.
        Specified by:
        Function in interface IMercerKernel<double[]>
        Parameters:
        x - Vector x in input space.
        y - Vector y in input space.
        Returns:
        Dot product in feature (kernel) space.

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.