12 #ifndef LINEARARDKERNEL_H_
13 #define LINEARARDKERNEL_H_
66 virtual const char*
get_name()
const {
return "LinearARDKernel"; }
virtual EKernelType get_kernel_type()
Linear Kernel with Automatic Relevance Detection.
virtual void set_weights(SGVector< float64_t > weights)
virtual SGVector< float64_t > get_weights()
EFeatureClass
shogun feature class
Template class DotKernel is the base class for kernels working on DotFeatures.
virtual bool init(CFeatures *l, CFeatures *r)
virtual EFeatureClass get_feature_class()
SGVector< float64_t > m_weights
virtual float64_t get_weight(index_t i)
virtual ~CLinearARDKernel()
EFeatureType
shogun feature type
all of classes and functions are contained in the shogun namespace
virtual float64_t compute(int32_t idx_a, int32_t idx_b)
The class Features is the base class of all feature objects.
virtual void set_weight(float64_t w, index_t i)
virtual EFeatureType get_feature_type()
virtual SGMatrix< float64_t > get_parameter_gradient(const TParameter *param, index_t index=-1)
virtual const char * get_name() const