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

详细描述

在文件PCACut.h40行定义。

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

所有成员的列表。

公有成员

 CPCACut (int32_t do_whitening=0, float64_t thresh=1e-6)
virtual ~CPCACut ()
virtual bool init (CFeatures *f)
 initialize preprocessor from features
virtual void cleanup ()
 cleanup
virtual float64_tapply_to_feature_matrix (CFeatures *f)
virtual float64_tapply_to_feature_vector (float64_t *f, int32_t &len)
virtual const char * get_name ()

保护属性

double * T
int32_t num_dim
int32_t num_old_dim
float64_tmean
bool initialized
 true when already initialized
int32_t do_whitening
float64_t thresh

构造及析构函数文档

CPCACut ( int32_t  do_whitening = 0,
float64_t  thresh = 1e-6 
)

constructor

参数:
do_whiteningdo whitening
threshthreshold

在文件PCACut.cpp30行定义。

~CPCACut ( ) [virtual]

在文件PCACut.cpp36行定义。


成员函数文档

float64_t * apply_to_feature_matrix ( CFeatures f) [virtual]

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

实现了CSimplePreProc< float64_t >

在文件PCACut.cpp186行定义。

float64_t * apply_to_feature_vector ( float64_t f,
int32_t &  len 
) [virtual]

apply preproc on single feature vector result in feature matrix

实现了CSimplePreProc< float64_t >

在文件PCACut.cpp228行定义。

void cleanup ( ) [virtual]

cleanup

initialize preprocessor from features

实现了CPreProc

在文件PCACut.cpp177行定义。

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

实现了CSGObject

在文件PCACut.h66行定义。

bool init ( CFeatures f) [virtual]

initialize preprocessor from features

compute mean

A = 1.0*xy^T+A blas

实现了CPreProc

在文件PCACut.cpp43行定义。


成员数据文档

int32_t do_whitening [protected]

do whitening

在文件PCACut.h82行定义。

bool initialized [protected]

true when already initialized

在文件PCACut.h79行定义。

float64_t* mean [protected]

mean

在文件PCACut.h76行定义。

int32_t num_dim [protected]

num dim

在文件PCACut.h72行定义。

int32_t num_old_dim [protected]

num old dim

在文件PCACut.h74行定义。

double* T [protected]

T

在文件PCACut.h70行定义。

float64_t thresh [protected]

thresh

在文件PCACut.h84行定义。


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

SHOGUN Machine Learning Toolbox - Documentation