#include <kernel.h>
Inheritance diagram for Sigmoid:
Public Member Functions | |
Sigmoid (REAL g, REAL c0) | |
virtual REAL | operator() (const Input &a, const Input &b) const |
The inner-product of two input vectors. | |
virtual void | set_params (SVM_detail *) const |
Public Attributes | |
REAL | gamma |
REAL | coef0 |
Definition at line 130 of file kernel.h.
|
|
|
The inner-product of two input vectors.
Implements Kernel. Definition at line 134 of file kernel.h. References DOTPROD. |
|
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. Implements Kernel. Definition at line 163 of file svm.cpp. References Sigmoid::coef0, and Sigmoid::gamma. |
|
Definition at line 131 of file kernel.h. Referenced by Sigmoid::set_params(). |
|
Definition at line 131 of file kernel.h. Referenced by Sigmoid::set_params(). |