13 #ifndef _CFEATURES__H__
14 #define _CFEATURES__H__
171 virtual bool reshape(int32_t num_features, int32_t num_vectors);
bool has_property(EFeatureProperty p)
class for adding subset support to a class. Provides an interface for getting/setting subset_matrices...
virtual void save(CFile *writer)
bool is_preprocessed(int32_t num)
virtual bool reshape(int32_t num_features, int32_t num_vectors)
bool check_feature_compatibility(CFeatures *f)
virtual int32_t get_size()=0
virtual EFeatureType get_feature_type()=0
void set_preprocessed(int32_t num)
virtual CPreprocessor * del_preprocessor(int32_t num)
del current preprocessor
CFeatures(int32_t size=0)
virtual int32_t get_num_vectors() const =0
void set_property(EFeatureProperty p)
virtual CFeatures * duplicate() const =0
EFeatureClass
shogun feature class
int32_t get_num_preprocessors() const
virtual void subset_changed_post()
Class SGObject is the base class of all shogun objects.
virtual EFeatureClass get_feature_class()=0
void unset_property(EFeatureProperty p)
A File access base class.
virtual void load(CFile *loader)
EFeatureType
shogun feature type
virtual int32_t add_preprocessor(CPreprocessor *p)
set preprocessor
virtual void remove_subset()
virtual CFeatures * copy_subset(SGVector< index_t > indices)
int32_t get_num_preprocessed()
get whether specified preprocessor (or all if num=1) was/were already applied
CPreprocessor * get_preprocessor(int32_t num)
get current preprocessor
The class Features is the base class of all feature objects.
Class Preprocessor defines a preprocessor interface.
index_t subset_idx_conversion(index_t idx) const
void clean_preprocessors()
clears all preprocs
virtual void set_subset(CSubset *subset)
EFeatureProperty
shogun feature properties