CSimpleKernel< ST > Class Template Reference


Detailed Description

template<class ST>
class shogun::CSimpleKernel< ST >

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.

Inheritance diagram for CSimpleKernel< ST >:
Inheritance graph
[legend]

List of all members.

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

Constructor & Destructor Documentation

CSimpleKernel (  ) 

default constructor

Definition at line 32 of file SimpleKernel.h.

CSimpleKernel ( int32_t  cachesize  ) 

constructor

Parameters:
cachesize cache size

Definition at line 38 of file SimpleKernel.h.

CSimpleKernel ( CFeatures l,
CFeatures r 
)

constructor

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

Definition at line 45 of file SimpleKernel.h.


Member Function Documentation

virtual EFeatureClass get_feature_class (  )  [virtual]

return feature class the kernel can deal with

Returns:
feature class SIMPLE

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

Returns:
feature type

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

Returns:
feature type

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

Returns:
feature type

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

Returns:
feature type

Implements CKernel.

Definition at line 118 of file SimpleKernel.h.

EFeatureType get_feature_type (  )  [virtual]

return feature type the kernel can deal with

abstract base method

Returns:
feature type

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

Returns:
feature type

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

Returns:
feature type

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

Returns:
feature type

Implements CKernel.

Definition at line 110 of file SimpleKernel.h.

virtual EFeatureType get_feature_type (  )  [virtual]

return feature type the kernel can deal with

Returns:
templated feature type

Implements CKernel.

virtual bool 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 (!)

Parameters:
l features for left-hand side
r features for right-hand side
Returns:
if init was successful

Reimplemented from CKernel.

Reimplemented in CAUCKernel, CChi2Kernel, CGaussianKernel, CGaussianShortRealKernel, CLinearByteKernel, CLinearKernel, CLinearWordKernel, CPolyKernel, CPyramidChi2, CSigmoidKernel, and CTensorProductPairKernel.

Definition at line 60 of file SimpleKernel.h.


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

SHOGUN Machine Learning Toolbox - Documentation