14 #ifndef GAUSSIANKERNEL_H
15 #define GAUSSIANKERNEL_H
103 virtual const char*
get_name()
const {
return "GaussianKernel"; }
178 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 distance(int32_t idx_a, int32_t idx_b)
float64_t kernel(int32_t idx_a, int32_t idx_b)
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.
Class SGObject is the base class of all shogun objects.
bool get_compact_enabled()
virtual EKernelType get_kernel_type()
virtual SGMatrix< float64_t > get_parameter_gradient(const TParameter *param, index_t index=-1)
virtual CSGObject * shallow_copy() const
The well known Gaussian kernel (swiss army knife for SVMs) computed on CDotFeatures.
static CGaussianKernel * obtain_from_generic(CKernel *kernel)
all of classes and functions are contained in the shogun namespace
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)
virtual float64_t get_width() const