65 return exp(-result/
width);
float distance(CJLCoverTreePoint p1, CJLCoverTreePoint p2, float64_t upper_bound)
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()
Class SGObject is the base class of all shogun objects.
virtual void register_params()
virtual bool init_normalizer()
virtual float64_t distance(int32_t idx_a, int32_t idx_b)
all of classes and functions are contained in the shogun namespace
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)