se.lth.cs.nlp.nlputils.ml.glue.adapted_libsvm
Class Kernel

java.lang.Object
  extended by se.lth.cs.nlp.nlputils.ml.glue.adapted_libsvm.QMatrix
      extended by se.lth.cs.nlp.nlputils.ml.glue.adapted_libsvm.Kernel

abstract class Kernel
extends QMatrix


Constructor Summary
Kernel(int l, svm_node[][] x_, svm_parameter param)
           
 
Method Summary
(package private) static double dot(svm_node[] x, svm_node[] y)
           
(package private) abstract  float[] get_Q(int column, int len)
           
(package private) abstract  float[] get_QD()
           
(package private) static double k_function(svm_node[] x, svm_node[] y, svm_parameter param)
           
(package private)  double kernel_function(int i, int j)
           
(package private)  void swap_index(int i, int j)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Kernel

Kernel(int l,
       svm_node[][] x_,
       svm_parameter param)
Method Detail

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)