17 using namespace shogun;
45 CDotKernel::init(l, r);
59 for (int32_t i=0; i<alen; i++)
62 result=exp(-result/
width);
CGaussianShortRealKernel()
virtual void register_params()
Template class DotKernel is the base class for kernels working on DotFeatures.
void add(bool *param, const char *name, const char *description="")
virtual ~CGaussianShortRealKernel()
virtual bool init(CFeatures *l, CFeatures *r)
virtual bool init_normalizer()
virtual float64_t compute(int32_t idx_a, int32_t idx_b)
CFeatures * rhs
feature vectors to occur on right hand side
CFeatures * lhs
feature vectors to occur on left hand side
The class Features is the base class of all feature objects.
The class SimpleFeatures implements dense feature matrices.