org.biojava.stats.svm
Class LinearKernel
java.lang.Object
org.biojava.stats.svm.LinearKernel
- All Implemented Interfaces:
- Serializable, SVMKernel
Deprecated. Just use SparseVector.kernel instead...
public class LinearKernel
- extends Object
- implements SVMKernel, Serializable
Classic linear kernel. It actualy just delegates to SparseVector.kernel.
- Author:
- Matthew Pocock
- See Also:
- Serialized Form
Method Summary |
double |
evaluate(Object a,
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 |
LinearKernel
public LinearKernel()
- Deprecated.
evaluate
public double evaluate(Object a,
Object b)
- Deprecated.
- The linear kernel is equal to the dot product of a and b.
- Specified by:
evaluate
in interface SVMKernel