Package org.biojava.stats.svm
Class LinearKernel
- java.lang.Object
-
- org.biojava.stats.svm.LinearKernel
-
- All Implemented Interfaces:
Serializable
,SVMKernel
public class LinearKernel extends Object implements SVMKernel, 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(Object a, Object b)
Deprecated.The linear kernel is equal to the dot product of a and b.
-