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

Class Pearson

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


    public class Pearson
    extends java.lang.Object
    implements IMercerKernel<double[]>
    Pearson VII universal kernel (PUK).
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor and Description
      Pearson()
      Constructs a new Pearson VII universal kernel.
      Pearson(double omega, double sigma)
      Constructs a new Pearson VII universal 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 getOmega()
      Get the omega parameter.
      double getSigma()
      Get the sigma parameter.
      void setOmega(double omega)
      Set the omega parameter.
      void setSigma(double sigma)
      Set the sigma parameter.
      • Methods inherited from class java.lang.Object

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

      • Pearson

        public Pearson()
        Constructs a new Pearson VII universal kernel.
      • Pearson

        public Pearson(double omega,
                       double sigma)
        Constructs a new Pearson VII universal kernel.
        Parameters:
        omega - The Pearson's omega parameter w. Default is 1.
        sigma - The Pearson's sigma parameter s. Default is 1.
    • Method Detail

      • getOmega

        public double getOmega()
        Get the omega parameter.
        Returns:
        Omega parameter.
      • setOmega

        public void setOmega(double omega)
        Set the omega parameter.
        Parameters:
        omega - Omega parameter.
      • getSigma

        public double getSigma()
        Get the sigma parameter.
        Returns:
        Sigma parameter.
      • setSigma

        public void setSigma(double sigma)
        Set the sigma parameter.
        Parameters:
        sigma - Sigma parameter.
      • 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.