Class LinearKernel

  • All Implemented Interfaces:
    java.io.Serializable, SVMKernel

    public class LinearKernel
    extends java.lang.Object
    implements SVMKernel, java.io.Serializable
    Deprecated.
    Just use SparseVector.kernel instead...
    Classic linear kernel. It actualy just delegates to SparseVector.kernel.
    Author:
    Matthew Pocock
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      LinearKernel()
      Deprecated.
       
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      double evaluate​(java.lang.Object a, java.lang.Object b)
      Deprecated.
      The linear kernel is equal to the dot product of a and b.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • evaluate

        public double evaluate​(java.lang.Object a,
                               java.lang.Object b)
        Deprecated.
        The linear kernel is equal to the dot product of a and b.
        Specified by:
        evaluate in interface SVMKernel