jnisvmlight
Class KernelParam


java.lang.Object

  extended by jnisvmlight.KernelParam


public class KernelParam
extends java.lang.Object

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

LINEAR


public static final int LINEAR
Uses a linear kernel type.

See Also:
Constant Field Values

POLYNOMIAL


public static final int POLYNOMIAL
Uses a polynomial kernel type.

See Also:
Constant Field Values

RBF


public static final int RBF
Use a radial base kernel type.

See Also:
Constant Field Values

SIGMOID


public static final int SIGMOID
Uses as sigmoid kernel type.

See Also:
Constant Field Values

coef_const


public double coef_const
Constant coefficient for extended kernels.


coef_lin


public double coef_lin
Linear coefficient for extended kernels.


custom


public java.lang.String custom
For user supplied kernel.


kernel_type


public long kernel_type
Selects between LINEAR, POLYNOMIAL, RBF, or SIGMOID kernel type.


poly_degree


public long poly_degree
Degree of polynomial kernel.


rbf_gamma


public double rbf_gamma
Gamma constant for a radial base kernel.

Constructor Detail

KernelParam


public KernelParam()
Initializes the kernel parameters with the default SVM-light values.