69 SG_ERROR(
"Protocol buffers cache support is not implemented yet!\n")
72 SG_ERROR(
"Unexpected cache type to use for reading!\n")
84 void CStreamingVwCacheFile::init(
EVwCacheType cache_type)
98 SG_ERROR(
"Protocol buffers cache support is not implemented yet!\n")
101 SG_ERROR(
"Unrecognized cache type to read from!\n")
int working_file
file descriptor
EVwCacheType cache_format
Cache type.
Class CVwNativeCacheReader reads from a cache exactly as that which has been produced by VW's default...
CVwCacheReader * cache_reader
Cache reader.
Class CVwEnvironment is the environment used by VW.
virtual bool read_cached_example(VwExample *const ae)=0
virtual void reset_file()
A Streaming File access class.
virtual void get_vector(VwExample *&ex, int32_t &len)
CIOBuffer * buf
Buffer to hold stuff in memory.
virtual ~CStreamingVwCacheFile()
all of classes and functions are contained in the shogun namespace
void set_env(CVwEnvironment *env_to_use)
virtual void get_vector_and_label(VwExample *&ex, int32_t &len, float64_t &label)
CVwEnvironment * env
Environment used for vw.