11 #ifndef _CHI2KERNEL_H___
12 #define _CHI2KERNEL_H___
100 virtual const char*
get_name()
const {
return "Chi2Kernel"; }
static CChi2Kernel * obtain_from_generic(CKernel *kernel)
virtual float64_t compute(int32_t idx_a, int32_t idx_b)
float64_t kernel(int32_t idx_a, int32_t idx_b)
EFeatureClass
shogun feature class
The Chi2 kernel operating on realvalued vectors computes the chi-squared distance between sets of his...
virtual float64_t get_width()
Template class DotKernel is the base class for kernels working on DotFeatures.
virtual const char * get_name() const
virtual EFeatureType get_feature_type()
EFeatureType
shogun feature type
all of classes and functions are contained in the shogun namespace
The class Features is the base class of all feature objects.
virtual EKernelType get_kernel_type()
virtual EFeatureClass get_feature_class()