11 #ifndef PYRAMIDCHI2_H_
12 #define PYRAMIDCHI2_H_
23 template <
class T>
class CDenseFeatures;
52 int32_t width_computation_type2,
75 int32_t size, int32_t num_cells2,
77 int32_t width_computation_type2,
100 virtual const char*
get_name()
const {
return "PyramidChi2"; }
118 int32_t width_computation_type2,
virtual float64_t compute(int32_t idx_a, int32_t idx_b)
virtual bool init(CFeatures *l, CFeatures *r)
Template class DotKernel is the base class for kernels working on DotFeatures.
virtual EKernelType get_kernel_type()
int32_t width_computation_type
virtual const char * get_name() const
Pyramid Kernel over Chi2 matched histograms.
all of classes and functions are contained in the shogun namespace
int32_t num_randfeats_forwidthcomputation
The class Features is the base class of all feature objects.
virtual void setparams_pychi2(int32_t num_cells2, float64_t *weights_foreach_cell2, int32_t width_computation_type2, float64_t width2)