31 #ifndef _INDEXFEATURES__H__ 32 #define _INDEXFEATURES__H__ 34 #include <shogun/lib/config.h> 110 virtual const char*
get_name()
const {
return "IndexFeatures"; }
virtual ~CIndexFeatures()
void set_feature_index(SGVector< index_t > feature_index)
virtual EFeatureClass get_feature_class() const
The class IndexFeatures implements features that contain the index of the features. This features used in the CCustomKernel::init to make the subset of the kernel matrix. Initial CIndexFeature of row_idx and col_idx, pass them to the CCustomKernel::init(row_idx, col_idx), then use CCustomKernel::get_kernel_matrix() will get the sub kernel matrix specified by the row_idx and col_idx.
void free_feature_index()
virtual int32_t get_num_vectors() const
SGVector< index_t > m_feature_index
EFeatureClass
shogun feature class
SGVector< index_t > get_feature_index()
virtual CFeatures * duplicate() const
virtual const char * get_name() const
EFeatureType
shogun feature type
The class DummyFeatures implements features that only know the number of feature objects (but don't a...
all of classes and functions are contained in the shogun namespace
The class Features is the base class of all feature objects.
virtual EFeatureType get_feature_type() const