11 #ifndef _CLOGPLUSONE__H__ 12 #define _CLOGPLUSONE__H__ 14 #include <shogun/lib/config.h> 49 virtual bool load(FILE* f);
51 virtual bool save(FILE* f);
63 virtual const char*
get_name()
const {
return "LogPlusOne"; }
virtual void cleanup()
cleanup
virtual SGVector< float64_t > apply_to_feature_vector(SGVector< float64_t > vector)
Preprocessor LogPlusOne does what the name says, it adds one to a dense real valued vector and takes ...
virtual bool init(CFeatures *features)
initialize preprocessor from features
virtual const char * get_name() const
virtual EPreprocessorType get_type() const
return a type of preprocessor
Template class DensePreprocessor, base class for preprocessors (cf. CPreprocessor) that apply to CDen...
virtual bool load(FILE *f)
initialize preprocessor from file
virtual bool save(FILE *f)
save preprocessor init-data to file
virtual SGMatrix< float64_t > apply_to_feature_matrix(CFeatures *features)
all of classes and functions are contained in the shogun namespace
The class Features is the base class of all feature objects.