10 #ifndef __STREAMING_VWFILE_H__
11 #define __STREAMING_VWFILE_H__
125 return "StreamingVwFile";
152 #endif //__STREAMING_VWFILE_H__
virtual void get_vector_and_label(VwExample *&ex, int32_t &len, float64_t &label)
CVwEnvironment * get_env()
int32_t(CVwParser::* parse_func)(CIOBuffer *, VwExample *&)
Parse function typedef. Takes an IOBuffer and VwExample as arguments.
Class CVwEnvironment is the environment used by VW.
CVwParser * parser
Parser for vw format.
CVwParser is the object which provides the functions to parse examples from buffered input...
E_VW_PARSER_TYPE
The type of input to parse.
void set_parser_type(E_VW_PARSER_TYPE type=T_VW)
bool write_to_cache
Write data to a binary cache file.
E_VW_PARSER_TYPE parser_type
Parser type.
virtual bool is_seekable()
void set_write_cache(bool wr_cache)
A Streaming File access class.
void set_env(CVwEnvironment *env_to_use)
CVwEnvironment * env
Environment used for vw - used by parser.
void set_write_to_cache(bool write_cache)
Class StreamingVwFile to read vector-by-vector from Vowpal Wabbit data files. It reads the example an...
all of classes and functions are contained in the shogun namespace
void set_env(CVwEnvironment *env_to_use)
virtual ~CStreamingVwFile()
parse_func parse_example
The function which will be called for parsing.
bool get_write_to_cache()
virtual void get_vector(VwExample *&ex, int32_t &len)
virtual const char * get_name() const