CSparseKernel< ST > Class Template Reference

Inheritance diagram for CSparseKernel< ST >:

Inheritance graph
[legend]

List of all members.

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 ()


Detailed Description

template<class ST>
class CSparseKernel< ST >

Template class SparseKernel, is the base class of kernels working on sparse features, like e.g. the CSparseGaussianKernel.

Definition at line 20 of file SparseKernel.h.


Constructor & Destructor Documentation

template<class ST>
CSparseKernel< ST >::CSparseKernel ( int32_t  cachesize  ) 

constructor

Parameters:
cachesize cache size

Definition at line 27 of file SparseKernel.h.

template<class ST>
CSparseKernel< ST >::CSparseKernel ( CFeatures l,
CFeatures r 
)

constructor

Parameters:
l features for left-hand side
r features for right-hand side

Definition at line 34 of file SparseKernel.h.


Member Function Documentation

template<class ST>
virtual EFeatureClass CSparseKernel< ST >::get_feature_class (  )  [virtual]

return feature class the kernel can deal with

Returns:
feature class SPARSE

Implements CKernel.

Definition at line 66 of file SparseKernel.h.

template<>
EFeatureType CSparseKernel< char >::get_feature_type (  )  [virtual]

return feature type the kernel can deal with

abstract base method

Returns:
feature type

Implements CKernel.

Definition at line 87 of file SparseKernel.h.

template<>
EFeatureType CSparseKernel< uint8_t >::get_feature_type (  )  [virtual]

return feature type the kernel can deal with

abstract base method

Returns:
feature type

Implements CKernel.

Definition at line 85 of file SparseKernel.h.

template<>
EFeatureType CSparseKernel< int16_t >::get_feature_type (  )  [virtual]

return feature type the kernel can deal with

abstract base method

Returns:
feature type

Implements CKernel.

Definition at line 83 of file SparseKernel.h.

template<>
EFeatureType CSparseKernel< uint16_t >::get_feature_type (  )  [virtual]

return feature type the kernel can deal with

abstract base method

Returns:
feature type

Implements CKernel.

Definition at line 81 of file SparseKernel.h.

template<>
EFeatureType CSparseKernel< int32_t >::get_feature_type (  )  [virtual]

return feature type the kernel can deal with

abstract base method

Returns:
feature type

Implements CKernel.

Definition at line 79 of file SparseKernel.h.

template<>
EFeatureType CSparseKernel< uint64_t >::get_feature_type (  )  [virtual]

return feature type the kernel can deal with

abstract base method

Returns:
feature type

Implements CKernel.

Definition at line 77 of file SparseKernel.h.

template<class ST>
virtual EFeatureType CSparseKernel< ST >::get_feature_type (  )  [virtual]

return feature type the kernel can deal with

Returns:
templated feature type

Implements CKernel.

Reimplemented in CSparseGaussianKernel, and CSparsePolyKernel.

template<class ST>
virtual bool CSparseKernel< ST >::init ( CFeatures l,
CFeatures r 
) [virtual]

initialize kernel

Parameters:
l features of left-hand side
r features of right-hand side
Returns:
if initializing was successful

Reimplemented from CKernel.

Reimplemented in CSparseGaussianKernel, CSparseLinearKernel, and CSparsePolyKernel.

Definition at line 45 of file SparseKernel.h.


The documentation for this class was generated from the following file:

SHOGUN Machine Learning Toolbox - Documentation