18 using namespace shogun;
21 :
CKernel(0), distance(NULL), width(0.0)
65 return exp(-result/
width);
virtual void set_width(float64_t w)
Class Distance, a base class for all the distances used in the Shogun toolbox.
float64_t compute(int32_t idx_a, int32_t idx_b)
virtual ~CDistanceKernel()
void add(bool *param, const char *name, const char *description="")
Class SGObject is the base class of all shogun objects.
virtual void register_params()
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 bool init(CFeatures *l, CFeatures *r)
virtual bool init(CFeatures *lhs, CFeatures *rhs)