15 using namespace shogun;
17 void CTStudentKernel::init()
29 :
CKernel(cache), distance(dist), degree(d)
37 :
CKernel(10), distance(dist), degree(d)
Class Distance, a base class for all the distances used in the Shogun toolbox.
virtual bool init(CFeatures *l, CFeatures *r)
void add(bool *param, const char *name, const char *description="")
virtual float64_t compute(int32_t idx_a, int32_t idx_b)
Class SGObject is the base class of all shogun objects.
float64_t degree
degree parameter of kernel
static int32_t pow(int32_t x, int32_t n)
virtual bool init_normalizer()
float64_t distance(int32_t idx_a, int32_t idx_b)
The class Features is the base class of all feature objects.
virtual ~CTStudentKernel()
CDistance * distance
distance to be used
virtual bool init(CFeatures *lhs, CFeatures *rhs)