28 int32_t len_features, power;
30 power=(len_features%2==0) ? (len_features+1):len_features;
35 if(result_multiplier<=0)
Features that support dot products among other operations.
virtual float64_t compute(int32_t idx_a, int32_t idx_b)
virtual ~CGaussianCompactKernel()
The well known Gaussian kernel (swiss army knife for SVMs) computed on CDotFeatures.
virtual float64_t distance(int32_t idx_a, int32_t idx_b) const
all of classes and functions are contained in the shogun namespace
CFeatures * lhs
feature vectors to occur on left hand side
static float64_t exp(float64_t x)
static float32_t sqrt(float32_t x)
static int32_t pow(bool x, int32_t n)