Package gov.nih.mipav.model.algorithms
Class LIBSVM.Kernel
java.lang.Object
gov.nih.mipav.model.algorithms.LIBSVM.QMatrix
gov.nih.mipav.model.algorithms.LIBSVM.Kernel
- Direct Known Subclasses:
LIBSVM.ONE_CLASS_Q,LIBSVM.SVC_Q,LIBSVM.SVR_Q
- Enclosing class:
LIBSVM
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final doubleprivate final intprivate final doubleprivate final intprivate LIBSVM.svm_node[][]private final double[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) doubledot(LIBSVM.svm_node[] x, LIBSVM.svm_node[] y) (package private) abstract float[]get_Q(int column, int len) (package private) abstract double[]get_QD()(package private) doublek_function(LIBSVM.svm_node[] x, LIBSVM.svm_node[] y, LIBSVM.svm_parameter param) (package private) doublekernel_function(int i, int j) private doublepowi(double base, int times) (package private) voidswap_index(int i, int j)
-
Field Details
-
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 Details
-
Kernel
Kernel(int l, LIBSVM.svm_node[][] x_, LIBSVM.svm_parameter param)
-
-
Method Details
-
get_Q
abstract float[] get_Q(int column, int len) - Specified by:
get_Qin classLIBSVM.QMatrix
-
get_QD
abstract double[] get_QD()- Specified by:
get_QDin classLIBSVM.QMatrix
-
swap_index
void swap_index(int i, int j) - Specified by:
swap_indexin classLIBSVM.QMatrix
-
powi
private double powi(double base, int times) -
kernel_function
double kernel_function(int i, int j) -
dot
-
k_function
-