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

Class Additive

    • Constructor Summary

      Constructors 
      Constructor and Description
      Additive(IMercerKernel[] kernels)
      Constructs a new Additive kernel.
      Additive(IMercerKernel[] kernels, double[] weights)
      Constructs a new Additive kernel.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      double Function(double[] x, double[] y)
      Linear kernel function.
      • Methods inherited from class java.lang.Object

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

      • Additive

        public Additive(IMercerKernel[] kernels)
        Constructs a new Additive kernel.
        Parameters:
        kernels - Kernels.
      • Additive

        public Additive(IMercerKernel[] kernels,
                        double[] weights)
        Constructs a new Additive kernel.
        Parameters:
        kernels - Kernels.
        weights - Weights.
    • Method Detail

      • Function

        public double Function(double[] x,
                               double[] y)
        Linear 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.