13 #ifndef _GAUSSIANKERNEL_H___
14 #define _GAUSSIANKERNEL_H___
92 inline virtual const char*
get_name()
const {
return "GaussianKernel"; }
155 void precompute_squared();
void set_compact_enabled(bool compact)
virtual void load_serializable_post()
Class ShogunException defines an exception which is thrown whenever an error inside of shogun occurs...
virtual float64_t get_width() const
virtual float64_t compute(int32_t idx_a, int32_t idx_b)
Features that support dot products among other operations.
Template class DotKernel is the base class for kernels working on DotFeatures.
bool get_compact_enabled()
virtual EKernelType get_kernel_type()
The well known Gaussian kernel (swiss army knife for SVMs) computed on CDotFeatures.
The class Features is the base class of all feature objects.
virtual const char * get_name() const
virtual bool init(CFeatures *l, CFeatures *r)
virtual ~CGaussianKernel()
virtual void set_width(float64_t w)