13 #ifndef _CFEATURES__H__
14 #define _CFEATURES__H__
182 virtual bool reshape(int32_t num_features, int32_t num_vectors);
237 SG_ERROR(
"%s::create_merged_copy() is not yet implemented!\n")
251 SG_ERROR(
"%s::create_merged_copy() is not yet implemented!\n")
335 #ifndef SWIG // SWIG should skip this part
virtual CFeatures * shallow_subset_copy()
virtual bool support_compatible_class() const
CSubsetStack * m_subset_stack
virtual void save(CFile *writer)
virtual void add_subset_in_place(SGVector< index_t > subset)
virtual bool reshape(int32_t num_features, int32_t num_vectors)
virtual bool get_feature_class_compatibility(EFeatureClass rhs) const
void set_preprocessed(int32_t num)
CFeatures(int32_t size=0)
virtual int32_t get_num_vectors() const =0
void set_property(EFeatureProperty p)
#define SG_SNOTIMPLEMENTED
CPreprocessor * get_preprocessor(int32_t num) const
virtual CFeatures * duplicate() const =0
EFeatureClass
shogun feature class
class to add subset support to another class. A CSubsetStackStack instance should be added and wrappe...
virtual CFeatures * create_merged_copy(CFeatures *other)
int32_t get_num_preprocessors() const
virtual CFeatures * create_merged_copy(CList *others)
virtual void del_preprocessor(int32_t num)
virtual void subset_changed_post()
bool check_feature_compatibility(CFeatures *f) const
void list_feature_obj() const
virtual CSubsetStack * get_subset_stack()
Class SGObject is the base class of all shogun objects.
void unset_property(EFeatureProperty p)
bool is_preprocessed(int32_t num) const
A File access base class.
virtual EFeatureClass get_feature_class() const =0
Dynamic array class for CSGObject pointers that creates an array that can be used like a list or an a...
virtual void load(CFile *loader)
EFeatureType
shogun feature type
virtual void add_preprocessor(CPreprocessor *p)
virtual CFeatures * copy_dimension_subset(SGVector< index_t > dims)
all of classes and functions are contained in the shogun namespace
virtual void remove_subset()
int32_t get_num_preprocessed() const
int32_t get_cache_size() const
virtual CFeatures * copy_subset(SGVector< index_t > indices)
The class Features is the base class of all feature objects.
Class Preprocessor defines a preprocessor interface.
void clean_preprocessors()
bool has_property(EFeatureProperty p) const
virtual void remove_all_subsets()
EFeatureProperty
shogun feature properties
void list_preprocessors()
virtual void add_subset(SGVector< index_t > subset)
virtual EFeatureType get_feature_type() const =0
Class List implements a doubly connected list for low-level-objects.