16 #ifndef _VW_CACHEREAD_H__
17 #define _VW_CACHEREAD_H__
102 if (label != FLT_MAX)
137 virtual const char*
get_name()
const {
return "VwCacheReader"; }
148 #endif // _VW_CACHEREAD_H__
Base class from which all cache readers for VW should be derived.
Class CVwEnvironment is the environment used by VW.
virtual CVwEnvironment * get_env()
virtual bool read_cached_example(VwExample *const ae)=0
float64_t min_label
Smallest label seen.
virtual const char * get_name() const
float64_t max_label
Largest label seen.
CVwEnvironment * env
Environment.
virtual void set_minmax(float64_t label)
virtual void noop_mm(float64_t label)
Class SGObject is the base class of all shogun objects.
virtual ~CVwCacheReader()
virtual void set_env(CVwEnvironment *env_to_use)
virtual void set_file(int32_t f)
all of classes and functions are contained in the shogun namespace
virtual void set_mm(float64_t label)
int32_t fd
File descriptor.