19 :
CDotKernel(), width(1), degree(1), weights(0)
26 :
CDotKernel(size), width(w), degree(d), nof_properties(nof_prop), weights(0)
34 :
CDotKernel(size), width(w), degree(d), nof_properties(nof_prop), weights(0)
49 CDotKernel::init(l, r);
50 SG_DEBUG(
"Initialized WeightedDegreeRBFKernel (%p).\n",
this)
72 SG_DEBUG(
"Initialized weights for WeightedDegreeRBFKernel (%p).\n",
this)
100 for (int32_t k=0; k < limit; k++)
102 resultid+=
CMath::sq(avec[i+k]-bvec[i+k]);
114 void CWeightedDegreeRBFKernel::register_params()
Template class DotKernel is the base class for kernels working on DotFeatures.
virtual float64_t compute(int32_t idx_a, int32_t idx_b)
virtual ~CWeightedDegreeRBFKernel()
virtual bool init_normalizer()
CFeatures * rhs
feature vectors to occur on right hand side
all of classes and functions are contained in the shogun namespace
CFeatures * lhs
feature vectors to occur on left hand side
The class Features is the base class of all feature objects.
virtual bool init(CFeatures *l, CFeatures *r)
CWeightedDegreeRBFKernel()