SHOGUN v0.9.0
|
公有成员 | |
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_t * | apply_to_feature_matrix (CFeatures *f) |
virtual float64_t * | apply_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_t * | mean |
bool | initialized |
true when already initialized | |
int32_t | do_whitening |
float64_t | thresh |
~CPCACut | ( | ) | [virtual] |
在文件PCACut.cpp第36行定义。
apply preproc on feature matrix result in feature matrix return pointer to feature_matrix, i.e. f->get_feature_matrix();
实现了CSimplePreProc< float64_t >。
在文件PCACut.cpp第186行定义。
apply preproc on single feature vector result in feature matrix
实现了CSimplePreProc< float64_t >。
在文件PCACut.cpp第228行定义。
void cleanup | ( | ) | [virtual] |
bool init | ( | CFeatures * | f | ) | [virtual] |
initialize preprocessor from features
compute mean
A = 1.0*xy^T+A blas
实现了CPreProc。
在文件PCACut.cpp第43行定义。
int32_t do_whitening [protected] |
bool initialized [protected] |
int32_t num_old_dim [protected] |