Class Kernel
- java.lang.Object
-
- gov.nih.mipav.view.renderer.WildMagic.ProstateFramework.libsvm.QMatrix
-
- gov.nih.mipav.view.renderer.WildMagic.ProstateFramework.libsvm.Kernel
-
- Direct Known Subclasses:
ONE_CLASS_Q,SVC_Q,SVR_Q
abstract class Kernel extends QMatrix
-
-
Constructor Summary
Constructors Constructor Description Kernel(int l, svm_node[][] x_, svm_parameter param)
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description (package private) static doubledot(svm_node[] x, svm_node[] y)(package private) abstract float[]get_Q(int column, int len)(package private) abstract double[]get_QD()(package private) static doublek_function(svm_node[] x, svm_node[] y, svm_parameter param)(package private) doublekernel_function(int i, int j)private static doublepowi(double base, int times)(package private) voidswap_index(int i, int j)
-
-
-
Field Detail
-
x
private svm_node[][] x
-
x_square
private final double[] x_square
-
kernel_type
private final int kernel_type
-
degree
private final int degree
-
gamma
private final double gamma
-
coef0
private final double coef0
-
-
Constructor Detail
-
Kernel
Kernel(int l, svm_node[][] x_, svm_parameter param)
-
-
Method Detail
-
swap_index
void swap_index(int i, int j)- Specified by:
swap_indexin classQMatrix
-
powi
private static double powi(double base, int times)
-
kernel_function
double kernel_function(int i, int j)
-
k_function
static double k_function(svm_node[] x, svm_node[] y, svm_parameter param)
-
-