|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectjnisvmlight.KernelParam
public class KernelParam
Kernel parameters used by SVM-light.
| Field Summary | |
|---|---|
double |
coef_const
Constant coefficient for extended kernels. |
double |
coef_lin
Linear coefficient for extended kernels. |
java.lang.String |
custom
For user supplied kernel. |
long |
kernel_type
Selects between LINEAR, POLYNOMIAL, RBF, or SIGMOID kernel type. |
static int |
LINEAR
Uses a linear kernel type. |
long |
poly_degree
Degree of polynomial kernel. |
static int |
POLYNOMIAL
Uses a polynomial kernel type. |
static int |
RBF
Use a radial base kernel type. |
double |
rbf_gamma
Gamma constant for a radial base kernel. |
static int |
SIGMOID
Uses as sigmoid kernel type. |
| Constructor Summary | |
|---|---|
KernelParam()
Initializes the kernel parameters with the default SVM-light values. |
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int LINEAR
public static final int POLYNOMIAL
public static final int RBF
public static final int SIGMOID
public double coef_const
public double coef_lin
public java.lang.String custom
public long kernel_type
public long poly_degree
public double rbf_gamma
| Constructor Detail |
|---|
public KernelParam()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||