44 CDotKernel::init(l, r);
58 for (int32_t i=0; i<alen; i++)
61 result=exp(-result/
width);
The class DenseFeatures implements dense feature matrices.
CGaussianShortRealKernel()
virtual void register_params()
Template class DotKernel is the base class for kernels working on DotFeatures.
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
all of classes and functions are contained in the shogun namespace
CFeatures * lhs
feature vectors to occur on left hand side
The class Features is the base class of all feature objects.