12 #ifndef _POLYKERNEL_H___
13 #define _POLYKERNEL_H___
53 int32_t d,
bool inhom, int32_t size=10);
86 virtual const char*
get_name()
const {
return "PolyKernel"; };
virtual EKernelType get_kernel_type()
Computes the standard polynomial kernel on CDotFeatures.
virtual bool init(CFeatures *l, CFeatures *r)
Features that support dot products among other operations.
Template class DotKernel is the base class for kernels working on DotFeatures.
virtual int32_t get_degree()
virtual float64_t compute(int32_t idx_a, int32_t idx_b)
virtual const char * get_name() const
all of classes and functions are contained in the shogun namespace
The class Features is the base class of all feature objects.