13 #ifndef LINEARARDKERNEL_H
14 #define LINEARARDKERNEL_H
84 virtual const char*
get_name()
const {
return "LinearARDKernel"; }
108 #ifdef HAVE_LINALG_LIB
158 virtual void set_scalar_weights(
float64_t weight);
virtual EKernelType get_kernel_type()
Linear Kernel with Automatic Relevance Detection computed on CDotFeatures.
SGMatrix< float64_t > m_weights
virtual float64_t compute(int32_t idx_a, int32_t idx_b)
Features that support dot products among other operations.
EARDKernelType m_ARD_type
EFeatureClass
shogun feature class
Template class DotKernel is the base class for kernels working on DotFeatures.
virtual EFeatureClass get_feature_class()
virtual ~CLinearARDKernel()
EFeatureType
shogun feature type
The class Features is the base class of all feature objects.
virtual SGMatrix< float64_t > get_parameter_gradient(const TParameter *param, index_t index=-1)
virtual EFeatureType get_feature_type()
virtual const char * get_name() const