11 #ifndef _CNORM_ONE__H__
12 #define _CNORM_ONE__H__
49 virtual bool load(FILE* f);
51 virtual bool save(FILE* f);
63 virtual const char*
get_name()
const {
return "NormOne"; }
virtual bool init(CFeatures *features)
initialize preprocessor from features
virtual SGMatrix< float64_t > apply_to_feature_matrix(CFeatures *features)
virtual bool load(FILE *f)
initialize preprocessor from file
virtual bool save(FILE *f)
save preprocessor init-data to file
virtual SGVector< float64_t > apply_to_feature_vector(SGVector< float64_t > vector)
Template class DensePreprocessor, base class for preprocessors (cf. CPreprocessor) that apply to CDen...
virtual void cleanup()
cleanup
virtual EPreprocessorType get_type() const
return a type of preprocessor
Preprocessor NormOne, normalizes vectors to have norm 1.
The class Features is the base class of all feature objects.
virtual const char * get_name() const