Definition at line 23 of file PruneVarSubMean.h.
Public Member Functions | |
CPruneVarSubMean (bool divide=true) | |
virtual | ~CPruneVarSubMean () |
virtual bool | init (CFeatures *f) |
initialize preprocessor from features | |
virtual bool | load_init_data (FILE *src) |
initialize preprocessor from file | |
virtual bool | save_init_data (FILE *dst) |
save init-data (like transforamtion matrices etc) to file | |
virtual void | cleanup () |
cleanup | |
virtual DREAL * | apply_to_feature_matrix (CFeatures *f) |
virtual DREAL * | apply_to_feature_vector (DREAL *f, INT &len) |
virtual ST * | apply_to_feature_vector (ST *f, INT &len)=0 |
virtual EFeatureClass | get_feature_class () |
return that we are simple 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 () |
const CHAR * | get_name () const |
return the name of the preprocessor | |
const CHAR * | get_id () const |
return a FOUR letter id of the preprocessor | |
Static Public Attributes | |
static CParallel | parallel |
static CIO | io |
static CVersion | version |
Protected Attributes | |
INT * | idx |
DREAL * | mean |
DREAL * | std |
INT | num_idx |
bool | divide_by_std |
bool | initialized |
true when already initialized | |
const CHAR * | preproc_name |
const CHAR * | preproc_id |
CPruneVarSubMean::CPruneVarSubMean | ( | bool | divide = true |
) |
constructor
divide | if division shall be made |
Definition at line 19 of file PruneVarSubMean.cpp.
CPruneVarSubMean::~CPruneVarSubMean | ( | ) | [virtual] |
Definition at line 25 of file PruneVarSubMean.cpp.
bool CPruneVarSubMean::init | ( | CFeatures * | f | ) | [virtual] |
initialize preprocessor from features
Implements CPreProc.
Definition at line 31 of file PruneVarSubMean.cpp.
bool CPruneVarSubMean::load_init_data | ( | FILE * | src | ) | [virtual] |
initialize preprocessor from file
Implements CPreProc.
Definition at line 207 of file PruneVarSubMean.cpp.
bool CPruneVarSubMean::save_init_data | ( | FILE * | dst | ) | [virtual] |
save init-data (like transforamtion matrices etc) to file
Implements CPreProc.
Definition at line 233 of file PruneVarSubMean.cpp.
void CPruneVarSubMean::cleanup | ( | ) | [virtual] |
cleanup
clean up allocated memory
Implements CPreProc.
Definition at line 127 of file PruneVarSubMean.cpp.
apply preproc on feature matrix result in feature matrix return pointer to feature_matrix, i.e. f->get_feature_matrix();
apply preproc on feature matrix result in feature matrix return pointer to feature_matrix, i.e. f->get_feature_matrix();
Implements CSimplePreProc< ST >.
Definition at line 140 of file PruneVarSubMean.cpp.
apply preproc on single feature vector result in feature matrix
apply preproc on single feature vector result in feature matrix
Definition at line 176 of file PruneVarSubMean.cpp.
virtual ST* CSimplePreProc< ST >::apply_to_feature_vector | ( | ST * | f, | |
INT & | len | |||
) | [pure virtual, inherited] |
apply preproc on single feature vector result in feature matrix
virtual EFeatureClass CSimplePreProc< ST >::get_feature_class | ( | ) | [virtual, inherited] |
return that we are simple features (just fixed size matrices)
Implements CPreProc.
Definition at line 43 of file SimplePreProc.h.
virtual EFeatureType CSimplePreProc< ST >::get_feature_type | ( | ) | [virtual, inherited] |
EFeatureType CSimplePreProc< DREAL >::get_feature_type | ( | ) | [virtual, inherited] |
return feature type with which objects derived from CPreProc can deal
Implements CPreProc.
Definition at line 48 of file SimplePreProc.h.
EFeatureType CSimplePreProc< SHORT >::get_feature_type | ( | ) | [virtual, inherited] |
return feature type with which objects derived from CPreProc can deal
Implements CPreProc.
Definition at line 53 of file SimplePreProc.h.
EFeatureType CSimplePreProc< WORD >::get_feature_type | ( | ) | [virtual, inherited] |
return feature type with which objects derived from CPreProc can deal
Implements CPreProc.
Definition at line 58 of file SimplePreProc.h.
EFeatureType CSimplePreProc< CHAR >::get_feature_type | ( | ) | [virtual, inherited] |
return feature type with which objects derived from CPreProc can deal
Implements CPreProc.
Definition at line 63 of file SimplePreProc.h.
EFeatureType CSimplePreProc< BYTE >::get_feature_type | ( | ) | [virtual, inherited] |
return feature type with which objects derived from CPreProc can deal
Implements CPreProc.
Definition at line 68 of file SimplePreProc.h.
EFeatureType CSimplePreProc< ULONG >::get_feature_type | ( | ) | [virtual, inherited] |
return feature type with which objects derived from CPreProc can deal
Implements CPreProc.
Definition at line 73 of file SimplePreProc.h.
const CHAR* CPreProc::get_name | ( | ) | const [inherited] |
const CHAR* CPreProc::get_id | ( | ) | const [inherited] |
INT* CPruneVarSubMean::idx [protected] |
idx
Definition at line 55 of file PruneVarSubMean.h.
DREAL* CPruneVarSubMean::mean [protected] |
mean
Definition at line 57 of file PruneVarSubMean.h.
DREAL* CPruneVarSubMean::std [protected] |
std
Definition at line 59 of file PruneVarSubMean.h.
INT CPruneVarSubMean::num_idx [protected] |
num idx
Definition at line 61 of file PruneVarSubMean.h.
bool CPruneVarSubMean::divide_by_std [protected] |
divide by std
Definition at line 63 of file PruneVarSubMean.h.
bool CPruneVarSubMean::initialized [protected] |
const CHAR* CPreProc::preproc_name [protected, inherited] |
const CHAR* CPreProc::preproc_id [protected, inherited] |
CParallel CSGObject::parallel [static, inherited] |
Definition at line 105 of file SGObject.h.
CIO CSGObject::io [static, inherited] |
Definition at line 106 of file SGObject.h.
CVersion CSGObject::version [static, inherited] |
Definition at line 107 of file SGObject.h.