#include <kernel.h>
Inheritance diagram for RBF:
Public Member Functions | |
RBF (REAL g) | |
virtual REAL | operator() (const Input &a, const Input &b) const |
The inner-product of two input vectors. | |
virtual REAL | matrix (UINT i, UINT j) const |
The inner-product of two stored inputs with index i and j. | |
virtual void | set_params (SVM_detail *) const |
Public Attributes | |
REAL | gamma |
Definition at line 114 of file kernel.h.
|
Definition at line 116 of file kernel.h. Referenced by RBF::set_params(). |
|
The inner-product of two stored inputs with index i and j.
Reimplemented from Perceptron. Definition at line 122 of file kernel.h. References DOTPROD. |
|
The inner-product of two input vectors.
Reimplemented from Perceptron. Definition at line 118 of file kernel.h. References lemga::kernel::norm_2(). |
|
In order to keep the SVM interface simple and avoid member functions specific to kernels (e.g., set_gamma()), we use Kernel to pass kernel parameters to SVM_detail. Reimplemented from Perceptron. Definition at line 158 of file svm.cpp. References RBF::gamma, and RBF::RBF(). |
|
Definition at line 115 of file kernel.h. Referenced by RBF::set_params(). |