SHOGUN v0.9.0
公有成员
CStringKernel< ST >模板类参考

详细描述

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

在文件StringKernel.h第24行定义。

继承图,类CStringKernel< ST >
Inheritance graph
[图例]

所有成员的列表。

公有成员

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

构造及析构函数文档

CStringKernel ( int32_t  cachesize = 0)

constructor

参数:
cachesizecache size

在文件StringKernel.h第31行定义。

CStringKernel ( CFeatures *  l,
CFeatures *  r 
)

constructor

参数:
lfeatures of left-hand side
rfeatures of right-hand side

在文件StringKernel.h第38行定义。


成员函数文档

virtual EFeatureClass get_feature_class ( ) [virtual]

return feature class the kernel can deal with

返回:
feature class STRING

实现了CKernel。

在文件StringKernel.h第69行定义。

EFeatureType get_feature_type ( ) [virtual]

return feature type the kernel can deal with

abstract base method

返回:
feature type

实现了CKernel。

在文件StringKernel.h第107行定义。

EFeatureType get_feature_type ( ) [virtual]

return feature type the kernel can deal with

abstract base method

返回:
feature type

实现了CKernel。

在文件StringKernel.h第105行定义。

EFeatureType get_feature_type ( ) [virtual]

return feature type the kernel can deal with

abstract base method

返回:
feature type

实现了CKernel。

在文件StringKernel.h第99行定义。

EFeatureType get_feature_type ( ) [virtual]

return feature type the kernel can deal with

abstract base method

返回:
feature type

实现了CKernel。

在文件StringKernel.h第101行定义。

EFeatureType get_feature_type ( ) [virtual]

return feature type the kernel can deal with

abstract base method

返回:
feature type

实现了CKernel。

在文件StringKernel.h第103行定义。

EFeatureType get_feature_type ( ) [virtual]

return feature type the kernel can deal with

abstract base method

返回:
feature type

实现了CKernel。

在文件StringKernel.h第97行定义。

EFeatureType get_feature_type ( ) [virtual]

return feature type the kernel can deal with

abstract base method

返回:
feature type

实现了CKernel。

在文件StringKernel.h第95行定义。

virtual EFeatureType get_feature_type ( ) [virtual]

return feature type the kernel can deal with

返回:
templated feature type

实现了CKernel。

被CCommUlongStringKernel、CCommWordStringKernel及CWeightedCommWordStringKernel重载。

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

该类的文档由以下文件生成:

SHOGUN Machine Learning Toolbox - Documentation