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

Class SquaredSinc

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


    public class SquaredSinc
    extends java.lang.Object
    implements IMercerKernel<double[]>
    Squared Sinc Kernel.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor and Description
      SquaredSinc()
      Constructs a new Squared Sinc Kernel.
      SquaredSinc(double gamma)
      Constructs a new Squared Sinc Kernel.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      double Function(double[] x, double[] y)
      The kernel function.
      double getGamma()
      Get the kernel's gamma value.
      void setGamma(double value)
      Set the kernel's gamma value.
      • Methods inherited from class java.lang.Object

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

      • SquaredSinc

        public SquaredSinc()
        Constructs a new Squared Sinc Kernel.
      • SquaredSinc

        public SquaredSinc(double gamma)
        Constructs a new Squared Sinc Kernel.
        Parameters:
        gamma - Gamma value.
    • Method Detail

      • getGamma

        public double getGamma()
        Get the kernel's gamma value.
        Returns:
        The kernel's gamma value.
      • setGamma

        public void setGamma(double value)
        Set the kernel's gamma value.
        Parameters:
        value - The kernel's gamma value.
      • 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.