UI preprocessor.
Definition at line 25 of file GUIPreprocessor.h.

Public Member Functions | |
| CGUIPreprocessor () | |
| CGUIPreprocessor (CSGInterface *interface) | |
| ~CGUIPreprocessor () | |
| CPreprocessor * | create_generic (EPreprocessorType type) |
| CPreprocessor * | create_prunevarsubmean (bool divide_by_std=false) |
| CPreprocessor * | create_pca (bool do_whitening, float64_t threshold) |
| bool | add_preproc (CPreprocessor *preproc) |
| bool | del_preproc () |
| bool | clean_preproc () |
| bool | attach_preproc (char *target, bool do_force=false) |
| virtual const char * | get_name () const |
Protected Member Functions | |
| bool | preprocess_features (CFeatures *trainfeat, CFeatures *testfeat, bool force) |
| bool | preproc_all_features (CFeatures *f, bool force) |
Protected Attributes | |
| CList * | preprocs |
| CSGInterface * | ui |
| CGUIPreprocessor | ( | ) |
constructor
Definition at line 29 of file GUIPreprocessor.h.
| CGUIPreprocessor | ( | CSGInterface * | interface | ) |
| ~CGUIPreprocessor | ( | ) |
destructor
Definition at line 45 of file GUIPreprocessor.cpp.
| bool add_preproc | ( | CPreprocessor * | preproc | ) |
add new preproc to list
Definition at line 107 of file GUIPreprocessor.cpp.
| bool attach_preproc | ( | char * | target, | |
| bool | do_force = false | |||
| ) |
attach preprocessor to TRAIN/TEST feature obj. it will also preprocess train/test data when a feature matrix is available
when successful create new preproc list
Definition at line 129 of file GUIPreprocessor.cpp.
| bool clean_preproc | ( | ) |
clean all preprocs from list
Definition at line 112 of file GUIPreprocessor.cpp.
| CPreprocessor * create_generic | ( | EPreprocessorType | type | ) |
create generic Preprocessor
Definition at line 79 of file GUIPreprocessor.cpp.
| CPreprocessor * create_pca | ( | bool | do_whitening, | |
| float64_t | threshold | |||
| ) |
create preproc PCA
Definition at line 62 of file GUIPreprocessor.cpp.
| CPreprocessor * create_prunevarsubmean | ( | bool | divide_by_std = false |
) |
create preproc PruneVarSubMean
Definition at line 50 of file GUIPreprocessor.cpp.
| bool del_preproc | ( | ) |
delete last preproc in list
Definition at line 119 of file GUIPreprocessor.cpp.
| virtual const char* get_name | ( | ) | const [virtual] |
| bool preproc_all_features | ( | CFeatures * | f, | |
| bool | force | |||
| ) | [protected] |
preprocess features
| trainfeat | ||
| testfeat | ||
| force |
Definition at line 217 of file GUIPreprocessor.cpp.
preprocs
Definition at line 74 of file GUIPreprocessor.h.
CSGInterface* ui [protected] |
ui
Definition at line 76 of file GUIPreprocessor.h.