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

Class BSpline

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


    public class BSpline
    extends java.lang.Object
    implements IMercerKernel<double[]>
    B-Spline Kernel. The B-Spline kernel is defined only in the interval [−1, 1]. It is also a member of the Radial Basis Functions family of kernels.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor and Description
      BSpline(int order)
      Constructs a new B-Spline Kernel.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      double Function(double[] x, double[] y)
      The kernel function.
      int getOrder()
      Get B-Spline order.
      void setOrder(int order)
      Set B-Spline order.
      • Methods inherited from class java.lang.Object

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

      • BSpline

        public BSpline(int order)
        Constructs a new B-Spline Kernel.
        Parameters:
        order - Order.
    • Method Detail

      • getOrder

        public int getOrder()
        Get B-Spline order.
        Returns:
        Order.
      • setOrder

        public void setOrder(int order)
        Set B-Spline order.
        Parameters:
        order - Order.
      • 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.