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

详细描述

template<class ST>
class shogun::CStringPreProc< ST >

Template class StringPreProc, base class for preprocessors (cf. CPreProc) that apply to CStringFeatures (i.e. strings of variable length).

Two new functions apply_to_string() and apply_to_string_features() are defined in this interface that need to be implemented in each particular preprocessor operating on CStringFeatures.

在文件StringPreProc.h第30行定义。

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

所有成员的列表。

公有成员

 CStringPreProc (const char *name, const char *id)
virtual bool apply_to_string_features (CFeatures *f)=0
virtual ST * apply_to_string (ST *f, int32_t &len)=0
 apply preproc on single feature vector
virtual EFeatureClass get_feature_class ()
 return that we are string features (just fixed size matrices)
virtual EFeatureType get_feature_type ()
 return 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 ()
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 ()

构造及析构函数文档

CStringPreProc ( const char *  name,
const char *  id 
)

constructor

参数:
namestring preprocessor's name
idstring preprocessor's id

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


成员函数文档

virtual ST* apply_to_string ( ST *  f,
int32_t &  len 
) [pure virtual]

apply preproc on single feature vector

在CDecompressString< ST >、CSortUlongString及CSortWordString内被实现。

virtual bool apply_to_string_features ( CFeatures *  f) [pure virtual]

apply preproc on feature matrix result in feature matrix return pointer to feature_matrix, i.e. f->get_feature_matrix();

在CDecompressString< ST >、CSortUlongString及CSortWordString内被实现。

virtual EFeatureClass get_feature_class ( ) [virtual]

return that we are string features (just fixed size matrices)

实现了CPreProc。

在文件StringPreProc.h第49行定义。

EFeatureType get_feature_type ( ) [virtual]

return feature type with which objects derived from CPreProc can deal

实现了CPreProc。

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

EFeatureType get_feature_type ( ) [virtual]

return feature type with which objects derived from CPreProc can deal

实现了CPreProc。

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

EFeatureType get_feature_type ( ) [virtual]

return feature type with which objects derived from CPreProc can deal

实现了CPreProc。

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

EFeatureType get_feature_type ( ) [virtual]

return feature type with which objects derived from CPreProc can deal

实现了CPreProc。

在文件StringPreProc.h第89行定义。

EFeatureType get_feature_type ( ) [virtual]

return feature type with which objects derived from CPreProc can deal

实现了CPreProc。

在文件StringPreProc.h第84行定义。

EFeatureType get_feature_type ( ) [virtual]

return feature type with which objects derived from CPreProc can deal

实现了CPreProc。

在文件StringPreProc.h第79行定义。

EFeatureType get_feature_type ( ) [virtual]

return feature type with which objects derived from CPreProc can deal

实现了CPreProc。

在文件StringPreProc.h第74行定义。

EFeatureType get_feature_type ( ) [virtual]

return feature type with which objects derived from CPreProc can deal

实现了CPreProc。

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

EFeatureType get_feature_type ( ) [virtual]

return feature type with which objects derived from CPreProc can deal

实现了CPreProc。

在文件StringPreProc.h第64行定义。

EFeatureType get_feature_type ( ) [virtual]

return feature type with which objects derived from CPreProc can deal

实现了CPreProc。

在文件StringPreProc.h第59行定义。

EFeatureType get_feature_type ( ) [virtual]

return feature type with which objects derived from CPreProc can deal

实现了CPreProc。

在文件StringPreProc.h第54行定义。

virtual EFeatureType get_feature_type ( ) [virtual]

return feature type

实现了CPreProc。

EFeatureType get_feature_type ( ) [virtual]

return feature type with which objects derived from CPreProc can deal

实现了CPreProc。

在文件StringPreProc.h第109行定义。

EFeatureType get_feature_type ( ) [virtual]

return feature type with which objects derived from CPreProc can deal

实现了CPreProc。

在文件StringPreProc.h第114行定义。


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

SHOGUN Machine Learning Toolbox - Documentation