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

构造及析构函数文档

CStringKernel ( int32_t  cachesize  ) 

constructor

参数:
cachesize cache size

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

CStringKernel ( CFeatures *  l,
CFeatures *  r 
)

constructor

参数:
l features of left-hand side
r features 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第106行定义。

EFeatureType get_feature_type (  )  [virtual]

return feature type the kernel can deal with

abstract base method

返回:
feature type

实现了CKernel。

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

EFeatureType get_feature_type (  )  [virtual]

return feature type the kernel can deal with

abstract base method

返回:
feature type

实现了CKernel。

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

EFeatureType get_feature_type (  )  [virtual]

return feature type the kernel can deal with

abstract base method

返回:
feature type

实现了CKernel。

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

EFeatureType get_feature_type (  )  [virtual]

return feature type the kernel can deal with

abstract base method

返回:
feature type

实现了CKernel。

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

EFeatureType get_feature_type (  )  [virtual]

return feature type the kernel can deal with

abstract base method

返回:
feature type

实现了CKernel。

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

EFeatureType get_feature_type (  )  [virtual]

return feature type the kernel can deal with

abstract base method

返回:
feature type

实现了CKernel。

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

virtual EFeatureType get_feature_type (  )  [virtual]

return feature type the kernel can deal with

返回:
templated feature type

实现了CKernel。

被CCommUlongStringKernel、CCommWordStringKernel及CWeightedCommWordStringKernel重载。

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

参数:
l features for left-hand side
r features for right-hand side
返回:
if init was successful

重载CKernel。

被CCommUlongStringKernel、CCommWordStringKernel、CFixedDegreeStringKernel、CHistogramWordStringKernel、CLinearStringKernel、CLocalAlignmentStringKernel、CLocalityImprovedStringKernel、CMatchWordStringKernel、COligoStringKernel、CPolyMatchStringKernel、CPolyMatchWordStringKernel、CRegulatoryModulesStringKernel、CSalzbergWordStringKernel、CSimpleLocalityImprovedStringKernel、CWeightedCommWordStringKernel、CWeightedDegreePositionStringKernel及CWeightedDegreeStringKernel重载。

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


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

SHOGUN Machine Learning Toolbox - Documentation