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

Class Spherical

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


    public class Spherical
    extends java.lang.Object
    implements IMercerKernel<double[]>
    Spherical Kernel. The spherical kernel comes from a statistics perspective. It is an example of an isotropic stationary kernel and is positive definite in R^3.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor and Description
      Spherical()
      Constructs a new Spherical kernel.
      Spherical(double sigma)
      Constructs a new Spherical 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 getSigma()
      Get the kernel's sigma value.
      void setDegree(double value)
      Set the kernel's sigma value.
      • Methods inherited from class java.lang.Object

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

      • Spherical

        public Spherical()
        Constructs a new Spherical kernel.
      • Spherical

        public Spherical(double sigma)
        Constructs a new Spherical kernel.
        Parameters:
        sigma - Sigma value.
    • Method Detail

      • getSigma

        public double getSigma()
        Get the kernel's sigma value.
        Returns:
        The kernel's sigma value.
      • setDegree

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