10 #ifndef __STREAMING_FILEFROMSTRING_H__ 11 #define __STREAMING_FILEFROMSTRING_H__ 13 #include <shogun/lib/config.h> 60 virtual void get_string(T* &vec, int32_t &len);
86 return "StreamingFileFromStringFeatures";
155 vector = sg_vector.
vector;
156 num_feat = sg_vector.
vlen;
177 vector = sg_vector.
vector;
178 num_feat = sg_vector.
vlen;
186 #endif //__STREAMING_FILEFROMSTRING_H__
CStringFeatures< T > * features
StringFeatures object.
int32_t vector_num
Index of vector to be returned from the feature matrix.
virtual int32_t get_num_vectors() const
float64_t * labels
Labels (if applicable)
Class StreamingFileFromFeatures to read vector-by-vector from a CFeatures object. ...
virtual const char * get_name() const
virtual ~CStreamingFileFromStringFeatures()
Class CStreamingFileFromStringFeatures is derived from CStreamingFile and provides an input source fo...
virtual void get_string_and_label(T *&vec, int32_t &len, float64_t &label)
SGVector< ST > get_feature_vector(int32_t num)
virtual void get_string(T *&vec, int32_t &len)
all of classes and functions are contained in the shogun namespace
CStreamingFileFromStringFeatures()