13 #ifndef GAUSSIANARDKERNEL_H 14 #define GAUSSIANARDKERNEL_H 16 #include <shogun/lib/config.h> 78 virtual const char*
get_name()
const {
return "GaussianARDKernel"; }
205 index_t index, int32_t idx_a, int32_t idx_b,
virtual SGMatrix< float64_t > get_parameter_gradient(const TParameter *param, index_t index=-1)
virtual float64_t compute_gradient_helper(SGVector< float64_t > avec, SGVector< float64_t > bvec, float64_t scale, index_t index)
virtual EKernelType get_kernel_type()
virtual float64_t distance(int32_t idx_a, int32_t idx_b)
virtual SGVector< float64_t > get_parameter_gradient_diagonal(const TParameter *param, index_t index=-1)
SGVector< float64_t > m_sq_rhs
static CGaussianARDKernel * obtain_from_generic(CKernel *kernel)
void scale(SGVector< T > &a, SGVector< T > &result, T alpha=1)
float64_t kernel(int32_t idx_a, int32_t idx_b)
virtual float64_t get_parameter_gradient_helper(const TParameter *param, index_t index, int32_t idx_a, int32_t idx_b, SGVector< float64_t > avec, SGVector< float64_t > bvec)
Features that support dot products among other operations.
Gaussian Kernel with Automatic Relevance Detection computed on CDotFeatures.
virtual float64_t compute_helper(SGVector< float64_t > avec, SGVector< float64_t >bvec)
virtual void precompute_squared()
virtual const char * get_name() const
virtual ~CGaussianARDKernel()
SGVector< float64_t > m_sq_lhs
all of classes and functions are contained in the shogun namespace
The class Features is the base class of all feature objects.
virtual SGVector< float64_t > precompute_squared_helper(CDotFeatures *df)
Exponential Kernel with Automatic Relevance Detection computed on CDotFeatures.