|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpt.tumba.ngram.svm.Kernel
pt.tumba.ngram.svm.ONECLASSQ
class ONECLASSQ
Inner class representing a Kernel matrix for SVM Distribution Estimation.
Field Summary | |
---|---|
private Cache |
cache
|
Constructor Summary | |
---|---|
ONECLASSQ(SVMProblem prob,
SVMParameter param)
|
Method Summary | |
---|---|
(package private) float[] |
getQ(int i,
int len)
Return one column of the Kernel matrix. |
(package private) void |
swapIndex(int i,
int j)
Swap two nodes of the Kernel matrix. |
Methods inherited from class pt.tumba.ngram.svm.Kernel |
---|
dot, kernelFunction, kernelFunction |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private final Cache cache
Constructor Detail |
---|
ONECLASSQ(SVMProblem prob, SVMParameter param)
Method Detail |
---|
float[] getQ(int i, int len)
Kernel
getQ
in class Kernel
i
- The column of the kernel matrix.len
- The nu
void swapIndex(int i, int j)
Kernel
swapIndex
in class Kernel
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |