Documentation of 'smile.math.kernel.PearsonKernel' Java class
PearsonKernel
smile.math.kernel

Class PearsonKernel

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


    public class PearsonKernel
    extends java.lang.Object
    implements MercerKernel<double[]>, java.io.Serializable
    The Pearson Mercer Kernel.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor and Description
      PearsonKernel()
      Constructor.
      PearsonKernel(double omega, double sigma)
      Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      double getOmega()
      Get the omega parameter.
      double getSigma()
      Get the sigma parameter.
      double k(double[] x, double[] y)
      Kernel function.
      void setOmega(double omega)
      Set the omega parameter.
      void setSigma(double sigma)
      Set the sigma parameter.
      java.lang.String toString() 
      • Methods inherited from class java.lang.Object

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

      • PearsonKernel

        public PearsonKernel()
        Constructor.
      • PearsonKernel

        public PearsonKernel(double omega,
                             double sigma)
        Constructor.
        Parameters:
        omega - Omega value.
        sigma - Sigma value.
    • 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.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • k

        public double k(double[] x,
                        double[] y)
        Description copied from interface: MercerKernel
        Kernel function.
        Specified by:
        k in interface MercerKernel<double[]>

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.