46 virtual bool load(FILE* f);
48 virtual bool save(FILE* f);
60 virtual const char*
get_name()
const {
return "SumOne"; }
virtual SGVector< float64_t > apply_to_feature_vector(SGVector< float64_t > vector)
virtual bool load(FILE *f)
initialize preprocessor from file
virtual bool save(FILE *f)
save preprocessor init-data to file
virtual const char * get_name() const
Template class DensePreprocessor, base class for preprocessors (cf. CPreprocessor) that apply to CDen...
virtual EPreprocessorType get_type() const
return a type of preprocessor
all of classes and functions are contained in the shogun namespace
virtual void cleanup()
cleanup
The class Features is the base class of all feature objects.
virtual bool init(CFeatures *features)
initialize preprocessor from features
virtual SGMatrix< float64_t > apply_to_feature_matrix(CFeatures *features)
Preprocessor SumOne, normalizes vectors to have sum 1.