Template class SparseKernel, is the base class of kernels working on sparse features.
See e.g. the CSparseGaussianKernel for an example.
Definition at line 24 of file SparseKernel.h.
Public Member Functions | |
CSparseKernel (int32_t cachesize) | |
CSparseKernel (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 () |
CSparseKernel | ( | int32_t | cachesize | ) |
CSparseKernel | ( | CFeatures * | l, | |
CFeatures * | r | |||
) |
constructor
l | features for left-hand side | |
r | features for right-hand side |
Definition at line 38 of file SparseKernel.h.
virtual EFeatureClass get_feature_class | ( | ) | [virtual] |
return feature class the kernel can deal with
Implements CKernel.
Definition at line 70 of file SparseKernel.h.
EFeatureType get_feature_type | ( | ) | [virtual] |
return feature type the kernel can deal with
abstract base method
Implements CKernel.
Definition at line 91 of file SparseKernel.h.
EFeatureType get_feature_type | ( | ) | [virtual] |
return feature type the kernel can deal with
abstract base method
Implements CKernel.
Definition at line 89 of file SparseKernel.h.
EFeatureType get_feature_type | ( | ) | [virtual] |
return feature type the kernel can deal with
abstract base method
Implements CKernel.
Definition at line 87 of file SparseKernel.h.
EFeatureType get_feature_type | ( | ) | [virtual] |
return feature type the kernel can deal with
abstract base method
Implements CKernel.
Definition at line 85 of file SparseKernel.h.
EFeatureType get_feature_type | ( | ) | [virtual] |
return feature type the kernel can deal with
abstract base method
Implements CKernel.
Definition at line 83 of file SparseKernel.h.
EFeatureType get_feature_type | ( | ) | [virtual] |
return feature type the kernel can deal with
abstract base method
Implements CKernel.
Definition at line 81 of file SparseKernel.h.
EFeatureType get_feature_type | ( | ) | [virtual] |
return feature type the kernel can deal with
abstract base method
Implements CKernel.
Definition at line 79 of file SparseKernel.h.
virtual EFeatureType get_feature_type | ( | ) | [virtual] |
return feature type the kernel can deal with
Implements CKernel.
Reimplemented in CSparseGaussianKernel, and CSparsePolyKernel.
initialize kernel
l | features of left-hand side | |
r | features of right-hand side |
Reimplemented from CKernel.
Reimplemented in CSparseGaussianKernel, CSparseLinearKernel, and CSparsePolyKernel.
Definition at line 49 of file SparseKernel.h.