Public Member Functions |
| | Kernel (int l, svm_node *const *x, const svm_parameter ¶m) |
| virtual | ~Kernel () |
| virtual Qfloat * | get_Q (int column, int len) const =0 |
| virtual double * | get_QD () const =0 |
| virtual void | swap_index (int i, int j) const |
Static Public Member Functions |
| static double | k_function (const svm_node *x, const svm_node *y, const svm_parameter ¶m) |
Protected Attributes |
| double(Kernel::* | kernel_function )(int i, int j) const |
Private Member Functions |
| double | kernel_linear (int i, int j) const |
| double | kernel_poly (int i, int j) const |
| double | kernel_rbf (int i, int j) const |
| double | kernel_sigmoid (int i, int j) const |
| double | kernel_precomputed (int i, int j) const |
Static Private Member Functions |
| static double | dot (const svm_node *px, const svm_node *py) |
Private Attributes |
| const svm_node ** | x |
| double * | x_square |
| const int | kernel_type |
| const int | degree |
| const double | gamma |
| const double | coef0 |
Constructor & Destructor Documentation
| Kernel::~Kernel |
( |
| ) |
[virtual] |
Member Function Documentation
| double Kernel::dot |
( |
const svm_node * |
px, |
|
|
const svm_node * |
py |
|
) |
| [static, private] |
| virtual Qfloat* Kernel::get_Q |
( |
int |
column, |
|
|
int |
len |
|
) |
| const [pure virtual] |
| virtual double* Kernel::get_QD |
( |
| ) |
const [pure virtual] |
| double Kernel::kernel_linear |
( |
int |
i, |
|
|
int |
j |
|
) |
| const [inline, private] |
| double Kernel::kernel_poly |
( |
int |
i, |
|
|
int |
j |
|
) |
| const [inline, private] |
| double Kernel::kernel_precomputed |
( |
int |
i, |
|
|
int |
j |
|
) |
| const [inline, private] |
| double Kernel::kernel_rbf |
( |
int |
i, |
|
|
int |
j |
|
) |
| const [inline, private] |
| double Kernel::kernel_sigmoid |
( |
int |
i, |
|
|
int |
j |
|
) |
| const [inline, private] |
| virtual void Kernel::swap_index |
( |
int |
i, |
|
|
int |
j |
|
) |
| const [inline, virtual] |
Field Documentation
The documentation for this class was generated from the following file: