SHOGUN
v1.1.0
|
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 |
![]() | |
CSGObject () | |
CSGObject (const CSGObject &orig) | |
virtual | ~CSGObject () |
virtual bool | is_generic (EPrimitiveType *generic) const |
template<class T > | |
void | set_generic () |
void | unset_generic () |
virtual void | print_serializable (const char *prefix="") |
virtual bool | save_serializable (CSerializableFile *file, const char *prefix="") |
virtual bool | load_serializable (CSerializableFile *file, const char *prefix="") |
void | set_global_io (SGIO *io) |
SGIO * | get_global_io () |
void | set_global_parallel (Parallel *parallel) |
Parallel * | get_global_parallel () |
void | set_global_version (Version *version) |
Version * | get_global_version () |
SGVector< char * > | get_modelsel_names () |
char * | get_modsel_param_descr (const char *param_name) |
index_t | get_modsel_param_index (const char *param_name) |
Protected Member Functions | |
bool | preprocess_features (CFeatures *trainfeat, CFeatures *testfeat, bool force) |
bool | preproc_all_features (CFeatures *f, bool force) |
![]() | |
virtual void | load_serializable_pre () throw (ShogunException) |
virtual void | load_serializable_post () throw (ShogunException) |
virtual void | save_serializable_pre () throw (ShogunException) |
virtual void | save_serializable_post () throw (ShogunException) |
Protected Attributes | |
CList * | preprocs |
CSGInterface * | ui |
Additional Inherited Members | |
![]() | |
SGIO * | io |
Parallel * | parallel |
Version * | version |
Parameter * | m_parameters |
Parameter * | m_model_selection_parameters |
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 |
|
protected |
preprocess features
trainfeat | |
testfeat | |
force |
Definition at line 217 of file GUIPreprocessor.cpp.
|
protected |
preprocs
Definition at line 74 of file GUIPreprocessor.h.
|
protected |
ui
Definition at line 76 of file GUIPreprocessor.h.