Template class SimpleKernel is the base class for kernels working on Simple features.
CSimpleFeatures are dense Matrix like Features and Kernels operating on them all derive from this class (cf., e.g., CGaussianKernel)
Definition at line 24 of file SimpleKernel.h.
Public Member Functions | |
CSimpleKernel (int32_t cachesize) | |
CSimpleKernel (CFeatures *l, CFeatures *r) | |
virtual bool | init (CFeatures *l, CFeatures *r) |
virtual EFeatureClass | get_feature_class () |
virtual EFeatureType | get_feature_type () |
template<> | |
EFeatureType | get_feature_type () |
template<> | |
EFeatureType | get_feature_type () |
template<> | |
EFeatureType | get_feature_type () |
CSimpleKernel< ST >::CSimpleKernel | ( | int32_t | cachesize | ) |
CSimpleKernel< ST >::CSimpleKernel | ( | CFeatures * | l, | |
CFeatures * | r | |||
) |
constructor
l | features of left-hand side | |
r | features of right-hand side |
Definition at line 38 of file SimpleKernel.h.
virtual EFeatureClass CSimpleKernel< ST >::get_feature_class | ( | ) | [virtual] |
return feature class the kernel can deal with
Implements CKernel.
Definition at line 74 of file SimpleKernel.h.
EFeatureType CSimpleKernel< char >::get_feature_type | ( | ) | [virtual] |
return feature type the kernel can deal with
abstract base method
Implements CKernel.
Definition at line 98 of file SimpleKernel.h.
EFeatureType CSimpleKernel< int16_t >::get_feature_type | ( | ) | [virtual] |
return feature type the kernel can deal with
abstract base method
Implements CKernel.
Definition at line 94 of file SimpleKernel.h.
EFeatureType CSimpleKernel< uint64_t >::get_feature_type | ( | ) | [virtual] |
return feature type the kernel can deal with
abstract base method
Implements CKernel.
Definition at line 88 of file SimpleKernel.h.
virtual EFeatureType CSimpleKernel< ST >::get_feature_type | ( | ) | [virtual] |
virtual bool CSimpleKernel< ST >::init | ( | CFeatures * | l, | |
CFeatures * | r | |||
) | [virtual] |
initialize kernel e.g. setup lhs/rhs of kernel, precompute normalization constants etc. make sure to check that your kernel can deal with the supplied features (!)
l | features for left-hand side | |
r | features for right-hand side |
Reimplemented from CKernel.
Reimplemented in CAUCKernel, CChi2Kernel, CGaussianKernel, CGaussianShortRealKernel, CLinearByteKernel, CLinearKernel, CLinearWordKernel, CPolyKernel, CPyramidChi2, CSigmoidKernel, and CTensorProductPairKernel.
Definition at line 53 of file SimpleKernel.h.