|
SHOGUN
v1.1.0
|

Public Member Functions | |
| CCircularKernel () | |
| CCircularKernel (int32_t size, float64_t sigma, CDistance *dist) | |
| CCircularKernel (CFeatures *l, CFeatures *r, float64_t sigma, CDistance *dist) | |
| virtual bool | init (CFeatures *l, CFeatures *r) |
| virtual EKernelType | get_kernel_type () |
| virtual EFeatureType | get_feature_type () |
| virtual EFeatureClass | get_feature_class () |
| virtual const char * | get_name () const |
| virtual void | set_sigma (float64_t s) |
| virtual float64_t | get_sigma () const |
| virtual | ~CCircularKernel () |
| virtual void | load_serializable_post () throw (ShogunException) |
| virtual float64_t | compute (int32_t idx_a, int32_t idx_b) |
Protected Attributes | |
| CDistance * | distance |
| float64_t | sigma |
| CCircularKernel | ( | ) |
default constructor
Definition at line 17 of file CircularKernel.cpp.
| CCircularKernel | ( | int32_t | size, |
| float64_t | sigma, | ||
| CDistance * | dist | ||
| ) |
constructor
| size | cache size |
| sigma | kernel parameter sigma |
| dist | distance |
Definition at line 23 of file CircularKernel.cpp.
| CCircularKernel | ( | CFeatures * | l, |
| CFeatures * | r, | ||
| float64_t | sigma, | ||
| CDistance * | dist | ||
| ) |
constructor
| l | features of left-side |
| r | features of right-side |
| sigma | kernel parameter sigma |
| dist | distance |
Definition at line 33 of file CircularKernel.cpp.
| ~CCircularKernel | ( | ) | [virtual] |
Definition at line 44 of file CircularKernel.cpp.
compute kernel function for features a and b idx_{a,b} denote the index of the feature vectors in the corresponding feature object
| idx_a | index a |
| idx_b | index b |
Implements CKernel.
Definition at line 69 of file CircularKernel.cpp.
| virtual EFeatureClass get_feature_class | ( | ) | [virtual] |
| virtual EFeatureType get_feature_type | ( | ) | [virtual] |
| virtual EKernelType get_kernel_type | ( | ) | [virtual] |
| virtual const char* get_name | ( | ) | const [virtual] |
initialize kernel with features
| l | features of left-side |
| r | features of right-side |
Reimplemented from CKernel.
Definition at line 50 of file CircularKernel.cpp.
| void load_serializable_post | ( | ) | throw (ShogunException) [virtual] |
Can (optionally) be overridden to post-initialize some member variables which are not PARAMETER::ADD'ed. Make sure that at first the overridden method BASE_CLASS::LOAD_SERIALIZABLE_POST is called.
| ShogunException | Will be thrown if an error occurres. |
Reimplemented from CKernel.
Definition at line 58 of file CircularKernel.cpp.
distance
Definition at line 136 of file CircularKernel.h.
width
Definition at line 139 of file CircularKernel.h.