se.lth.cs.nlp.nlputils.ml.glue.adapted_libsvm
Class Kernel
java.lang.Object
se.lth.cs.nlp.nlputils.ml.glue.adapted_libsvm.QMatrix
se.lth.cs.nlp.nlputils.ml.glue.adapted_libsvm.Kernel
abstract class Kernel
- extends QMatrix
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Kernel
Kernel(int l,
svm_node[][] x_,
svm_parameter param)
get_Q
abstract float[] get_Q(int column,
int len)
- Specified by:
get_Q
in class QMatrix
get_QD
abstract float[] get_QD()
- Specified by:
get_QD
in class QMatrix
swap_index
void swap_index(int i,
int j)
- Specified by:
swap_index
in class QMatrix
kernel_function
double kernel_function(int i,
int j)
dot
static double dot(svm_node[] x,
svm_node[] y)
k_function
static double k_function(svm_node[] x,
svm_node[] y,
svm_parameter param)