66 for (i=0; i<num_vec; i++)
71 get_feature_vector(i, len, free_vec);
74 SG_DEBUG(
"sorting string of length %i\n", len)
85 uint64_t* vec=SG_MALLOC(uint64_t, len);
Template class StringFeatures implements a list of strings.
virtual bool apply_to_string_features(CFeatures *f)
virtual uint64_t * apply_to_string(uint64_t *f, int32_t &len)
apply preproc on single feature vector
virtual bool save(FILE *f)
save preprocessor init-data to file
virtual bool load(FILE *f)
initialize preprocessor from file
virtual EFeatureClass get_feature_class() const =0
Template class StringPreprocessor, base class for preprocessors (cf. CPreprocessor) that apply to CSt...
virtual ~CSortUlongString()
virtual void cleanup()
cleanup
all of classes and functions are contained in the shogun namespace
The class Features is the base class of all feature objects.
static void radix_sort(T *array, int32_t size)
virtual EFeatureType get_feature_type() const =0