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

Class Dirichlet

    • Constructor Summary

      Constructors 
      Constructor and Description
      Dirichlet(int dimension)
      Constructs a new Dirichlet Kernel
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      double Function(double[] x, double[] y)
      The kernel function.
      int getDimension()
      Gets the dimension for the kernel.
      void setDimension(int dimension)
      Sets the dimension for the kernel.
      • Methods inherited from class java.lang.Object

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

      • Dirichlet

        public Dirichlet(int dimension)
        Constructs a new Dirichlet Kernel
        Parameters:
        dimension - Dimension of the kernel.
    • Method Detail

      • getDimension

        public int getDimension()
        Gets the dimension for the kernel.
        Returns:
        Dimension.
      • setDimension

        public void setDimension(int dimension)
        Sets the dimension for the kernel.
        Parameters:
        dimension - Dimension.
      • 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.