org.biojava.stats.svm
Interface SVMKernel
- All Known Implementing Classes:
- NestedKernel, SuffixTreeKernel, SparseVector.NormalizingKernel, LinearKernel, SigmoidKernel
- public interface SVMKernel
Kernel for support vector machines and related methods.
It is hoped that all implementations of SVMKernel will be serializable,
as this will allow models to be stoored and retrieved without inventing
complex data formats.
- Author:
- Thomas Down.
Method Summary |
double |
evaluate(java.lang.Object a,
java.lang.Object b)
Return the dot product of two vectors in an arbitrary
feature space. |
evaluate
public double evaluate(java.lang.Object a,
java.lang.Object b)
- Return the dot product of two vectors in an arbitrary
feature space. In this implementation, the `vectors'
can actually be arbitrary objects.