|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectlibsvm.QMatrix
libsvm.Kernel
abstract class Kernel
| Field Summary | |
|---|---|
private double |
coef0
|
private int |
degree
|
private FeatureRepresentation |
fr
|
private double |
gamma
|
private int |
kernel_type
|
private boolean |
useExpectedValues
|
private svm_node[][] |
x
|
private double[] |
x_square
|
| Constructor Summary | |
|---|---|
Kernel(int l,
svm_node[][] x_,
svm_parameter param)
|
|
| Method Summary | |
|---|---|
(package private) static double |
dot(svm_node[] x,
svm_node[] y,
FeatureRepresentation fr,
boolean useExpectedValues)
|
(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)
|
(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)
|
private static double |
tanh(double x)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private svm_node[][] x
private final double[] x_square
private final int kernel_type
private final int degree
private final double gamma
private final double coef0
private final FeatureRepresentation fr
private final boolean useExpectedValues
| Constructor Detail |
|---|
Kernel(int l,
svm_node[][] x_,
svm_parameter param)
| Method Detail |
|---|
abstract float[] get_Q(int column,
int len)
get_Q in class QMatrixabstract float[] get_QD()
get_QD in class QMatrix
void swap_index(int i,
int j)
swap_index in class QMatrix
private static double powi(double base,
int times)
private static double tanh(double x)
double kernel_function(int i,
int j)
double kernel_function(int i)
static double dot(svm_node[] x,
svm_node[] y,
FeatureRepresentation fr,
boolean useExpectedValues)
static double k_function(svm_node[] x,
svm_node[] y,
svm_parameter param)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||