13 #ifndef EXPONENTIALARDKERNEL_H 14 #define EXPONENTIALARDKERNEL_H 15 #include <shogun/lib/config.h> 87 virtual const char*
get_name()
const {
return "ExponentialARDKernel"; }
SGVector< float64_t > m_log_weights
virtual const char * get_name() const
virtual ~CExponentialARDKernel()
virtual SGMatrix< float64_t > compute_right_product(SGVector< float64_t >vec, float64_t &scalar_weight)
virtual void set_weights(SGMatrix< float64_t > weights)
virtual float64_t compute(int32_t idx_a, int32_t idx_b)
virtual void set_scalar_weights(float64_t weight)
Features that support dot products among other operations.
SGMatrix< float64_t > get_weighted_vector(SGVector< float64_t > vec)
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 SGMatrix< float64_t > get_weights()
virtual SGVector< float64_t > get_feature_vector(int32_t idx, CFeatures *hs)
virtual SGMatrix< float64_t > get_parameter_gradient(const TParameter *param, index_t index=-1)=0
void lazy_update_weights()
virtual float64_t distance(int32_t idx_a, int32_t idx_b)=0
EFeatureType
shogun feature type
virtual EKernelType get_kernel_type()
virtual void check_weight_gradient_index(index_t index)
virtual void set_vector_weights(SGVector< float64_t > weights)
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 void set_matrix_weights(SGMatrix< float64_t > weights)
Exponential Kernel with Automatic Relevance Detection computed on CDotFeatures.
virtual EFeatureType get_feature_type()