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 26 of file SimpleKernel.h.
Public Member Functions | |
CSimpleKernel () | |
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 () |
template<> | |
EFeatureType | get_feature_type () |
template<> | |
EFeatureType | get_feature_type () |
template<> | |
EFeatureType | get_feature_type () |
template<> | |
EFeatureType | get_feature_type () |
template<> | |
EFeatureType | get_feature_type () |
CSimpleKernel | ( | ) |
default constructor
Definition at line 32 of file SimpleKernel.h.
CSimpleKernel | ( | int32_t | cachesize | ) |
CSimpleKernel | ( | CFeatures * | l, | |
CFeatures * | r | |||
) |
constructor
l | features of left-hand side | |
r | features of right-hand side |
Definition at line 45 of file SimpleKernel.h.
virtual EFeatureClass get_feature_class | ( | ) | [virtual] |
return feature class the kernel can deal with
Implements CKernel.
Definition at line 81 of file SimpleKernel.h.
EFeatureType get_feature_type | ( | ) | [virtual] |
return feature type the kernel can deal with
abstract base method
Implements CKernel.
Definition at line 124 of file SimpleKernel.h.
EFeatureType get_feature_type | ( | ) | [virtual] |
return feature type the kernel can deal with
abstract base method
Implements CKernel.
Definition at line 122 of file SimpleKernel.h.
EFeatureType get_feature_type | ( | ) | [virtual] |
return feature type the kernel can deal with
abstract base method
Implements CKernel.
Definition at line 120 of file SimpleKernel.h.
EFeatureType get_feature_type | ( | ) | [virtual] |
return feature type the kernel can deal with
abstract base method
Implements CKernel.
Definition at line 110 of file SimpleKernel.h.
EFeatureType get_feature_type | ( | ) | [virtual] |
return feature type the kernel can deal with
abstract base method
Implements CKernel.
Definition at line 116 of file SimpleKernel.h.
EFeatureType get_feature_type | ( | ) | [virtual] |
return feature type the kernel can deal with
abstract base method
Implements CKernel.
Definition at line 114 of file SimpleKernel.h.
EFeatureType get_feature_type | ( | ) | [virtual] |
return feature type the kernel can deal with
abstract base method
Implements CKernel.
Definition at line 112 of file SimpleKernel.h.
EFeatureType get_feature_type | ( | ) | [virtual] |
return feature type the kernel can deal with
abstract base method
Implements CKernel.
Definition at line 118 of file SimpleKernel.h.
virtual EFeatureType get_feature_type | ( | ) | [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, CTensorProductPairKernel, and CWeightedDegreeRBFKernel.
Definition at line 60 of file SimpleKernel.h.