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

Class Hypersecant

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


    public class Hypersecant
    extends java.lang.Object
    implements IMercerKernel<double[]>
    Hyperbolic Secant Kernel.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor and Description
      Hypersecant(double gamma)
      Constructs a new Hyperbolic Secant 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()
      Gets the gamma value for the kernel.
      void setGamma(double gamma)
      Sets the gamma value for the kernel.
      • Methods inherited from class java.lang.Object

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

      • Hypersecant

        public Hypersecant(double gamma)
        Constructs a new Hyperbolic Secant Kernel
        Parameters:
        gamma - Gamma value for the kernel.
    • Method Detail

      • getGamma

        public double getGamma()
        Gets the gamma value for the kernel.
        Returns:
        Gamma value.
      • setGamma

        public void setGamma(double gamma)
        Sets the gamma value for the kernel.
        Parameters:
        gamma - 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.