10 #ifndef _STREAMING_DOTFEATURES__H__
11 #define _STREAMING_DOTFEATURES__H__
125 int32_t vec2_len,
bool abs_val=
false)=0;
193 #endif // _STREAMING_DOTFEATURES__H__
virtual float32_t dense_dot(const float32_t *vec2, int32_t vec2_len)=0
virtual ~CStreamingDotFeatures()
virtual void free_feature_iterator(void *iterator)
virtual void * get_feature_iterator()
#define SG_NOTIMPLEMENTED
virtual void dense_dot_range(float32_t *output, float32_t *alphas, float32_t *vec, int32_t dim, float32_t b, int32_t num_vec=0)
virtual float32_t dot(CStreamingDotFeatures *df)=0
Features that support dot products among other operations.
virtual bool get_next_feature(int32_t &index, float32_t &value, void *iterator)
A Streaming File access class.
virtual int32_t get_dim_feature_space() const =0
CStreamingDotFeatures(CStreamingFile *file, bool is_labelled, int32_t size)
virtual void expand_if_required(float32_t *&vec, int32_t &len)
Streaming features that support dot products among other operations.
virtual void add_to_dense_vec(float32_t alpha, float32_t *vec2, int32_t vec2_len, bool abs_val=false)=0
all of classes and functions are contained in the shogun namespace
Streaming features are features which are used for online algorithms.
virtual int32_t get_nnz_features_for_vector()