11 #ifndef _CNORM_ONE__H__
12 #define _CNORM_ONE__H__
48 virtual bool load(FILE* f);
50 virtual bool save(FILE* f);
62 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.
all of classes and functions are contained in the shogun namespace
The class Features is the base class of all feature objects.
virtual const char * get_name() const