13 #ifndef _DISTANCEKERNEL_H___
14 #define _DISTANCEKERNEL_H___
92 virtual const char*
get_name()
const {
return "DistanceKernel"; }
virtual EFeatureClass get_feature_class()=0
virtual void set_width(float64_t w)
Class Distance, a base class for all the distances used in the Shogun toolbox.
virtual const char * get_name() const
virtual float64_t get_width() const
float64_t compute(int32_t idx_a, int32_t idx_b)
virtual EKernelType get_kernel_type()
EFeatureClass
shogun feature class
virtual ~CDistanceKernel()
virtual void register_params()
The Distance kernel takes a distance as input.
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 EFeatureClass get_feature_class()
virtual bool init(CFeatures *l, CFeatures *r)
virtual EFeatureType get_feature_type()