Public Member Functions

CPreprocessor Class Reference


Detailed Description

Class Preprocessor defines a preprocessor interface.

Preprocessors are transformation functions that doesn't change the domain of the input features. These functions can be applied in-place if the input features fit in memory or can be applied on-the-fly when (depending on features) a feature caching strategy is applied. However, if the individual features are in $\bf{R}$ they have to stay in $\bf{R}$ although the dimensionality of the feature vectors is allowed to be changed.

As preprocessors might need a certain initialization they may expect that the init() function is called before anything else. The actual preprocessing is feature type dependent and thus coordinated in the sub-classes, cf. e.g. CSimplePreprocessor.

Definition at line 74 of file Preprocessor.h.

Inheritance diagram for CPreprocessor:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 CPreprocessor ()
virtual ~CPreprocessor ()
virtual bool init (CFeatures *features)=0
virtual void cleanup ()=0
virtual EFeatureType get_feature_type ()=0
virtual EFeatureClass get_feature_class ()=0
virtual EPreprocessorType get_type () const =0

Constructor & Destructor Documentation

CPreprocessor (  ) 

constructor

Definition at line 78 of file Preprocessor.h.

virtual ~CPreprocessor (  )  [virtual]

destructor

Definition at line 83 of file Preprocessor.h.


Member Function Documentation

virtual void cleanup (  )  [pure virtual]
virtual EFeatureClass get_feature_class (  )  [pure virtual]
virtual EFeatureType get_feature_type (  )  [pure virtual]
virtual EPreprocessorType get_type (  )  const [pure virtual]
virtual bool init ( CFeatures features  )  [pure virtual]

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

SHOGUN Machine Learning Toolbox - Documentation