Package org.biojava.stats.svm
Class LinearKernel
- java.lang.Object
-
- org.biojava.stats.svm.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.
-