Cauchy kernel.
Formally described as
![\[ K(x,x') = \frac{1}{1+\frac{\| x-x' \|^2}{\sigma}} \]](form_106.png) 
Definition at line 35 of file CauchyKernel.h.

| Public Member Functions | |
| CCauchyKernel () | |
| CCauchyKernel (int32_t cache, float64_t sigma, CDistance *dist) | |
| CCauchyKernel (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 | ~CCauchyKernel () | 
| Protected Member Functions | |
| virtual float64_t | compute (int32_t idx_a, int32_t idx_b) | 
| Protected Attributes | |
| CDistance * | m_distance | 
| distance to be used | |
| float64_t | m_sigma | 
| sigma parameter of kernel | |
| CCauchyKernel | ( | ) | 
default constructor
Definition at line 16 of file CauchyKernel.cpp.
| CCauchyKernel | ( | int32_t | cache, | |
| float64_t | sigma, | |||
| CDistance * | dist | |||
| ) | 
constructor
| cache | size of cache | |
| sigma | kernel parameter sigma | |
| dist | distance to be used | 
Definition at line 21 of file CauchyKernel.cpp.
| CCauchyKernel | ( | CFeatures * | l, | |
| CFeatures * | r, | |||
| float64_t | sigma, | |||
| CDistance * | dist | |||
| ) | 
constructor
| l | features left-side | |
| r | features right-side | |
| sigma | kernel parameter sigma | |
| dist | distance to be used | 
Definition at line 29 of file CauchyKernel.cpp.
| ~CCauchyKernel | ( | ) |  [virtual] | 
Definition at line 38 of file CauchyKernel.cpp.
| float64_t compute | ( | int32_t | idx_a, | |
| int32_t | idx_b | |||
| ) |  [protected, virtual] | 
compute kernel for specific feature vectors corresponding to [idx_a] of left-side and [idx_b] of right-side
| idx_a | left-side index | |
| idx_b | right-side index | 
Implements CKernel.
Definition at line 58 of file CauchyKernel.cpp.
| virtual EFeatureClass get_feature_class | ( | ) |  [virtual] | 
| virtual EFeatureType get_feature_type | ( | ) |  [virtual] | 
| virtual EKernelType get_kernel_type | ( | ) |  [virtual] | 
| virtual const char* get_name | ( | void | ) | const  [virtual] | 
initialize kernel with features
| l | features left-side | |
| r | features right-side | 
Reimplemented from CKernel.
Definition at line 44 of file CauchyKernel.cpp.
| CDistance* m_distance  [protected] | 
distance to be used
Definition at line 103 of file CauchyKernel.h.
sigma parameter of kernel
Definition at line 106 of file CauchyKernel.h.