11 #ifndef _DIAGKERNEL_H___
12 #define _DIAGKERNEL_H___
87 virtual const char*
get_name()
const {
return "DiagKernel"; }
virtual EKernelType get_kernel_type()
The Diagonal Kernel returns a constant for the diagonal and zero otherwise.
virtual bool init(CFeatures *l, CFeatures *r)
virtual const char * get_name() const
EFeatureClass
shogun feature class
virtual EFeatureClass get_feature_class()
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 float64_t compute(int32_t idx_a, int32_t idx_b)