11 #ifndef _HASHEDWDFEATURES_H___
12 #define _HASHEDWDFEATURES_H___
23 template<
class ST>
class CStringFeatures;
45 int32_t order, int32_t from_order, int32_t hash_bits=12);
92 float64_t* vec2, int32_t vec2_len,
bool abs_val=
false);
101 #ifndef DOXYGEN_SHOULD_SKIP_THIS
103 struct hashed_wd_feature_iterator
193 return "HashedWDFeatures";
232 #endif // _HASHEDWDFEATURES_H___
virtual void * get_feature_iterator(int32_t vector_index)
virtual ~CHashedWDFeatures()
void set_normalization_const(float64_t n=0)
virtual int32_t get_dim_feature_space() const
virtual int32_t get_nnz_features_for_vector(int32_t num)
virtual float64_t dense_dot(int32_t vec_idx1, const float64_t *vec2, int32_t vec2_len)
virtual float64_t dot(int32_t vec_idx1, CDotFeatures *df, int32_t vec_idx2)
virtual bool get_next_feature(int32_t &index, float64_t &value, void *iterator)
CFeatures(int32_t size=0)
CStringFeatures< uint8_t > * strings
Features that support dot products among other operations.
EFeatureClass
shogun feature class
virtual int32_t get_num_vectors() const
float64_t normalization_const
virtual const char * get_name() const
virtual void add_to_dense_vec(float64_t alpha, int32_t vec_idx1, float64_t *vec2, int32_t vec2_len, bool abs_val=false)
virtual CFeatures * duplicate() const
Features that compute the Weighted Degreee Kernel feature space explicitly.
EFeatureType
shogun feature type
all of classes and functions are contained in the shogun namespace
virtual EFeatureClass get_feature_class() const
float64_t get_normalization_const()
virtual EFeatureType get_feature_type() const
virtual void free_feature_iterator(void *iterator)