11 #include <shogun/lib/config.h> 13 #ifndef RATIONAL_QUADRATIC_KERNEL_H_ 14 #define RATIONAL_QUADRATIC_KERNEL_H_ 81 virtual const char*
get_name()
const {
return "RationalQuadraticKernel"; }
virtual const float64_t get_coef() const
virtual EFeatureClass get_feature_class()=0
virtual EFeatureType get_feature_type()
virtual EKernelType get_kernel_type()
Class Distance, a base class for all the distances used in the Shogun toolbox.
virtual const char * get_name() const
EFeatureClass
shogun feature class
virtual bool init(CFeatures *l, CFeatures *r)
virtual ~CRationalQuadraticKernel()
CDistance * m_distance
distance to be used
float64_t m_coef
coefficient parameter of kernel
CRationalQuadraticKernel()
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 EFeatureType get_feature_type()=0
virtual float64_t compute(int32_t idx_a, int32_t idx_b)
virtual EFeatureClass get_feature_class()
Rational Quadratic kernel.
void set_coef(float64_t coef)