11 #ifndef _LBP_PYR_DOTFEATURES__H__
12 #define _LBP_PYR_DOTFEATURES__H__
134 virtual const char*
get_name()
const {
return "LBPPyrDotFeatures"; }
154 float64_t* vec2, int32_t vec2_len,
bool abs_val=
false);
virtual float64_t dot(int32_t vec_idx1, CDotFeatures *df, int32_t vec_idx2)
virtual int32_t get_num_vectors() const
CSimpleFeatures< uint32_t > * m_feat
virtual void free_feature_iterator(void *iterator)
Features that support dot products among other operations.
EFeatureClass
shogun feature class
virtual bool get_next_feature(int32_t &index, float64_t &value, void *iterator)
virtual EFeatureType get_feature_type()
virtual int32_t get_dim_feature_space() const
virtual const char * get_name() const
CFeatures * duplicate() const
virtual EFeatureClass get_feature_class()
virtual void add_to_dense_vec(float64_t alpha, int32_t vec_idx1, float64_t *vec2, int32_t vec2_len, bool abs_val=false)
EFeatureType
shogun feature type
virtual int32_t get_size()
virtual void * get_feature_iterator(int32_t vector_index)
virtual ~CLBPPyrDotFeatures()
The class Features is the base class of all feature objects.
virtual float64_t dense_dot(int32_t vec_idx1, const float64_t *vec2, int32_t vec2_len)
uint32_t liblbp_pyr_get_dim(uint16_t nPyramids)
implement DotFeatures for the polynomial kernel
virtual int32_t get_nnz_features_for_vector(int32_t num)