SHOGUN v0.9.0
公有成员 | 保护属性
CPreProc类参考

详细描述

Class PreProc defines a preprocessor interface.

Preprocessors are transformation functions that don't change the domain of the input features. These functions can be applied in-place if the input features fit in memory or can be applied on-the-fly when (depending on features) a feature caching strategy is applied. However, if the individual features are in $\bf{R}$ they have to stay in $\bf{R}$ although the dimensionality of the feature vectors is allowed change.

As preprocessors might need a certain initialization they may expect that the init() function is called before anything else. The actual preprocessing is feature type dependent and thus coordinated in the sub-classes, cf. e.g. CSimplePreProc .

在文件PreProc.h57行定义。

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

所有成员的列表。

公有成员

 CPreProc (const char *name, const char *id)
virtual ~CPreProc ()
virtual bool init (CFeatures *f)=0
 initialize preprocessor from features
virtual void cleanup ()=0
 cleanup
virtual EFeatureType get_feature_type ()=0
virtual EFeatureClass get_feature_class ()=0
virtual const char * get_name () const
 return the name of the preprocessor
const char * get_id () const
 return a FOUR letter id of the preprocessor

保护属性

const char * preproc_name
const char * preproc_id

构造及析构函数文档

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

constructor

参数:
namepreprocessor's name
idpreprocessor's id

在文件PreProc.cpp17行定义。

~CPreProc ( ) [virtual]

在文件PreProc.cpp23行定义。


成员函数文档

virtual void cleanup ( ) [pure virtual]
virtual EFeatureClass get_feature_class ( ) [pure virtual]
virtual EFeatureType get_feature_type ( ) [pure virtual]
const char* get_id ( ) const

return a FOUR letter id of the preprocessor

在文件PreProc.h87行定义。

virtual const char* get_name ( void  ) const [virtual]

return the name of the preprocessor

实现了CSGObject

CLogPlusOne重载。

在文件PreProc.h84行定义。

virtual bool init ( CFeatures f) [pure virtual]

initialize preprocessor from features

CDecompressString< ST >CLogPlusOneCNormDerivativeLem3CNormOneCPCACutCPruneVarSubMeanCSortUlongStringCSortWordString内被实现。


成员数据文档

const char* preproc_id [protected]

preprocessor id

在文件PreProc.h93行定义。

const char* preproc_name [protected]

preprocessor name

在文件PreProc.h91行定义。


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

SHOGUN Machine Learning Toolbox - Documentation