11 #ifndef _MATRIX_FEATURES__H__ 12 #define _MATRIX_FEATURES__H__ 14 #include <shogun/lib/config.h> 130 virtual const char*
get_name()
const {
return "MatrixFeatures"; }
149 int32_t m_num_vectors;
152 int32_t m_num_features;
virtual ~CMatrixFeatures()
virtual CFeatures * duplicate() const
void set_features(SGMatrixList< ST > features, int32_t num_feats)
virtual const char * get_name() const
static CMatrixFeatures * obtain_from_generic(CFeatures *const base_features)
SGMatrix< ST > get_feature_vector(int32_t num) const
void get_feature_vector_col(SGVector< ST > out, int32_t num, int32_t col) const
virtual EFeatureClass get_feature_class() const
EFeatureClass
shogun feature class
int32_t get_num_features() const
EFeatureType
shogun feature type
all of classes and functions are contained in the shogun namespace
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.
SGMatrixList< ST > get_features() const
virtual EFeatureType get_feature_type() const
virtual int32_t get_num_vectors() const
void set_feature_vector(SGMatrix< ST > const vec, int32_t num)