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 double
dot(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 double
k_function(svm_node[] x, svm_node[] y, svm_parameter param)
(package private) double
kernel_function(int i, int j)
private static double
powi(double base, int times)
(package private) void
swap_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_index
in 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)
-
-