49 CDotKernel::init(l,r);
68 void CPolyKernel::init()
virtual bool init(CFeatures *l, CFeatures *r)
virtual bool set_normalizer(CKernelNormalizer *normalizer)
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 float64_t compute(int32_t idx_a, int32_t idx_b)
virtual bool init_normalizer()
all of classes and functions are contained in the shogun namespace
The class Features is the base class of all feature objects.
friend class CSqrtDiagKernelNormalizer
static int32_t pow(bool x, int32_t n)