11 #ifndef _MATRIX_FEATURES__H__
12 #define _MATRIX_FEATURES__H__
130 virtual const char*
get_name()
const {
return "MatrixFeatures"; }
149 int32_t m_num_vectors;
152 int32_t m_num_features;
virtual ~CMatrixFeatures()
void get_feature_vector_col(SGVector< ST > out, int32_t num, int32_t col) const
void set_features(SGMatrixList< ST > features, int32_t num_feats)
virtual int32_t get_num_vectors() const
virtual CFeatures * duplicate() const
static CMatrixFeatures * obtain_from_generic(CFeatures *const base_features)
EFeatureClass
shogun feature class
virtual const char * get_name() const
SGMatrix< ST > get_feature_vector(int32_t num) const
int32_t get_num_features() const
virtual EFeatureClass get_feature_class() const
EFeatureType
shogun feature type
all of classes and functions are contained in the shogun namespace
SGMatrixList< ST > get_features() const
Class CMatrixFeatures used to represent data whose feature vectors are better represented with matric...
The class Features is the base class of all feature objects.
virtual EFeatureType get_feature_type() const
void set_feature_vector(SGMatrix< ST > const vec, int32_t num)