.
More...
#include <kernel.h>
Inheritance diagram for Stump:


Public Member Functions | |
| Stump () | |
| Stump (std::istream &is) | |
| virtual const id_t & | id () const |
| virtual Stump * | create () const |
| Create a new object using the default constructor. | |
| virtual Stump * | clone () const |
| Create a new object by replicating itself. | |
| 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 106 of file kernel.h.
|
|
|
|
|
|
|
|
Create a new object by replicating itself.
return new Derived(*this);
Implements Kernel. Definition at line 112 of file kernel.h. References Stump::Stump(). |
|
|
Create a new object using the default constructor. The code for a derived class Derived is always return new Derived(); Implements Kernel. Definition at line 111 of file kernel.h. References Stump::Stump(). |
|
|
Implements Object. |
|
||||||||||||
|
The inner-product of two input vectors.
Implements Kernel. Definition at line 114 of file kernel.h. References lemga::kernel::norm_1(). |
|
|
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. |
1.4.6