14 using namespace shogun;
22 :
CKernel(cache), distance(dist), m_degree(degree)
30 :
CKernel(10), distance(dist), m_degree(degree)
52 void CPowerKernel::init()
Class Distance, a base class for all the distances used in the Shogun toolbox.
CDistance * distance
distance to be used
virtual bool init(CFeatures *l, CFeatures *r)
Class SGObject is the base class of all shogun objects.
#define SG_ADD(param, name, description, ms_available)
float64_t m_degree
degree parameter of kernel
virtual bool init_normalizer()
float64_t distance(int32_t idx_a, int32_t idx_b)
virtual float64_t compute(int32_t idx_a, int32_t idx_b)
The class Features is the base class of all feature objects.
virtual bool init(CFeatures *lhs, CFeatures *rhs)