12 #ifndef _CPRUNE_VAR_SUB_MEAN__H__
13 #define _CPRUNE_VAR_SUB_MEAN__H__
58 virtual inline const char*
get_name()
const {
return "PruneVarSubMean"; }
virtual EPreprocessorType get_type() const
return a type of preprocessor
bool initialized
true when already initialized
virtual void cleanup()
cleanup
Preprocessor PruneVarSubMean will substract the mean and remove features that have zero variance...
virtual SGMatrix< float64_t > apply_to_feature_matrix(CFeatures *features)
virtual SGVector< float64_t > apply_to_feature_vector(SGVector< float64_t > vector)
The class Features is the base class of all feature objects.
Template class SimplePreprocessor, base class for preprocessors (cf. CPreprocessor) that apply to CSi...
virtual bool init(CFeatures *features)
initialize preprocessor from features
virtual ~CPruneVarSubMean()
virtual const char * get_name() const
CPruneVarSubMean(bool divide=true)