31 #ifndef _INDEXFEATURES__H__
32 #define _INDEXFEATURES__H__
110 virtual const char*
get_name()
const {
return "IndexFeatures"; }
virtual ~CIndexFeatures()
void set_feature_index(SGVector< index_t > feature_index)
virtual EFeatureType get_feature_type() const
virtual EFeatureClass get_feature_class() const
virtual int32_t get_num_vectors() 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 CFeatures * duplicate() const
SGVector< index_t > m_feature_index
EFeatureClass
shogun feature class
virtual const char * get_name() const
SGVector< index_t > get_feature_index()
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.