13 #ifndef EXPONENTIALARDKERNEL_H
14 #define EXPONENTIALARDKERNEL_H
87 virtual const char*
get_name()
const {
return "ExponentialARDKernel"; }
153 #ifdef HAVE_LINALG_LIB
203 virtual void set_scalar_weights(
float64_t weight);
222 void lazy_update_weights();
252 virtual void check_weight_gradient_index(
index_t index);
SGVector< float64_t > m_log_weights
virtual ~CExponentialARDKernel()
virtual const char * get_name() const
virtual float64_t compute(int32_t idx_a, int32_t idx_b)
Features that support dot products among other operations.
EFeatureClass
shogun feature class
SGMatrix< float64_t > m_weights_raw
Template class DotKernel is the base class for kernels working on DotFeatures.
virtual EFeatureClass get_feature_class()
virtual SGVector< float64_t > get_feature_vector(int32_t idx, CFeatures *hs)
virtual float64_t distance(int32_t idx_a, int32_t idx_b)=0
EFeatureType
shogun feature type
virtual EKernelType get_kernel_type()
all of classes and functions are contained in the shogun namespace
EARDKernelType m_ARD_type
The class Features is the base class of all feature objects.
static float64_t exp(float64_t x)
virtual SGMatrix< float64_t > get_parameter_gradient(const TParameter *param, index_t index=-1)
Exponential Kernel with Automatic Relevance Detection computed on CDotFeatures.
virtual EFeatureType get_feature_type()