公有成员

CSortWordString类参考


详细描述

Preprocessor SortWordString, sorts the indivual strings in ascending order.

This is useful in conjunction with the CCommWordStringKernel and will result in the spectrum kernel. For this to work the strings have to be mapped into a binary higher order representation first (cf. obtain_from_*() functions in CStringFeatures)

在文件SortWordString.h29行定义。

继承图,类CSortWordString
Inheritance graph
[图例]

所有成员的列表。

公有成员

 CSortWordString ()
virtual ~CSortWordString ()
virtual bool init (CFeatures *f)
 initialize preprocessor from features
virtual void cleanup ()
 cleanup
virtual bool load (FILE *f)
 initialize preprocessor from file
virtual bool save (FILE *f)
 save preprocessor init-data to file
virtual bool apply_to_string_features (CFeatures *f)
virtual uint16_t * apply_to_string (uint16_t *f, int32_t &len)
 apply preproc on single feature vector
virtual const char * get_name ()

构造及析构函数文档

default constructor

在文件SortWordString.cpp18行定义。

~CSortWordString (  ) [virtual]

在文件SortWordString.cpp23行定义。


成员函数文档

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

apply preproc on single feature vector

apply preproc on single feature vector result in feature matrix

实现了CStringPreProc< uint16_t >

在文件SortWordString.cpp76行定义。

bool apply_to_string_features ( CFeatures f ) [virtual]

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

实现了CStringPreProc< uint16_t >

在文件SortWordString.cpp56行定义。

void cleanup (  ) [virtual]

cleanup

clean up allocated memory

实现了CPreProc

在文件SortWordString.cpp37行定义。

virtual const char* get_name (  ) [virtual]
返回:
object name

在文件SortWordString.h56行定义。

bool init ( CFeatures f ) [virtual]

initialize preprocessor from features

实现了CPreProc

在文件SortWordString.cpp28行定义。

bool load ( FILE *  f ) [virtual]

initialize preprocessor from file

在文件SortWordString.cpp42行定义。

bool save ( FILE *  f ) [virtual]

save preprocessor init-data to file

在文件SortWordString.cpp48行定义。


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

SHOGUN Machine Learning Toolbox - Documentation