43 CDotKernel::init(l,r);
62 for (int32_t i = 0; i < alen; i++) {
65 result += 1 + x*y + x*y*min - ((x+y)/2)*min*min + min*min*min/3;
virtual float64_t compute(int32_t idx_a, int32_t idx_b)
Features that support dot products among other operations.
Template class DotKernel is the base class for kernels working on DotFeatures.
virtual EFeatureClass get_feature_class() const =0
virtual bool init_normalizer()
CFeatures * rhs
feature vectors to occur on right hand side
all of classes and functions are contained in the shogun namespace
CFeatures * lhs
feature vectors to occur on left hand side
The class Features is the base class of all feature objects.
virtual bool init(CFeatures *l, CFeatures *r)
virtual EFeatureType get_feature_type() const =0