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

Class Log

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


    public class Log
    extends java.lang.Object
    implements IMercerKernel<double[]>
    Logarithm Kernel. The Log kernel seems to be particularly interesting for images, but is only conditionally positive definite.
    See Also:
    Serialized Form
    • Constructor Summary

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

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

      • Log

        public Log()
        Constructs a new Log kernel.
    • Method Detail

      • getDegree

        public double getDegree()
        Get the kernel's degree.
        Returns:
        The kernel's degree.
      • setDegree

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