10 #ifndef __STREAMING_FILEFROMDENSE_H__ 11 #define __STREAMING_FILEFROMDENSE_H__ 13 #include <shogun/lib/config.h> 60 virtual void get_vector(T* &vec, int32_t &len);
86 return "StreamingFileFromDenseFeatures";
120 REQUIRE(feat,
"%s::CStreamingFileFromDenseFeatures() features required!\n",
161 num_feat=sg_vector.
vlen;
181 num_feat=sg_vector.
vlen;
189 #endif //__STREAMING_FILEFROMDENSE_H__
CStreamingFileFromDenseFeatures()
Class CStreamingFileFromDenseFeatures is a derived class of CStreamingFile which creates an input sou...
virtual const char * get_name() const
float64_t * labels
Labels (if applicable)
virtual void get_vector(T *&vec, int32_t &len)
ST * get_feature_vector(int32_t num, int32_t &len, bool &dofree)
Class StreamingFileFromFeatures to read vector-by-vector from a CFeatures object. ...
virtual void get_vector_and_label(T *&vec, int32_t &len, float64_t &label)
virtual ~CStreamingFileFromDenseFeatures()
CDenseFeatures< T > * features
DenseFeatures object.
virtual int32_t get_num_vectors() const
all of classes and functions are contained in the shogun namespace
int32_t vector_num
Index of vector to be returned from the feature matrix.