The well known Gaussian kernel (swiss army knife for SVMs) on dense short-real valued features.
It is computed as
where 
 is the kernel width. 
Definition at line 31 of file GaussianShortRealKernel.h.

Public Member Functions | |
| CGaussianShortRealKernel (void) | |
| CGaussianShortRealKernel (int32_t size, float64_t width) | |
| CGaussianShortRealKernel (CSimpleFeatures< float32_t > *l, CSimpleFeatures< float32_t > *r, float64_t width, int32_t size=10) | |
| virtual | ~CGaussianShortRealKernel () | 
| virtual bool | init (CFeatures *l, CFeatures *r) | 
| virtual EKernelType | get_kernel_type () | 
| virtual const char * | get_name () const | 
| virtual void | register_params () | 
Protected Member Functions | |
| virtual float64_t | compute (int32_t idx_a, int32_t idx_b) | 
Protected Attributes | |
| float64_t | width | 
| CGaussianShortRealKernel | ( | void | ) | 
default constructor
Definition at line 19 of file GaussianShortRealKernel.cpp.
| CGaussianShortRealKernel | ( | int32_t | size, | |
| float64_t | width | |||
| ) | 
constructor
| size | cache size | |
| width | width | 
Definition at line 25 of file GaussianShortRealKernel.cpp.
| CGaussianShortRealKernel | ( | CSimpleFeatures< float32_t > * | l, | |
| CSimpleFeatures< float32_t > * | r, | |||
| float64_t | width, | |||
| int32_t |  size = 10 | |||
| ) | 
constructor
| l | features of left-hand side | |
| r | features of right-hand side | |
| width | width | |
| size | cache size | 
Definition at line 31 of file GaussianShortRealKernel.cpp.
| ~CGaussianShortRealKernel | ( | ) |  [virtual] | 
        
Definition at line 39 of file GaussianShortRealKernel.cpp.
| float64_t compute | ( | int32_t | idx_a, | |
| int32_t | idx_b | |||
| ) |  [protected, virtual] | 
        
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 | 
Reimplemented from CDotKernel.
Definition at line 49 of file GaussianShortRealKernel.cpp.
| virtual EKernelType get_kernel_type | ( | ) |  [virtual] | 
        
return what type of kernel we are
Implements CDotKernel.
Definition at line 68 of file GaussianShortRealKernel.h.
| virtual const char* get_name | ( | void | ) |  const [virtual] | 
        
return the kernel's name
Reimplemented from CDotKernel.
Definition at line 74 of file GaussianShortRealKernel.h.
initialize kernel
| l | features of left-hand side | |
| r | features of right-hand side | 
Reimplemented from CDotKernel.
Definition at line 43 of file GaussianShortRealKernel.cpp.
| void register_params | ( | ) |  [virtual] | 
        
register the parameters
Reimplemented from CKernel.
Definition at line 70 of file GaussianShortRealKernel.cpp.
width
Definition at line 92 of file GaussianShortRealKernel.h.