Public Member Functions

CStringKernel< ST > Class Template Reference


Detailed Description

template<class ST>
class shogun::CStringKernel< ST >

Template class StringKernel, is the base class of all String Kernels.

For a (very complex) example see e.g. CWeightedDegreeStringKernel

Definition at line 24 of file StringKernel.h.

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

List of all members.

Public Member Functions

 CStringKernel (int32_t cachesize=0)
 CStringKernel (CFeatures *l, CFeatures *r)
virtual bool init (CFeatures *l, CFeatures *r)
virtual EFeatureClass get_feature_class ()
virtual EFeatureType get_feature_type ()
virtual const char * get_name (void) const
virtual EKernelType get_kernel_type ()=0
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

CStringKernel ( int32_t  cachesize = 0  ) 

constructor

Parameters:
cachesize cache size

Definition at line 31 of file StringKernel.h.

CStringKernel ( CFeatures l,
CFeatures r 
)

constructor

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

Definition at line 38 of file StringKernel.h.


Member Function Documentation

virtual EFeatureClass get_feature_class (  )  [virtual]

return feature class the kernel can deal with

Returns:
feature class STRING

Implements CKernel.

Definition at line 69 of file StringKernel.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 107 of file StringKernel.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 105 of file StringKernel.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 99 of file StringKernel.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 101 of file StringKernel.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 103 of file StringKernel.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 97 of file StringKernel.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 95 of file StringKernel.h.

virtual EFeatureType get_feature_type (  )  [virtual]

return feature type the kernel can deal with

Returns:
templated feature type

Implements CKernel.

Reimplemented in CCommUlongStringKernel, CCommWordStringKernel, and CWeightedCommWordStringKernel.

virtual EKernelType get_kernel_type (  )  [pure virtual]
virtual const char* get_name ( void   )  const [virtual]
virtual bool init ( CFeatures l,
CFeatures r 
) [virtual]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

SHOGUN Machine Learning Toolbox - Documentation