#include <NormalizedDotProductKernel.h>
Inheritance diagram for PLearn::NormalizedDotProductKernel:
Public Member Functions | |
NormalizedDotProductKernel (real the_norm=2.0) | |
PLEARN_DECLARE_OBJECT (NormalizedDotProductKernel) | |
virtual real | evaluate (const Vec &x1, const Vec &x2) const |
returns K(x1,x2) | |
Static Protected Member Functions | |
void | declareOptions (OptionList &ol) |
recognized option is "norm_to_use" | |
Protected Attributes | |
real | norm_to_use |
Private Types | |
typedef Kernel | inherited |
|
Reimplemented from PLearn::Kernel. Definition at line 55 of file NormalizedDotProductKernel.h. |
|
Definition at line 61 of file NormalizedDotProductKernel.h. References norm_to_use. |
|
recognized option is "norm_to_use"
Reimplemented from PLearn::Kernel. Definition at line 54 of file NormalizedDotProductKernel.cc. References PLearn::declareOption(), and PLearn::OptionList. |
|
returns K(x1,x2)
Implements PLearn::Kernel. Definition at line 51 of file NormalizedDotProductKernel.cc. References PLearn::dot(), PLearn::norm(), norm_to_use, and PLearn::Vec. |
|
|
|
Definition at line 58 of file NormalizedDotProductKernel.h. Referenced by evaluate(), and NormalizedDotProductKernel(). |