Public Member Functions | Protected Member Functions | Protected Attributes

CGUIPreprocessor Class Reference

Detailed Description

UI preprocessor.

Definition at line 25 of file GUIPreprocessor.h.

Inheritance diagram for CGUIPreprocessor:
Inheritance graph

List of all members.

Public Member Functions

 CGUIPreprocessor ()
 CGUIPreprocessor (CSGInterface *interface)
 ~CGUIPreprocessor ()
CPreprocessorcreate_generic (EPreprocessorType type)
CPreprocessorcreate_prunevarsubmean (bool divide_by_std=false)
CPreprocessorcreate_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

CSGInterface * ui

Constructor & Destructor Documentation


Definition at line 29 of file GUIPreprocessor.h.

CGUIPreprocessor ( CSGInterface *  interface  ) 



Definition at line 39 of file GUIPreprocessor.cpp.

~CGUIPreprocessor (  ) 


Definition at line 45 of file GUIPreprocessor.cpp.

Member Function Documentation

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]
object name

Implements CSGObject.

Definition at line 58 of file GUIPreprocessor.h.

bool preproc_all_features ( CFeatures f,
bool  force 
) [protected]

preproc all features


Definition at line 277 of file GUIPreprocessor.cpp.

bool preprocess_features ( CFeatures trainfeat,
CFeatures testfeat,
bool  force 
) [protected]

preprocess features


Definition at line 217 of file GUIPreprocessor.cpp.

Member Data Documentation

CList* preprocs [protected]


Definition at line 74 of file GUIPreprocessor.h.

CSGInterface* ui [protected]


Definition at line 76 of file GUIPreprocessor.h.

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

SHOGUN Machine Learning Toolbox - Documentation