13 #ifndef POWERKERNEL_H_
14 #define POWERKERNEL_H_
81 virtual const char*
get_name()
const {
return "PowerKernel"; }
virtual EKernelType get_kernel_type()
virtual EFeatureClass get_feature_class()=0
Class Distance, a base class for all the distances used in the Shogun toolbox.
virtual EFeatureType get_feature_type()
virtual const char * get_name() const
CDistance * distance
distance to be used
virtual bool init(CFeatures *l, CFeatures *r)
EFeatureClass
shogun feature class
float64_t m_degree
degree parameter of kernel
EFeatureType
shogun feature type
all of classes and functions are contained in the shogun namespace
virtual float64_t compute(int32_t idx_a, int32_t idx_b)
The class Features is the base class of all feature objects.
virtual EFeatureType get_feature_type()=0
virtual EFeatureClass get_feature_class()