#include <DotProductKernel.h>
Inheritance diagram for PLearn::DotProductKernel:
Public Member Functions | |
DotProductKernel () | |
PLEARN_DECLARE_OBJECT (DotProductKernel) | |
virtual real | evaluate (const Vec &x1, const Vec &x2) const |
returns K(x1,x2) | |
virtual real | evaluate_i_j (int i, int j) const |
returns evaluate(data(i),data(j)) | |
virtual real | evaluate_i_x (int i, const Vec &x, real squared_norm_of_x=-1) const |
returns evaluate(data(i),x) | |
virtual real | evaluate_x_i (const Vec &x, int i, real squared_norm_of_x=-1) const |
returns evaluate(x,data(i)) | |
Private Types | |
typedef Kernel | inherited |
Definition at line 54 of file DotProductKernel.h.
|
Reimplemented from PLearn::Kernel. Definition at line 56 of file DotProductKernel.h. |
|
Definition at line 59 of file DotProductKernel.h. |
|
returns K(x1,x2)
Implements PLearn::Kernel. Definition at line 51 of file DotProductKernel.cc. References PLearn::dot(), and PLearn::Vec. |
|
returns evaluate(data(i),data(j))
Reimplemented from PLearn::Kernel. Definition at line 55 of file DotProductKernel.cc. |
|
returns evaluate(data(i),x)
Reimplemented from PLearn::Kernel. Definition at line 59 of file DotProductKernel.cc. References x. |
|
returns evaluate(x,data(i))
Reimplemented from PLearn::Kernel. Definition at line 63 of file DotProductKernel.cc. References x. |
|
|