#include <kernel.h>
Inheritance diagram for Linear:
Public Member Functions | |
virtual REAL | operator() (const Input &a, const Input &b) const |
The inner-product of two input vectors. | |
virtual void | set_params (SVM_detail *) const |
Definition at line 64 of file kernel.h.
|
The inner-product of two input vectors.
Implements Kernel. Definition at line 65 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. |