17 using namespace shogun;
67 for (int32_t i=0; i<feature_matrix.
num_cols; i++)
69 for (int32_t j=0; j<feature_matrix.
num_rows; j++)
73 return feature_matrix;
82 for (int32_t i=0; i<vector.
vlen; i++)
virtual EFeatureType get_feature_type()=0
virtual void cleanup()
cleanup
virtual SGVector< float64_t > apply_to_feature_vector(SGVector< float64_t > vector)
virtual EFeatureClass get_feature_class()=0
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)
The class Features is the base class of all feature objects.
static float64_t log(float64_t v)
Template class SimplePreprocessor, base class for preprocessors (cf. CPreprocessor) that apply to CSi...
#define SG_MALLOC(type, len)