23 SG_UNSTABLE(
"CRealFileFeatures::CRealFileFeatures()",
"\n")
47 void CRealFileFeatures::init()
81 int32_t num, int32_t &len,
float64_t* target)
104 SG_INFO(
"loading... be patient.\n")
141 SG_INFO(
"detected: intsize=%d, doublesize=%d, num_vec=%d, num_feat=%d, preprocd=%d\n", intlen,
doublelen, num_vec, num_feat,
preprocd)
147 labels=SG_MALLOC(
int, num_vec);
The class DenseFeatures implements dense feature matrices.
int32_t get_label(int32_t idx)
virtual float64_t * load_feature_matrix()
int32_t num_features
number of features in cache
virtual int32_t get_num_vectors() const
virtual ~CRealFileFeatures()
void set_num_vectors(int32_t num)
virtual float64_t * compute_feature_vector(int32_t num, int32_t &len, float64_t *target=NULL)
void set_num_features(int32_t num)
SGMatrix< float64_t > feature_matrix
all of classes and functions are contained in the shogun namespace
The class RealFileFeatures implements a dense double-precision floating point matrix from a file...
int32_t num_vectors
number of vectors in cache
void free_feature_matrix()
#define SG_UNSTABLE(func,...)