|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.biojava.stats.svm.NestedKernel | +--org.biojava.stats.svm.ListSumKernel
This kernel computes the sum of the dot products between items of two lists at corresponding indexes. We define k(x, null) to be zero for when list elements are null.
Constructor Summary | |
ListSumKernel()
|
Method Summary | |
double |
evaluate(java.lang.Object a,
java.lang.Object b)
Return the dot product of two vectors in an arbitrary feature space. |
java.lang.String |
toString()
|
Methods inherited from class org.biojava.stats.svm.NestedKernel |
getNestedKernel,
setNestedKernel |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public ListSumKernel()
Method Detail |
public double evaluate(java.lang.Object a, java.lang.Object b)
public java.lang.String toString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |